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

Re: [transcript] source package formats



On 21 Mar 2000, Brian May wrote:
> I am not sure I like (or understand for that matter) the input tar.gz
> files:
> 
>  93c152103ca081bd993bb216952a61be 293809 xawtv_3.07.orig.tar.gz
>  49d09b3edefb8279dc0ae1df3a42d15b 15908 xawtv_3.07-2.debian.tar.gz
>  fbb0a2fdc26934037ad11553f8f19814 2624 xawtv_3.07-2.diffs.tar.gz
> 
> The first one is obvious, it contains the original source code, same
> with the last, it contains the diffs. I will assume that
> xawtv_3.07-2.debian.tar.gz can contain binary files, that can't be
> patched (true/false?).

Not quite true.  The code I have does not treat *.orig.tar.gz specially.  It
does, however, treat the first *.tar.gz as the orig file.

> I wonder, if, rather then treating files ending in *.diffs.tar.gz as a
> special case, perhaps it might be better for these files to untar in a
> special location, eg xawtv-3.07/debian/diffs.  That way, all Debian
> specific stuff could all go into xawtv_3.07-2.debian.tar.gz, too.

Think multiple patch archives, and multiple file archives.  You can have 20
file archives, and 20 patch archives, and my code will cope.  You can even
share archives between source pkgs, which can be very helpful.

> I think this approach would allow greatest flexibility, should we ever
> decide we need to change in the future. Also, I suspect it might make
> maintaining these packages easier, if diff files can live in a
> standard spot within the source structure.

Actually, it will make things 'less trustworthy,' to quote Ian.  What is to
keep a script in debian/ from editting the files that exist in
debian/diffs?  And the diffs do live in a standard spot, in ../*.diffs.tar.gz.

----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <doogie@debian.org>        Finger Print | KeyID
67 01 42 93 CA 37 FB 1E    63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA  3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----


Reply to: