diff options
author | Antti-Juhani Kaijanaho <ajk@debian.org> | 2011-11-13 20:35:35 +0200 |
---|---|---|
committer | Antti-Juhani Kaijanaho <ajk@debian.org> | 2011-11-13 20:35:35 +0200 |
commit | 2510027ea14a15c7579b89e4c72491da1d69bef8 (patch) | |
tree | 7403f108e87ec2546b3fcc16511a3cdafc29aab7 /debian/changelog | |
parent | 788ae16ed216f79250da4e4edbf25739edf7f2f1 (diff) | |
download | dctrl-tools-2510027ea14a15c7579b89e4c72491da1d69bef8.tar.gz |
Partially revert fix for #525525 and add a migration path to it
The original fix for #525525 was a cold-turkey change in behavior.
This caused problems and drew objections. Here, the idea is to
revert that change and add a migration path to it.
An option --ensure-dctrl is added, whose states semantics is to ensure that
the output format is in dctrl format. It will be ignored if -n is also
given, as that deliberately asks for non-dctrl output. In practical terms,
--ensure-dctrl makes the paragraph separator unconditional, as the cold
turkey change (in the absence of -n). The idea is that people who prefer
the new behaviour can set up shell aliases or other similar mechanisms
that use --ensure-dctrl by default.
Another option, --compat is added to allow people who dislike the new
behaviour to make sure that they continue to receive it. A --compat
option will countermand any previous --ensure-dctrl. Thus a user can
put it in a shell alias, which will then continue to deliver the old
semantics even after --ensure-dctrl is made default.
The idea is that eventually --ensure-dctrl will become normal behaviour
and the switch becomes a no-op.
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
Diffstat (limited to 'debian/changelog')
-rw-r--r-- | debian/changelog | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 9ea3fdb..b26c4bf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,13 @@ dctrl-tools (2.20) UNRELEASED; urgency=low * Improve the testsuite. * tester.sh: Do not output .differr if it wasn't constructed. + * grep-dctrl: Make a more modest fix for #525525 in adding an --ensure-dctrl + option that makes sure that the output (in the absence of the -n switch) + is in dctrl format. + - Later on we may want to make --ensure-dctrl the default. In anticipation, + a --compat option has been added that countermands any --ensure-dctrl. - -- Antti-Juhani Kaijanaho <ajk@debian.org> Sun, 13 Nov 2011 19:33:00 +0200 + -- Antti-Juhani Kaijanaho <ajk@debian.org> Sun, 13 Nov 2011 20:24:48 +0200 dctrl-tools (2.19) unstable; urgency=low |