Skip to content

Commit

Permalink
Release 8.4: Support DEBIAN/conffiles excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Mar 9, 2021
1 parent 757fa16 commit a3d6ef1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ to `semantic versioning`_.
.. _Keep a Changelog: http://keepachangelog.com/
.. _semantic versioning: http://semver.org/

`Release 8.4`_ (2021-03-09)
---------------------------

Enhance :func:`deb_pkg_tools.package.update_conffiles()` with exclude support:
If an entry in the ``DEBIAN/conffiles`` starts with an exclamation mark
(optionally followed by whitespace) that entry will be omitted from the final
file.

Rationale: In general I like the automatic ``DEBIAN/conffiles`` updating but
I've encountered circumstances_ in which it is really inconvenient not being
able to exclude one or two specific files.

.. _Release 8.4: https://github.com/xolox/python-deb-pkg-tools/compare/8.3...8.4
.. _circumstances: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363524#17

`Release 8.3`_ (2020-05-11)
---------------------------

Expand Down
4 changes: 2 additions & 2 deletions deb_pkg_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Debian packaging tools.
#
# Author: Peter Odding <peter@peterodding.com>
# Last Change: May 11, 2020
# Last Change: March 9, 2021
# URL: https://github.com/xolox/python-deb-pkg-tools

"""
Expand All @@ -13,7 +13,7 @@
"""

# Semi-standard module versioning.
__version__ = '8.3'
__version__ = '8.4'

debian_package_dependencies = (
'apt', # apt-get
Expand Down

0 comments on commit a3d6ef1

Please sign in to comment.