Author Topic: Bandwidth limit exceeded  (Read 14200 times)

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Bandwidth limit exceeded
« Reply #15 on: December 01, 2005, 12:19:48 pm »
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

  • Guest
Re: Bandwidth limit exceeded
« Reply #16 on: December 01, 2005, 12:38:12 pm »
Yeah, that's another option, but I doubt berlios will support post-commit hooks. Who knows :)