On Mon, Sep 12, 2005 at 05:05:03PM +0200, Florian Ragwitz wrote:
> > http://darcs.complete.org/darcs-buildpackage.  Please feel free to
> > "darcs send" patches to me, or I'll take regular diffs as well.
> 
> I think I'll do that.

GREAT!

> > In the meantime, if you have specific questions, please feel free to
> > ask.
> 
> I'd like to know how to check out a given version of a package (either
> upstream or debian version).

Sure.  This is done with tags.  You can pull both Debian and upstream
versions from a Debian darcs repo, or you can pull upstream versions
from the upstream repo.

When you run dbp-importorig or one of the other dbp-* tools that imports
upstream versions, it automatically creates a tag in darcs identifying
that version.  You can see these tags with darcs changes -s.  Here's an
example:

  tagged UPSTREAM_haskell-hsql_1.4

the format of this tag is:

UPSTREAM_srcpkgname_version

this version does *not* contain a Debian version number.

Then, when you run dbp-markdeb during the course of preparing Debian
releases (or use dbp-importdsc), tags are created like this:

  tagged DEBIAN_haskell-hsql_1.4-5

This time, the version number *does* include the debian release.

You can check these out with a command like:

darcs get --tag=DEBIAN_haskell-hsql_1.4-5 ../haskell-hsql

That will get you the source tree corresponding specifically to 1.4-5.

darcs-buildpackage internally uses this technique to fetch the
appropriate upstream tree if necessary.

Debian-native packages (that have no diff.gz) contain only DEBIAN tags.

-- John


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

Reply via email to