cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Re: Preprocessing of commited file


From: Derek R. Price
Subject: [Cvs-cvs] Re: Preprocessing of commited file
Date: Fri, 19 Oct 2007 17:27:09 -0400
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

My apologies, but I do not usually respond to direct, unsolicited CVS
help requests.  Please see the large amount of CVS documentation
available from <http://ximbiot.com>, use the public <address@hidden>
mailing list or, if you are in a hurry, would like to guarantee a
discussion with one of the registered CVS developers, or if you would
simply like to help support the future of CVS development, you might
wish to consider purchasing a CVS support contract from Ximbiot
<http://ximbiot.com>.

The knowledgeable staff at Ximbiot will verify
reproducible bugs you report, file them in the proper data stores, and
sometimes fix them, in addition to providing solutions and work arounds
for other problems.  Ximbiot also offers CVS training for
beginning through advanced CVS users and administrators and for large
and small groups, as well as contract labor for projects outside the
scope of a CVS support contract.  Write <address@hidden> for more
information.

Thank you for your time.

Derek R. Price
--
Derek R. Price
Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>


fred wrote:
I thought this is the right list,address@hidden, not getting bounced, but
the email doesn't get through either.....
Subject: Preprocessing of commited file

Running cvs as a pserver, and would like to be able to pass commited files thru
dos2unix filter, prior to it Being commited to cvs. The filter needs to run on
the server.
Is there a mechanism to do this?

I am already using loginfo to do actions after the the commit......
Eg..
<loginfo>
...


conf    (sleep 2; pathto/cvs-update-conf %{ts} ;)&


So running that script, but this action occurs *after* cvs has commited the
file..........
And the arg sent to the the cmd is the list of files in the commit....
So now to use the commitinfo thing....i'm just unclear on how...theres just no
examples/doc on this I find...

Probably need to know whether its an update/add commit (ie not a delete) And
maybe version/branch options are used too?

<commitinfo>

ALL prefiltercmd ????

Thing is commitinfo is more about validating the commit and returning 0 or 1,
not substiting the commited file With a filtered version...ie get the file into
a temp file, filter it, then substitute the commit with that file.


Please don't suggest to do it after commit....then its like double commits
occuring, user commits files, Server commits file, server filters file, server
commits file again, ah! Don't like that and I know I can do that by extending
The loginfo based script I already have.

Thanks any suggestions.....



--
Derek R. Price
Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]