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

Re: How to include information about a source package ?



George Danchev <danchev@spnet.net> writes:
> On Saturday 29 April 2006 22:06, Russ Allbery wrote:
>> George Danchev <danchev@spnet.net> writes:
>>> On Saturday 29 April 2006 21:34, Russ Allbery wrote:

>>>> After I've done one upload with a particular upstream source, I usually
>>>> just pull the upstream source out of the Debian archive so that I don't
>>>> have to worry about it changing.

>>> What about random users trying to build your debian source package
>>> ... or am I missing something here ?

>> When they download the package with apt-get source, they get the
>> .orig.tar.gz that I used as well.

> Seems I misunderstood you in the first place. In that case you do not
> need the optional get-orig-source target[1] in debian/rules to fetch the
> upstream tarballs from their canonical locations.

Certainly someone is misunderstanding someone.

One of the primary purposes of the get-orig-source target in the context
in which we're discussing it (repackaged upstream source) is to do the
repackaging in an automated way so that anyone who wants to see exactly
what was done can look at the implementation of the target.  If I were
sponsoring a -1 release of a package in which the maintainer repackaged
the upstream source, which is what I was originally addressing, I would
read the implementation of that target, read the information in
debian/copyright about why they repackaged the source, run the target, and
compare the results of the target with the .orig.tar.gz that they were
using.  That would replace the normal sponsoring check of downloading the
upstream tarball and checking with cmp that it is identical to the
.orig.tar.gz.

After the -1 release is sponsored, any subsequent releases without new
upstream source would just use the existing source in Debian and, as a
sponsor, I would check the changes with debdiff.

In all cases, I don't see much purpose in having a separate
README.Debian-source document.  Maybe if the repackaging were so complex
so as to not be representable in a debian/rules get-orig-source target.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: