tag 672954 pending
thanks

Date:   Wed May 30 21:30:45 2012 +0200
Author: Daniel Dehennin <daniel.dehen...@baby-gnu.org>
Commit ID: a9bf9cfd4b31076c54d4e377c1b31b5bd69f8661
Commit URL: 
http://git.debian.org/?p=users/agx/git-buildpackage.git;a=commitdiff;h=a9bf9cfd4b31076c54d4e377c1b31b5bd69f8661
Patch URL: 
http://git.debian.org/?p=users/agx/git-buildpackage.git;a=commitdiff_plain;h=a9bf9cfd4b31076c54d4e377c1b31b5bd69f8661

    Move debian/changelog manipulation to gbp.deb.changelog.ChangeLog.

    spawn_dch switch gbp.command.wrappers.Command.

    * gbp/deb/changelog.py (ChangeLog.spawn_dch): static method adapted from
      gbp.scripts.dch and converted to gbp.command_wrappers.Command.
      (add_entry): New method adapted from
      gbp.scripts.dch.add_changelog_entry.
      (add_section): New method adapted from
      gbp.scripts.dch.add_changelog_entry. Remove DebianGitRepository and
      options, this has nothing to do with changelog management.

    * tests/test_Changelog.py: Test new methods.

    * gbp/scripts/dch.py: Remove useless functions: system(), spawn_dch(),
      add_changelog_section() and add_changelog_entry().
      Update calls accordingly.
      (fixup_trailer): Use spawn_dch() method of ChangeLog class.
      (process_options): dch_options became a list.
      (main): Use add_section() and add_entry() methods of ChangeLog object.
      Take care of upstream version since ChangeLog.add_section() does not
      manage it anymore.
      Update exception handling, ChangeLog.spawn_dch() can raise
      "CommandExecFailed" exception.

    Closes: #672954
      


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to