Difference between revisions of "Service/bugs"

From Sugar Labs
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
A [http://trac.edgewall.org/ Trac] instance for keeping track of bugs in upstream Sugar components, some activities and Rainbow.
 
A [http://trac.edgewall.org/ Trac] instance for keeping track of bugs in upstream Sugar components, some activities and Rainbow.
 
 
 
== Hostnames ==
 
== Hostnames ==
  
Line 9: Line 7:
 
* http://bugs-testing.sugarlabs.org/
 
* http://bugs-testing.sugarlabs.org/
 
* http://bugs-devel.sugarlabs.org/
 
* http://bugs-devel.sugarlabs.org/
 
 
 
== Hosted on ==
 
== Hosted on ==
  
[[Machine/sunjammer]]
+
Production site runs dockerized on [[Machine/freedom]].  Data stored in the /srv/socialhelp partition
 
 
  
 +
(Old) testing and devel sites run on [[Machine/sunjammer]]
 
== Administrative contact ==
 
== Administrative contact ==
  
 
[http://lists.sugarlabs.org/listinfo/systems systems AT lists DOT sugarlabs DOT org]
 
[http://lists.sugarlabs.org/listinfo/systems systems AT lists DOT sugarlabs DOT org]
 
 
 
== Sysadmins ==
 
== Sysadmins ==
  
 
For non-emergency calls, preferably send email to the administrative contact.
 
For non-emergency calls, preferably send email to the administrative contact.
  
* [[User:sascha_silbe|Sascha Silbe]]
+
* [[User:SAMdroid|Sam P]] (email: @sam.today)
* [[User:Bernie|Bernie Innocenti]]
 
 
 
  
 
== Notes ==
 
== Notes ==
Line 35: Line 27:
 
To remove inactive accounts (i.e. ones that have never been confirmed or marked as spammers):
 
To remove inactive accounts (i.e. ones that have never been confirmed or marked as spammers):
  
  sqlite3 /srv/www-sugarlabs/bugs/db/trac.db
+
  sqlite3 /srv/socialhelp/tracproject/db/trac.db
 
  DELETE FROM session WHERE length(sid) != 24 AND NOT EXISTS (SELECT * FROM permission WHERE username = sid);
 
  DELETE FROM session WHERE length(sid) != 24 AND NOT EXISTS (SELECT * FROM permission WHERE username = sid);
  
 
== Upgrade notes ==
 
== Upgrade notes ==
 
+
# Edit the Dockerfile (stored in /home/sam/trac or from the [https://github.com/sugarlabs-infra/trac-docker github repository]) to include the latest version of Trac (eg. change the version numbers)
Edit the create-sandbox to upgrade plugins versions. Then
+
# <code>container.yml start /home/sam/trac -d</code>
 
 
./create-sandbox
 
trac-admin . upgrade
 
 
 
 
== See Also ==
 
== See Also ==
  
 
+
https://github.com/sugarlabs-infra/trac-docker[[Category:Service|bugs]]
[[Category:Service|bugs]]
 

Latest revision as of 18:40, 13 December 2015

Description

A Trac instance for keeping track of bugs in upstream Sugar components, some activities and Rainbow.

Hostnames

Hosted on

Production site runs dockerized on Machine/freedom. Data stored in the /srv/socialhelp partition

(Old) testing and devel sites run on Machine/sunjammer

Administrative contact

systems AT lists DOT sugarlabs DOT org

Sysadmins

For non-emergency calls, preferably send email to the administrative contact.

  • Sam P (email: @sam.today)

Notes

Cleaning user database

To remove inactive accounts (i.e. ones that have never been confirmed or marked as spammers):

sqlite3 /srv/socialhelp/tracproject/db/trac.db
DELETE FROM session WHERE length(sid) != 24 AND NOT EXISTS (SELECT * FROM permission WHERE username = sid);

Upgrade notes

  1. Edit the Dockerfile (stored in /home/sam/trac or from the github repository) to include the latest version of Trac (eg. change the version numbers)
  2. container.yml start /home/sam/trac -d

See Also

https://github.com/sugarlabs-infra/trac-docker