[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generated patches change over time
From: |
Ludovic Courtès |
Subject: |
Re: Generated patches change over time |
Date: |
Sat, 01 Dec 2018 22:37:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Maxim Cournoyer <address@hidden> skribis:
>>> address@hidden (Ludovic Courtès) writes:
>
>>Lesson learned: we should not rely at all on generated patches because
>>they are bound to change frequently (version string at the end, length
>>of commit hash prefixes, etc.) It’s probably worse than tarballs
>>generated by Git hosting services.
>>
>>So we should probably work towards using local copies of patches,
>>unless
>>we find that the generated patches do not include any variable bits.
>>
>
> Maybe we could pass the patches through some sanitizer to strip any metadata?
> I guess the content itself shouldn't change?
We can’t really do that, or the downloads would no longer be
fixed-output derivations and thus we wouldn’t be solving the problem.
Ludo’.
- Re: Generated patches change over time,
Ludovic Courtès <=