Changes between Version 43 and Version 44 of AnnouncerPlugin


Ignore:
Timestamp:
Sep 15, 2010 12:20:44 AM (4 years ago)
Author:
doki_pen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AnnouncerPlugin

    v43 v44  
    5151 
    5252For the new 0.12/trunk branches see the i18n/l10n section below for an '''[#Abouti18nl10nsupport important hint on egg creation]''' that applies to system wide installations as well. 
     53 
     54==== Development Environment ==== 
     55 
     56Scroll to the bottom for a quick development environment setup. 
    5357 
    5458=== Central configuration === 
     
    215219As stated before, as of [8087] there is preliminary support for sending encrypted and/or cryptographically signed emails. OpenPGP support is provided by [http://www.gnupg.org/ GnuPG] and working only with plain text formatted messages by now. There's still a lot to be done. See more details at the corresponding [wiki:AnnouncerPlugin/MessageEncryption development page]. 
    216220 
     221Want to get started hacking announcer?  Here's what'd I do.  Replace vim with the editor of your choice.  Replace git with the SCM of your choice. 
     222 
     223 1. Make sure you have virtualenv installed 
     224 1. Get the code 
     225{{{ 
     226#!sh 
     227~ $ cd src 
     228~/src $ git svn init http://trac-hacks.org/svn th-announcer 
     229~/src $ cd th-announcer 
     230~/src/th-announcer $ vim .git/config 
     231~/src/th-announcer $ cat .git/config 
     232[core] 
     233        repositoryformatversion = 0 
     234        filemode = true 
     235        bare = false 
     236        logallrefupdates = true 
     237        autocrlf = false 
     238[svn-remote "svn"] 
     239        url = http://trac-hacks.org/svn 
     240        fetch = announcerplugin/trunk:refs/remotes/git-svn/trunk 
     241        fetch = announcerplugin/0.11:refs/remotes/git-svn/0.11 
     242        fetch = announcerplugin/0.11dev:refs/remotes/git-svn/0.11dev 
     243~/src/th-announcer $ git svn fetch 
     244git blah blah 
     245~/src/th-announcer $ git checkout -b trunk git-svn/trunk 
     246more blah blah 
     247}}} 
     248 1. Setup a virtualenv and install everything in it 
     249{{{ 
     250#!sh 
     251~/src/th-announcer $ cd 
     252~ $ virtualenv th-announcer 
     253~ $ . th-announcer/bin/activate 
     254(th-announcer)~ $ pip install -U Babel Trac 
     255pip blah blah 
     256(th-announcer)~ $ cd src/th-announcer 
     257(th-announcer)~/src/th-announcer $ python setup.py install 
     258}}} 
     259 1. It is also very helpful to install iniadmin `pip install -U http://trac-hacks.org/svn/iniadminplugin/0.11` 
     260 1. Create a trac instance for testing `trac-admin ~/virttrac/trac initenv` 
     261 1. Add `root` as a TRAC_ADMIN `trac-admin ~/virttrac/trac/ permission add root TRAC_ADMIN` 
     262 1. Create an htpasswd file so you can log in: `echo root:Xy2PtsPf0839Y > ~/th-announcer/trac/htpasswd` (that's 'password') 
     263 1. Fire her up! `cd ~/th-announcer/trac && tracd -p 7421 . -sr --basic-auth *,${HOME}/th-announcer/trac/htpasswd,*` 
     264 1. Browse to it. `chromium http://localhost:7421/admin` and login as root:password 
     265 1. Enable all the announcer and iniadmin stuff. 
     266 1. Edit your config with iniadmin. 
     267 
    217268=== About i18n/l10n support === 
    218269