Bug#756238: debhelper: Please trigger an error if a file is both managed in .install & .links

2017-08-12 Thread Niels Thykier
Control: tags -1 wontfix

On Sun, 27 Jul 2014 22:43:20 +0200 Sylvestre Ledru
 wrote:
> Package: debhelper
> Version: 9.20140228
> Severity: wishlist
> 
> Hello,
> 
> Playing with a package, I lost quite some time because a file was overriden 
> by a broken symlink.
> It would be nice if dh_link could fail if a file is already managed by 
> dh_install.
> 
> For example:
> 
> $ touch target
> 
> --- foo.install ---
> target /usr/share/
> 
> --- foo.links ---
> usr/share/orig /usr/share/target
> 
> In this case, I believe dh_link should fail with an error because the file
> is already managed by dh_install.
> 
> Thanks,
> Sylvestre
> 
> 
> [...]

It is a good idea.  However, it seems rather unfeasible to get right
given how independent the tools are from one another.  Tagging wontfix
in the absence of a patch (with tests for various corner cases).

Thanks,
~Niels



Bug#756238: debhelper: Please trigger an error if a file is both managed in .install & .links

2014-07-27 Thread Sylvestre Ledru
Package: debhelper
Version: 9.20140228
Severity: wishlist

Hello,

Playing with a package, I lost quite some time because a file was overriden by 
a broken symlink.
It would be nice if dh_link could fail if a file is already managed by 
dh_install.

For example:

$ touch target

--- foo.install ---
target /usr/share/

--- foo.links ---
usr/share/orig /usr/share/target

In this case, I believe dh_link should fail with an error because the file
is already managed by dh_install.

Thanks,
Sylvestre



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable-updates'), 
(500, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils2.24.51.20140604-3
ii  dpkg1.17.6
ii  dpkg-dev1.17.6
ii  file1:5.17-1
ii  man-db  2.6.6-1
ii  perl5.18.2-2+b1
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.63

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org