Version 13 (modified by roh, 10 years ago) (diff)

--

admin-trac.openmoko.org

this is the openmoko admin bugtracking and documentation server.

  • implemented as openvz virtual machine 'daksha.openmoko.org' on savitri.openmoko.org?
  • debian lenny
  • trac accounts are synced from docs.openmoko.org as htpasswd (scp)
  • group wiki-rw should include only trusted users
  • group nda has 'WIKI_VIEW' and 'TAGS_VIEW' permissions in addition

provided resources:

used software:

  • trac http://trac.edgewall.org/ 0.11.1 setuptools, global
    • installed plugins:
      • TracTags setuptools, global
      • TracAccountManager setuptools, global
      • authz_policy.py local
        • finegrained auth (show only wiki-start for !nda users)
      • ServerDownMacro (hacked for css colors) egg, local
      • TracAutoLinks egg,local
      • TracHtgroups egg,local
    • sqlite backend (deb)
  • genshi 0.5.1 setuptools, global
  • pygments 0.11.1 setuptools, global
  • textile 2.0.11 setuptools, global
  • lighttpd (deb)
  • svn (deb)
  • apache2 (deb)

hooks/scripts:

  • /usr/local/bin/httpd-update-hook.sh
    • called by svn-commit hook as user www-data
    • checks for changes in trunk/www.openmoko.com
    • calls bin/update_httpd.sh as web@… via ssh-key
  • /var/www/bin/update_trac_user/run.sh
    • called via ssh from docs after scp-ing realname and email-addr files
    • handles the import of email and fullname from docs
    • calls /var/www/bin/trac_import_email_realname.py with filenames of realnames, email-addr and trac environment for db-update

notes:

  • finegrained auth is tricky on trac. doesnt recurse groups!

tickets:

#1774
update trac to 0.11.3