On 17/07/16 21:42, Andreas Beckmann wrote:
> On 2016-07-17 20:20, Tomasz Buchert wrote:
> > Hi Andreas,
> > why is it useful?
> 
> Replaying git actions deterministically (i.e. taking care of authors,
> committers and timestamps) reproduces the same git history (including
> hashes), just the pristine-tar branch never matches a previous run.
> (I do that frequently when importing complicated history into git, and
> doing this for nvidia-settings(-legacy-*) still on my todo list).

I don't exactly know what kind of history importing you do, but why
don't you import the whole branch from the previous repository if you
retained original git hashes?

> Also importing the same tarball twice (under different names) should
> produce the same delta.
> 
> In general, reproducibility is a good idea, and pristine-tar is one tool
> used here - so it would be nice if it worked itself reproducibly.
> 
> Andreas

I'm not sure there is anything beyond "aesthetic reasons" to have
deltas reproducible. Yes, it would be nice as you said, but the
goal of pristine-tar is to create reproducible tarballs, not its
internal state.

Moreover, it is likely that internal delta version of pristine-tar and
pristine-gz will change soon [1] and in the long-term it is impossible
to keep the deltas reproducible.

I'll keep this open, though.

Tomasz

[1] https://bugs.debian.org/808813

Attachment: signature.asc
Description: PGP signature

Reply via email to