News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Bandwidth limit exceeded

Started by mandrav, November 30, 2005, 10:42:20 AM

Previous topic - Next topic

Urxae

I don't know if berlios lets people set up post-commit hooks, but if they do that would probably be part of the best solution:

  • Have a post-commit hook (that reacts on the web dir only of course) invoke a script that updates both codeblocks.org and the sourceforge site (make sure that if one fails, the other still gets updated)
  • Have both sites also run cron jobes to update (just in case the site or its connection is down when the commit happens)
If you don't trust the Berlios admins, that script may be a security risk if implemented in the most obvious way though (pwds or private keys on berlios).
Maybe have it request a php page that, when loaded, runs svn update from the site?

takeshimiya

Yeah, that's another option, but I doubt berlios will support post-commit hooks. Who knows :)