On Mon, May 02, 2016 at 10:04:03PM +0100, Dominic Hargreaves wrote: > On Mon, Aug 24, 2015 at 11:53:26PM +0200, Dominic Hargreaves wrote: > > On Fri, Aug 21, 2015 at 06:54:01PM +0200, Axel Beckert wrote: > > > > JFYI: I feel that this search wasn't sufficient. I miss at least two > > > packages co-maintained by myself and missing in that list: xymon and > > > hobbit-plugins: > > > Okay. I think I put too much faith in codesearch.debian.org giving me > > complete results. I'll look again. > > Given that codesearch wasn't reliable enough, I had a look at a lintian > check; but I think it's going to be almost impossible to come up with > a check which is accurate; it's either going to end up with too many > false negatives, or too many false positives. As an alternative, how > would people feel about just patching the current rename with a > deprecation warning for one release cycle, and removing it from the perl > package in stretch + 1?
Trivial patch attached for discussion. Cheers, Dominic.
>From 890120b33ee78d58330767e363e62f4ad222c999 Mon Sep 17 00:00:00 2001 From: Dominic Hargreaves <d...@earth.li> Date: Sun, 8 May 2016 22:25:18 +0100 Subject: [PATCH] Add deprecation warning to locally-bundled rename script The current plan is to remove this scripts after the release of stretch. See #735134. --- debian/rename | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rename b/debian/rename index 01bb2c9..c4dd037 100644 --- a/debian/rename +++ b/debian/rename @@ -34,6 +34,8 @@ use strict; use Getopt::Long; Getopt::Long::Configure('bundling'); +warn "Deprecated program in use: rename as shipped with the Debian perl package will be removed after the release of stretch. Please install the separate 'rename' package which will provide the same command.\n"; + my ($verbose, $no_act, $force, $op); die "Usage: rename [-v] [-n] [-f] perlexpr [filenames]\n" -- 2.1.4