Hello, I rebased my patch[1] against latest experimental.
Note that some tests fails but are not related to my patch:
dad@home:~/src/git-buildpackage (experimental=)$ make -f debian/rules
override_dh_auto_test
dh_auto_test
export DEB_VENDOR="Debian"; \
export GIT_AUTHOR_NAME="Gbp Tests"; \
export [email protected]; \
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME; \
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL; \
PYTHONPATH=. \
python setup.py nosetests
running nosetests
running egg_info
creating gbp.egg-info
writing gbp.egg-info/PKG-INFO
writing top-level names to gbp.egg-info/top_level.txt
writing dependency_links to gbp.egg-info/dependency_links.txt
writing manifest file 'gbp.egg-info/SOURCES.txt'
reading manifest file 'gbp.egg-info/SOURCES.txt'
writing manifest file 'gbp.egg-info/SOURCES.txt'
running build_ext
.........................................S......................................................................Usage:
setup.py [options] paths
setup.py: error: '--snapshot' and '--release' are incompatible options
........................................................................F......pristine-tar:
committed upstream_1.0.orig.tar.gz.delta to branch pristine-tar
..pristine-tar: successfully generated ../upstream_1.0.orig.tar.gz
..
======================================================================
FAIL: Doctest: tests.test_GitRepository.test_cmd_has_feature
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for test_cmd_has_feature
File "/home/dad/src/debian/git-buildpackage/tests/test_GitRepository.py",
line 809, in test_cmd_has_feature
----------------------------------------------------------------------
File "/home/dad/src/debian/git-buildpackage/tests/test_GitRepository.py",
line 828, in test_cmd_has_feature
Failed example:
repo._cmd_has_feature("foobarcmd", "foobaroption")
Expected:
Traceback (most recent call last):
...
GitRepositoryError: Invalid git command 'foobarcmd': No manual entry
for gitfoobarcmd
Got:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest test_cmd_has_feature[8]>", line 1, in <module>
repo._cmd_has_feature("foobarcmd", "foobaroption")
File "/home/dad/src/debian/git-buildpackage/gbp/git/repository.py",
line 196, in _cmd_has_feature
% (command, stderr[:-1]))
GitRepositoryError: Invalid git command 'foobarcmd': Aucune entrée de
manuel pour gitfoobarcmd
[...]
Ran 194 tests in 33.966s
FAILED (SKIP=1, failures=1)
make: *** [override_dh_auto_test] Erreur 1
Regards.
The following changes since commit 90ffae8f30432c267f1f2165bcae85bf7946bb9e:
manpages: Document gbp-pull's --ignore-branch option (2013-05-04 14:13:07
+0200)
are available in the git repository at:
git://git.baby-gnu.net/git-buildpackage
tags/dad/90ffae8/create-inexistant-changelog
for you to fetch changes up to eea71ed4f39aa5d92f3c06e608c4d49a35a84b72:
Create debian/changelog if it does not exists (2013-05-08 16:12:38 +0200)
----------------------------------------------------------------
Rebase on latest experimental, tests OK.
* rename test file
* modify DebianSource
----------------------------------------------------------------
Daniel Dehennin (1):
Create debian/changelog if it does not exists
gbp/deb/changelog.py | 60 +++++++---
gbp/deb/source.py | 14 +--
gbp/scripts/dch.py | 41 ++++++-
tests/16_test_create_changelog.py | 225 +++++++++++++++++++++++++++++++++++++
tests/test_Changelog.py | 103 +++++++++++++++++
5 files changed, 413 insertions(+), 30 deletions(-)
create mode 100644 tests/16_test_create_changelog.py
Footnotes:
[1]
http://git.baby-gnu.net/gitweb/?p=git-buildpackage.git;a=shortlog;h=refs/tags/dad/90ffae8/create-inexistant-changelog
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
pgpjSMYrbQnp7.pgp
Description: PGP signature

