Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: mandrav on November 30, 2005, 10:42:20 am
-
Well, it seems that we 're gaining some popularity and it caught us by surprise :)
Sorry for the inconvenience. Our bandwidth limit has been raised so it will probably be a while until this happens again ;)
-
Well, it seems that we 're gaining some popularity and it caught us by surprise :)
Sorry for the inconvenience. Our bandwidth limit has been raised so it will probably be a while until this happens again ;)
Thank you very much. It is good to access again http://www.codeblocks.org/ :)
Best wishes,
Michael
-
How about adding some forum archives? In plain format, without bells and whistles, and only members can access the forums (or something). I'm sure most of the bandwidth is used because people read the forums rather than the website.
-
How about adding some forum archives? In plain format, without bells and whistles, and only members can access the forums (or something). I'm sure most of the bandwidth is used because people read the forums rather than the website.
Our bandwidth limit has been raised so it will probably be a while until this happens again ;)
And if need be, I 'll raise it again. So don't you worry.
-
Can be made a mirror if the server burns or something?
There is any special software to make a mirror?
-
We could mirror at sourceforge. Only the main page, tho.
-
Why not everything?
I don't know anything on how to make a mirror.
-
why not everything: Because the mirror and the main page would get out of sync. Remember the forums are a database system, not a set of webpages.
How to make a mirror? Just copy the files :P
-
I mean, automatically.
-
I mean, automatically.
Use a script to copy the files ;)
-
Mm, I mean some program that will check if there's changes on the page, and then copy them (pretty much like CVS/SVN does).
-
I saw the webpages in the cvs.. when they are in the svn now, it should be possible to checkout to the sf.net servers...
-
Yes, some days ago the webpages was in SVN /trunk/web, but they are now in /web (svn://svn.berlios.de/codeblocks/web).
What I'd suggest is a cronjob in SF Shell, doing a SVN /web check-out to the SF host every 24 hours or so.
-
or only when the side is updated. when the "webmaster" commits some changes to the SVN he probably do an update to the cb.org server, so he also could do an update to the sf.net server ;) just make a script for it...
Why not every 24 hours? well, the site doesn't change that much (I think :lol:)
-
Well, that's another option.
The bad side is that every webmaster (Yiannis, Rick, Per, ...) will need to have direct access, know how to use, and opted-in to the SF shell services.
Note that a 24 hs. solution with a script running on SF would only do an SVN update, which is nothing if nothing changed.
-
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?
-
Yeah, that's another option, but I doubt berlios will support post-commit hooks. Who knows :)