Guido Günther <a...@sigxcpu.org> writes:

[...]

> Thanks for updating your changes.

I make a new tag[1] the patch[2] improve the tests.

I will modify tests/11_test_dch_main.py to use the same mechanism for
Ubuntu compliance and changelog parsing.

Regards.

The following changes since commit 60ffe95dbaaf7b0e741ce74657d3de5563cb1683:

  --git-hooks doesn't take an argument (2013-07-13 09:40:14 +0200)

are available in the git repository at:

  git://git.baby-gnu.net/git-buildpackage 
tags/dad/60ffe95/create-nonexistent-changelog

for you to fetch changes up to 503e5a5dff7c081c412a906381f2ad36e82c7c43:

  Create debian/changelog if it does not exists (2013-07-27 18:52:10 +0200)

----------------------------------------------------------------
Rebased on latest master and improve testing: tests OK

Changes since last patch:

* debian/rules (override_dh_auto_test): Set name and email for dch.

* tests/17_test_create_changelog.py (TestScriptDch.setUp): Avoid
  multi-maintainer headers, it breaks dch changes parsing.
  Set some attribut to manage Debian/Ubuntu.
  (TestScriptDch.run_dch): Load the parsed changelog for better testing.
  (TestScriptDch.check_header): Check all the headers of the last
  changelog section. Take care of snapshot version and Ubuntu version
  suffix.
  (TestScriptDch.check_author): Check the author name and email of the
  last changelog section.
  (TestScriptDch.check_changes): Check the list of changes, require exact
  match by default. Take care of snapshot mode for offset calculation.

----------------------------------------------------------------
Daniel Dehennin (1):
      Create debian/changelog if it does not exists

 debian/rules                      |   2 +
 gbp/deb/changelog.py              |  60 ++++++---
 gbp/deb/source.py                 |  14 +-
 gbp/scripts/dch.py                |  41 +++++-
 tests/17_test_create_changelog.py | 264 ++++++++++++++++++++++++++++++++++++++
 tests/test_Changelog.py           | 103 +++++++++++++++
 6 files changed, 454 insertions(+), 30 deletions(-)
 create mode 100644 tests/17_test_create_changelog.py


Footnotes: 
[1]  
http://git.baby-gnu.net/gitweb/?p=git-buildpackage.git;a=tag;h=refs/tags/dad/60ffe95/create-nonexistent-changelog

[2]  
http://git.baby-gnu.net/gitweb/?p=git-buildpackage.git;a=commitdiff;h=refs/tags/dad/60ffe95/create-nonexistent-changelog

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

Attachment: pgpUvHSvrVOIi.pgp
Description: PGP signature

Reply via email to