From: Grzegorz A. H. <gr...@ti...> - 2005-09-15 17:26:37
|
On 2005-09-15, AKX <th...@gm...> wrote: > I'm not that familiar with version control, so could you elaborate > on that CVS thing? Hmmm... I thought you would be using CVS for your pyrexx module. Through SourceForge you can create modules, which are really individual directories in a remote server. Now there is pyallegro, which will stay that way. I did imagine you would create one named rexx or something like that for your work. In the same way, the Allegro homepage is stored in a separate www module. There are stored the html pages as templates and the language translations as text files, similar to GNU .po files. On the SF shell server a cron takes all that stuff from CVS, does the template conversion and outputs the files on the directory where the web is supposed to be. With Allegro using CVS is necessary because it is the only way for several translators to work together in parallel without actually modifying files directly on the server. Plus the scripts make sure that the group permissions are ok for the files and something written by one can be modified or deleted by somebody else. The disadvantage is that SF recomends crons to not run more than once a day, and they will disable CPU intensive ones. But in this case it would be a matter of running the cp program excluding CVS directories. Another disadvantage is that you don't modify things directly, so if you are doing .php or other dynamic webs, you need a local server for testing or log into SF and run manually the update script. The big advantages is that you keep track of every single change (email notification), you can roll back to previous versions and don't have problems with more than one person modifying the same file (because CVS would generate a conflict to resolve if needed). Personally, it's been years since I don't use any version control software for anything I write. It's a really nice tool to have. On the other hand, I won't be doing radical changes to the web page. As far as my development goes, releases are sporadic and it is enough for me to update that news file manually. In fact, if manual changes to the news file and your news admin interface don't exclude each other, I would recommend you to substitute the main page with your .php one and not worry too much about that web interface you were planning on doing. I'm sure you prefer to spend your time coding pyallegro than doing webmastery thingies (at least I do). |