[Pkg-rust-maintainers] rust-lazy-static-1_1.0.1-1_amd64.changes REJECTED

Ximin Luo infinity0 at debian.org
Sat Jun 9 09:15:00 BST 2018


Chris Lamb:
> Hi all,
> 
>>> Rather than changing the auto-reject, we should fix Lintian to make an
>>> exception for this file.  The attached patch to lintian should fix that.
>>
>> I don't like such exceptions and it's one of these workarounds people carry
>> along for years and then forget until they cause weird side-effects.
> 
> Indeed, although we /can/ make the exceptions far clearer by using a
> file under the data/* directory. Please can you clone this bug into
> src:lintian? I should be around later to get it into sid so you are
> not delayed too much.
> 

https://salsa.debian.org/lintian/lintian/merge_requests/5

Josh are you able to get to Chris' request about implementing it differently? My perl is pretty bad.

Also the existing code says "value from dak CVS: Dinstall::PastCutOffYear" so I wonder if dinstall will reject this even if lintian gets relaxed.

>> Is there a particular reason why the crates contain files with an invalid
>> timestamp?
> 
> (I, too, would like to know this. Reproducibility?)
> 

Cargo.toml files get automatically rewritten into canonical form when uploaded, and I guess it was easier to hard-code 0 into the rewriting code than to examine the old entry and duplicate the old timestamp, because the cargo authors probably weren't expecting their stuff to get rejected by some other system just for having 0 timestamp.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-rust-maintainers mailing list