Le Sat, Nov 03, 2012 at 06:39:30PM -0400, Sébastien Boisvert a écrit :
> 
> The pristine-tar branch contains the content of Ray-v2.1.0.tar.bz2 (tag
> pristine-tar/2.1.0)
> 

Bonjour Sébastien,

this is not the purpose of the pristine-tar branch, as otherwise
pristine-tar/2.1.0 would be entirely rendundant with upstream/2.1.0.

Pristine-tar solves a techinical problem that is not obvious at first. If on
two computers one regenerates a tarball using upstream/2.1.0, results man not
be byte-identical.  Difficulties go beyond simple timestamp gymnastics.

Pristine-tar was therefore invented to store a binary delta, with which a
regenerated tarball is made byte-identical with a reference tarball, in a
space-efficient manner (storing all the tarballs would take unreasonable
space).

This is important because when a Debian package is updated with no changes
to the upstream sources (that is, when only the debian revision number changes),
the previously uploaded upstream source is used.  The "orig.tar.gz" of the 
updated
source package will not be uploaded, but as you can see in the Debian source
control file (".dsc"), its check sums are recorded, for comparison with the
one in the Debian archive.

You can see examples of pristine-tar branches in the Git repositories for bwa
or samtools for example. 

Pristine-tar branches are not strictly mandatory, but are especially useful
when working collectively on a package.  In the absence of pristine-tar
branches, the best way retreive the proper "orig.tar.gz" is to downolad the
previous source package from the Debian archive. 

Bon dimanche !

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121104022358.ga25...@falafel.plessy.net

Reply via email to