From: Robert H. <ro...@ro...> - 2004-12-27 23:55:20
|
Hi Alex, Alex Rabinovich wrote: > 1. I would like to add "before checkin" and "after checkout" triggers > (similar to PVCS) (-t/-f wrappers are not supported yet). I plan to use > pre_download.sh script which will be invoked from "File.pm" by download > procedure and post_upload.sh in upload procedure. > Example of need: We want to store Oracle Forms/Reports files in CVS. > Those files are binary and therefore -kb option should be used without > any keyword substituion. Those files also have textual representation > where $Id$ can be added. I would like to convert FMB->FMT before checkin > and FMT->FMB before download. You can use the "cvswrappers" file in your CVSROOT/ directory to do this automatically based on file extension (note that this is CVS-specific, and not related to SandWeb at all). CVS also supports various triggers, the mechanism may not be fine-grained enough for your usage. Repository/cvs.pm may be a better place, if you are doing CVS-specific hooks; otherwise you may want to do a subclass of File.pm (we want to support other version control systems, notably Subversion, so seperating this is important). However, even if you do hardcoded support we may take patches, if it can be refactored easily enough into the core project. > 2. There is no current method of downloading complete project from > SandBox to my current machine. I am planning to create a dummy file in > root of every dir and use the above pre_download.sh to checkout, tar and > zip directory contents. Any other ideas? Not sure what you mean. Do you want to download every module in your repository at once? You can define supersets of modules (see "ampersand modules" in the CVS documentation). > 3. I also noticed that all changes are listed by "apache" user and not > by sandweb user. (I used local repository access, pserver didn't work). > Any help? Use SSH, not pserver or local. If performance becomes an issue, I have some patches not merged yet that use RSH, let me know if you are interested in testing that out. Try SSH first though. > I would like to have your answers ASAP to allow me to complete the > evaluation process and start using and improving the SandWeb, from my > side I will contribute Oracle related scripts and engines that we are > going to develop to be included in sandWeb regular distribution. Sure, patches are welcome. We're trying to stay relatively focused for the core code, but we can probably create a contrib area for useful scripts that aren't related to the primary goal of a web based CVS client. -- Rob Helmer |