Bug#960419: dh_link: Add option to check for identical file contents before replacing

2021-03-22 Thread Niels Thykier
Control: tags -1 wontfix On Fri, 15 May 2020 10:21:17 +0200 Matthijs Kooijman wrote: > Hey Niels, > > > As far as I can tell, the underlying desire is to do some form of > > deduplication. > Yes, indeed. > > > If so, then I think this is similar to #888397 with an expanded scope > > and a

Bug#960419: dh_link: Add option to check for identical file contents before replacing

2020-05-15 Thread Matthijs Kooijman
Hey Niels, > As far as I can tell, the underlying desire is to do some form of > deduplication. Yes, indeed. > If so, then I think this is similar to #888397 with an expanded scope > and a proposal for doing this via dh_link (rather than dh_installdocs > or a new helper). I guess my proposal is

Bug#960419: dh_link: Add option to check for identical file contents before replacing

2020-05-14 Thread Niels Thykier
Matthijs Kooijman: > Package: debhelper > Severity: wishlist > > Hi, > > in the openttd-opengfx package, I'm using dh_link to replace some > upstream-installed files with symlinks. To prevent accidentally linking > to the wrong file, I now explicitly diff the files before creating the > link. It

Bug#960419: dh_link: Add option to check for identical file contents before replacing

2020-05-12 Thread Matthijs Kooijman
Package: debhelper Severity: wishlist Hi, in the openttd-opengfx package, I'm using dh_link to replace some upstream-installed files with symlinks. To prevent accidentally linking to the wrong file, I now explicitly diff the files before creating the link. It would be nice if dh_link could