bug-cvs
[Top][All Lists]
Advanced

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

Re: Fishing for a General Permissions API (inspired by "importers"


From: Derek Robert Price
Subject: Re: Fishing for a General Permissions API (inspired by "importers"
Date: Tue, 16 Mar 2004 11:31:34 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark D. Baushke wrote:

> Extending the commitinfo would be acceptable to me provided that access
> to both the vendor and version tags to be used for the import were also
> somehow made available to make the decision to allow the import to happen
> or not.


Good point again, Mark.  It should be useful and easy enough to extend
the current commitinfo hook to include a format string for the
destination branch name anyhow, and this could be reused for import's
vendor branch.  Even including the old revision for each file would be
easy.  Destination revision would be harder - it currently isn't set for
use by loginfo until it is retrieved after the actual commit.

As for the _list_ of release tags (don't forget it is a list), this
could be done, but would be a little more compilcated.  Perhaps if it
were simply left empty for calls to commit and filled in for calls to
import, that would be sufficient.  Using some characters forbidden in
tags, users could specify something like the following so that their
scripts could handle the double lists:

ALL $CVSROOT/CVSROOT/myscript %r %p $T %{t} -- %{sV}

I've annotated Issuezilla with our last few comments again.

Derek
- --
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAVyvlLD1OTBfyMaQRAmTJAJ91eqQExFyawOElH+KF+mU4YumbxQCfch1z
HZ/oD4nw0ekks9GFUqZH6Ws=
=fmQ4
-----END PGP SIGNATURE-----






reply via email to

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