recreating historic packages

Stéphane Glondu steph at glondu.net
Tue Sep 30 10:45:54 UTC 2008


Teemu Ikonen wrote:
> The obvious, although perhaps inelegant way to solve the storage of
> the released debian source would be to modify pristine-tar to work
> with deb-source packages and store them in a branch of their own,
> maybe called "released-deb" or similar. The storage overhead for this
> would be minimal, just the size of the compressed patches.

The idea crossed my mind :-)

> First, find a path from tagged release commit in master to the commit
> in topgit branch patch/x preceding the commit in master where patch/x
> was last merged in. Let's call this commit Px. Next, starting from Px,
> find the commit in top-bases/patch/x preceding the last merge of
> top-bases/patch/x to patch/x and call this commit Bx. The patch can
> then be recreated from diff(Bx, Px) and .topmsg at Px.

top-bases/* are just references, right? If so, I don't see what you mean
by "find the commit in top-bases/patch/x [...] and call this commit Bx".
How would you achieve this?

-- 
Stéphane

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20080930/a149a96b/attachment.pgp 


More information about the vcs-pkg-discuss mailing list