SQL shema

2001-10-11 Thread raptor
hi, I was wondering how u people are working with SQL-shema changes... say I have it under CVS control... How u automate adding/removing tables and fields, and as special case populating some of the tables...!! ___ Info-cvs mailing list [EMAIL

Re: set -kb on import ?

2001-10-05 Thread raptor
thanx... I had it set, but did't know it works on import | raptor wrote: | | How can tell CVS to treat all .jpg and .gif as binaries at the time of | creation of the repository ? i.e. cvs import. | | Look at http://www.cvshome.org/docs/manual/cvs_18.html#SEC162 and | $CVSROOT/CVSROOT

up-to-date working copy

2001-10-05 Thread raptor
/perl #Author : raptor use strict; my $userName = getpwuid($); my $cvs = '/usr/bin/cvs'; my $repo = '/path/to/repository'; #Don't use full path to the workcopy i.e. if your work copy is : # /workcopy/myproject set this to only /workcopy my $workcopy = '/cvstest'; #get the directory we

set -kb on import ?

2001-10-04 Thread raptor
hi, How can tell CVS to treat all .jpg and .gif as binaries at the time of creation of the repository ? i.e. cvs import. Thanx = iVAN [EMAIL PROTECTED] = ___ Info-cvs mailing list [EMAIL PROTECTED]

Re: Locks, pls help

2001-10-03 Thread raptor
| I'm tring a loginfo-script.. and I got lock problems.. | [snip] | I've read in the manual but the explanation of the LOCKS is too 'blury' .. | | PEBKAC? ]- what this mean !!! | First of all I have to create #cvs.lock dir, | | Why? | | Have you read the manual section on loginfo? |

Locks continued...

2001-10-03 Thread raptor
hi again, Now after I have log-info script partialy-working (via fork) I've got another problem, which may be explain my question why CVS doesn't release the locks (if I'm right of course, and if I'm right CVS behavior continues to annoy me !!). I'm posting my script below, so u can see if there

config-file repository or what !?!

2001-10-02 Thread raptor
hi, I was thinking about something, which can be very helpfull if can be done in some way under CVS control.. so what is it ... Say u have a couple of boxes and u want to have process something like this : U are not doing Repository CheckOut to get the latest stuff... but mostly pull config

Locks, pls help

2001-10-02 Thread raptor
hi, I'm tring a loginfo-script.. and I got lock problems.. OK first I expected that 'cause the cvs-commit is already finished at log-info-stage all locks should be already released so I can switch to my working directory and update it (read) but I have zero success and had to go to

Re: get conflict files

2001-10-02 Thread raptor
I found yet another way :) cvs status | egrep 'Status:' | egrep -v 'Up-to' | I've got something : | | cvs -d blah history -e -a | egrep ^[WCAR] | cut -d ' ' -f 7- | | is this the correct way... | | Not entirely. You'll get the history, so you'll see all old conflicts, etc.

Re: CVSROOT

2001-09-30 Thread raptor
Yep that was exactly the problem ... Thanx alot ... = iVAN [EMAIL PROTECTED] = | I'm tring to set : | CVSROOT=:pserver:[EMAIL PROTECTED]:/path/to/cvs | export CVSROOT | | But I'm still getting errors when I try to login !!! | | One possible pitfall, if ./CVS/Repository exists, it

Re: CVSROOT

2001-09-30 Thread raptor
oops, one more thing it still seems that when I go into the working copy and try to execute CVS-commands it again doesn't use CVSROOT envoirment variable but what is set into ./CVS/Repository.. What I should do remove/modify all Repository files !!!? Thanx in advance PS. Isn't Repository files

handling config files

2001-09-30 Thread raptor
hi, I want to ask U how u handle configuration files..what I have in mind...Say we have a development server and production server.. but the difference is that for example u store uploaded images on the Dev server at directory : /sites/upload/images but on production server it is on :

CVSROOT

2001-09-29 Thread raptor
hi, I'm tring to set : CVSROOT=:pserver:[EMAIL PROTECTED]:/path/to/cvs export CVSROOT But I'm still getting errors when I try to login !!! Nowehre in the docs is mentioned, does CVSROOT set only the ROOT-cvs dir or it can set the access method info too !?! = iVAN [EMAIL PROTECTED]

Re: CVSROOT

2001-09-29 Thread raptor
I mean I can't see where is written what exactly CVSROOT can accept as a value i.e. does this mean U can set : CVSROOT=:pserver:[EMAIL PROTECTED]:/path/to/cvs or just : CVSROOT=/path/to/cvs that I was have in mind... cheers | On Sat, Sep 29, 2001 at 10:57:41AM +0300, raptor wrote: | I'm tring

Re: Right Permissons !?

2001-09-28 Thread raptor
What I've done was to set 'cvs' as a primary group for all the developers.. and to give 'cvs' group write access to the whole repository Don't know is this is the right way but it seems to work...!! It was very annoing for me too..?? One other thing I'm wondering is there a way to set

Re: Traversing a CVS repository

2001-09-28 Thread raptor
You probably want to do search here is one good solution : http://www.perlfect.com/freescripts/search/ u have the code, so u can write your-own and steal at their one.. :)) | Does anyone know how I can traverse the directories and files stored in a | CVS repository? I'll be doing this from

Re: strange behavior

2001-09-28 Thread raptor
Details : Below is session saved with script (unnecessary stuff removed of cource for clarity), U can see some addional info that is printed from loginfo script... Don't worry about typescript it is where the session is saved. RedHat 7.1/custom-kernel2.4.9/CVS1.11

warnings/errors....

2001-09-28 Thread raptor
Hi, I'm commiting on a and i'm getting these errors it is not big deal isn't it ?! cvs -z9 -q commit -m removed index.asp index.asp cvs commit: in directory .: cvs commit: ignoring CVS/Root because it specifies a non-existent repository /arh/cvs cvs commit: in directory .: cvs commit:

Format of cvs temp files...

2001-09-27 Thread raptor
hi, Could somone point me to a place where I can see the format of the cvs-temp files i.e. the files that cvs creates when calls loginfo, commitinfo etc..scripts.. (the cvs-temp are passed to the STDIN of the scripts). So that I know for what to search and now play with all the command to

Right Permissons !?

2001-09-26 Thread raptor
hi, What permission u set on the CVS repository and how those things are handled by CVS ? My current situation : I made group developers and set CVS repository so that this group has RW access, but when the user commits it changes the owner/group to his i.e. doesn't preserve developrs group on

removing Dir from CVS control

2001-09-26 Thread raptor
hi, How can I remove a directory from CVS control, I want it to stay on my working copy but be removed from CVS.. Thanx = iVAN [EMAIL PROTECTED] = ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs

catching succesfull commits and checking -m 'message'

2001-09-26 Thread raptor
hi, I made my first tries with loginfo-attached scripts..seems to work :) But I was wondering if there is a way to attach script, which do action only if the following condition is met : 1. the commit message start with say '!' 2. commit is successfull And the action I want to execute is to

Re: removing Dir from CVS control

2001-09-26 Thread raptor
| Although what I think he is asking, is that he has a working directory that | contains a subdirectory, and wants to remove the subdirectory from CVS | control so that when in the main working directory, CVS will not try to | recurse into the subdirectory. Correct? ]- somthing like that.. the