Daniel Dehennin <[email protected]> writes:

> When using git-pbuilder with cowbuilder, it could be interesting to use
> the last debian/changelog entry to set the DIST environment variable.

> The order of choices is the following:

> 1. environment variable
> 2. command line name
> 3. debian/changelog
> 4. default to sid

> I'll try to look at providing a patch.

One of the problems with this idea that I'm not sure has come up in this
discussion is that the build chroots for DIST are generally named for the
code name (lenny, squeeze, etc.) so they don't change over time, but
debian/changelog will have things like "unstable", "stable-security",
"stable-proposed-updates", and so forth.  So you need a mapping, and that
mapping will change with each Debian release, which means the user really
needs to supply it.

Once the user is supplying a mapping, it's probably just as easy to map
the branch names as to map the debian/changelog values.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to