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) |
− | === Trac sucks ===
| + | # <code>container.yml start /home/sam/trac -d</code> |
− | mkdir -p /srv/www-sugarlabs/bugs-testing/lib/python2.6/site-packages
| |
− | PYTHONPATH=/srv/www-sugarlabs/bugs-testing/lib/python2.6/site-packages easy_install --prefix /srv/www-sugarlabs/bugs-testing http://svn.edgewall.org/repos/genshi/branches/stable/0.5.x/
| |
− | PYTHONPATH=/srv/www-sugarlabs/bugs-testing/lib/python2.6/site-packages easy_install --prefix /srv/www-sugarlabs/bugs-testing http://svn.edgewall.org/repos/trac/branches/0.11-stable/
| |
− | PYTHONPATH=/srv/www-sugarlabs/bugs-testing/lib/python2.6/site-packages easy_install --prefix /srv/www-sugarlabs/bugs-testing http://trac-hacks.org/svn/accountmanagerplugin/0.11/
| |
− | | |
− | mkdir -p /srv/www-sugarlabs/bugs-devel/lib/python2.6/site-packages
| |
− | PYTHONPATH=/srv/www-sugarlabs/bugs-devel/lib/python2.6/site-packages easy_install --prefix /srv/www-sugarlabs/bugs-devel http://svn.edgewall.org/repos/genshi/trunk/
| |
− | PYTHONPATH=/srv/www-sugarlabs/bugs-devel/lib/python2.6/site-packages easy_install --prefix /srv/www-sugarlabs/bugs-devel http://svn.edgewall.org/repos/trac/trunk/
| |
− | PYTHONPATH=/srv/www-sugarlabs/bugs-devel/lib/python2.6/site-packages easy_install --prefix /srv/www-sugarlabs/bugs-devel http://trac-hacks.org/svn/accountmanagerplugin/trunk
| |
− | PYTHONPATH=/srv/www-sugarlabs/bugs-devel/lib/python2.6/site-packages bin/trac-admin /srv/www-sugarlabs/bugs-devel upgrade
| |
− | | |
− | Maybe must be installed manually?
| |
− | http://trac-hacks.org/svn/accountmanagerplugin/0.11/
| |
− | | |
− | === upgrade eggs when python changes ===
| |
− | rm -r eggs/*
| |
− | cd plugins
| |
− | for i in *.egg; do mv $i `echo $i | sed -e s/2\\.5/2.6/`; done
| |
− | /etc/init.d/apache2 restart
| |
− | | |
| == See Also == | | == See Also == |
| | | |
− | | + | https://github.com/sugarlabs-infra/trac-docker[[Category:Service|bugs]] |
− | [[Category:Service|bugs]] | |