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

About get-orig-source - latest or always the same?



Dear mentors

I have a question about policy with respect to get-orig-source and
it's use with the DFSG tarballs.

The policy 4.9 says:

"This target fetches the most recent version of the original source
package from a canonical archive site (via FTP or WWW, for example),
does any necessary rearrangement to turn it into the original source
tar file format described below, and leaves it in the current
directory."

Debian Reference 6.7.8.2 says:

"A repackaged .orig.tar.gz.

must be documented in the resulting source package. Detailed
information on how the repackaged source was obtained, and on how this
can be reproduced must be provided in debian/copyright. It is also a
good idea to provide a get-orig-source target in your debian/rules
file that repeats the process, as described in the Policy Manual, Main
building script: debian/rules."

So if currently the latest upstream release of sword is 1.6.0. Hence
the version we are packaging is 1.6.0+dfsg-1. Now imagine our team
finished packaging this version and it has landed in the stable
release. Upstream by this time released 1.7.1. And our team packaged
1.7.1 and it is in unstable.

So what should get-orig-source target do:

1) In both stable and unstable: Grab 1.7.1 and turn it into 1.7.1.dfsg
2) In stable: Grab 1.6.0 and turn it into 1.6.0.dfsg; in unstable grab
1.7.1 and turn it into 1.7.1.dfsg
3) Parse debian/changelog and create the tarball for the latest
version listed there

Cause now in our "big team" of two collaborators we have disagreement
about this =D

-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич


Reply to: