Posted by Buzz in Linux
Strangely I’ve had some people reporting issues with being prompted for a username and password when accessing files on svn.saiweb.co.uk
it would appear in mod_dav_svn-1.4.2-4.el5_3.1 that this directive: AuthzSVNNoAuthWhenAnonymousAllowed
now defaults to OFF, well that was a p.i.t.a trying to track down, having never seen that directive in ANY of the documentation …
Anyway pass this on to other facing the same issue.
Tags:
AuthzSVNNoAuthWhenAnonymousAllowed,
broken,
fubar,
fucked,
mod_authz_svn,
mod_dav_svn,
svn,
wtf
2 Comments »
Some two months after the fact, I thought it may well be time to post a blog on this little code snippet.
As some of you have noticed every commit message to my subversion repository is infact updating my twitter.
This code was uploaded to subversion on 10/06/2009, so sorry for the late write up!
Requirements
Python 2.5 or higher
Subversion server
Installation
- svn co http://svn.saiweb.co.uk/branches/python/svn_tweeter.py /usr/bin/svn_tweeter
- chmod +x /usr/bin/svn_tweeter
- cd /path/to/svn/hooks
- Edit post-commit with your favorite text editor
1
| /usr/bin/python /usr/bin/svn_tweeter -u twitterusername -p twitterpassword -r $REV -s $REPOS |
Now try a commit, and check your syslog for entries from the script.
Aug 24 11:36:26 132 python: SVN_TWEETER: http://twitter.com/statuses/update.json query complete
UPDATE 24/03/2011 Twitter has removed basic authentication, you must use oauth (admittedly it has been like this for a fair while now) use this nagios_bot instead
Tags:
hooks,
post-commit,
Subversion,
svn,
twitter
No Comments »
Posted by Buzz in General
I am still in the midst of getting everything made available.
http://svn.saiweb.co.uk
http://trac.saiweb.co.uk
From now all all development will be checked into the saiweb subversion, the existing sourceforge and wordpress repositories will only be used to push releases to.
If you should find a bug and/or have a feature request please register with the trac system and start creating tickets.
Cheers
Buzz
Tags:
svn,
trac
No Comments »