cme fix dpkg now track and display changes
Hello
I’ve released Config::Model 2.018 which is now able to track the changes done with cme to your configuration data.
Thw GUI now features a new menu entry File -> show unsaved change that will give you a list of the changes done since running the command or since the last save (whichever occured last). For instance:
This feature is also available in non-graphic mode.
As an example, let’s refresh the lcdproc package:
$ cme fix dpkg Fixing... Reading package lists... Done Building dependency tree Reading state information... Done Warning in 'control source Standards-Version' value '3.9.2': Current standards version is 3.9.3 Warning in 'copyright Format' value 'http://dep.debian.net/deps/dep5/': Format does not match the recommended URL for DEP-5 Changes: - control source Standards-Version: '3.9.2' -> '3.9.3' # applied fix - copyright Format: 'http://dep.debian.net/deps/dep5/' -> 'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/' # applied fix
The Changes list can be reused to update the changelog, but the author does not dare injecting this directly in debian/changelog…
Let’s check the resulting changes:
$ git diff diff --git a/debian/control b/debian/control index 11a5b8a..2b81192 100644 --- a/debian/control +++ b/debian/control @@ -20,7 +20,7 @@ Build-Depends: autoconf, libxosd-dev, pkg-config, texinfo -Standards-Version: 3.9.2 +Standards-Version: 3.9.3 Vcs-Browser: http://git.debian.org/?p=collab-maint/lcdproc.git;a=summary Vcs-Git: git://git.debian.org/collab-maint/lcdproc.git Homepage: http://www.lcdproc.org/ diff --git a/debian/copyright b/debian/copyright index 6cea444..4b48619 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,4 +1,4 @@ -Format: http://dep.debian.net/deps/dep5/ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lcdproc Upstream-Contact: William W. Ferrell Source: http://www.lcdproc.org/ domi@ylum:~/debian-dev/lcdproc-stuff/lcdproc$
Last but not least, this track and display changes features is also available for other models, like OpenSsh, lcdproc, multistrap …
All the best
Isn’t it “bad” to correct the Standards-Version blindly ? Any such change is supposed to come with checking “at least” the upgrading checklist, so a blind change defeats that idea, IMHO.
Yes, you’re right.
I recommend to update packages this way:
In short, the standard-version is changed only when user asks for a “fix”. Either by running “cme fix dpkg” command or by clicking “apply fix” on the GUI. So you are free to choose not to change it.
All the best