Bug#991393: debhelper should probably prevent zero mtime in packages

2021-09-04 Thread Niels Thykier
Control: tags -1 wontfix

Andrej Shadura:
> Source: debhelper
> Severity: wishlist
> 
> Hi,
> 
> As a maintainer and the upstream of inputplug, I ran into this conflict
> between what cargo produces and what the Debian archive expects: since
> [1], cargo publish resets mtime of all files to 0. On the contrary, if
> any of those files leak into .debs, they will be REJECTed by the
> archive [2]. While arguably this is something cargo should not do or my
> d/rules should have fixed, it would be great if debhelper could fix that
> for me.
> 
> [1]: https://github.com/rust-lang/cargo/pull/8864
> [2]: https://bugs.debian.org/991369
> 
> 

Hi,

Thanks for the report.

Given this allegedly "only" affects cargo related packages, I think this
 work around would fit better in the dh-cargo related tooling rather
than being imposed on all debhelper using packages.

~Niels



Bug#991393: debhelper should probably prevent zero mtime in packages

2021-07-22 Thread Andrej Shadura
Source: debhelper
Severity: wishlist

Hi,

As a maintainer and the upstream of inputplug, I ran into this conflict
between what cargo produces and what the Debian archive expects: since
[1], cargo publish resets mtime of all files to 0. On the contrary, if
any of those files leak into .debs, they will be REJECTed by the
archive [2]. While arguably this is something cargo should not do or my
d/rules should have fixed, it would be great if debhelper could fix that
for me.

[1]: https://github.com/rust-lang/cargo/pull/8864
[2]: https://bugs.debian.org/991369


-- 
Cheers,
  Andrej