summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* changelog: document 0.9.10+nmu1HEADdebian/0.9.10+nmu1archive/debian/0.9.10+nmu1masterIan Jackson2018-10-14
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [10]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Double a couple of \ in a messageIan Jackson2018-10-14
| | | | | | Using r'...' here seems unwise, so double the \ instead. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [9]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [8]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [7]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [6]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [5]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [4]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing doublings of \ in for-replacement stringsIan Jackson2018-10-14
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add two missing doublings of \ in some docstrings.Ian Jackson2018-10-14
| | | | | | | | | | | | | | | | | | | | The \\\\ in the source text inside """...""" turn into \\: >>> print(""" ... >>> DebianGitRepository.version_to_tag("%(version%-%\\\\%)s", "0-1.2.3") ... """) >>> DebianGitRepository.version_to_tag("%(version%-%\\%)s", "0-1.2.3") >>> The \\ inside the quoted source text turn into \ when received by version_to_tag. Detected by flake8: ./gbp/deb/git.py:171:-37: W605 invalid escape sequence '\%' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [3]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [2]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Escape: Add missing r in regexp literals ('...' => r'...') [1]Ian Jackson2018-10-14
| | | | | | | Detected by flake8, eg ./gbp/deb/git.py:35:6: W605 invalid escape sequence '\)' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Style: Remove a spurious blank lineIan Jackson2018-10-14
| | | | | | | | Weirdly, detected by flake8 as a missing blank line. ./gbp/git/repository.py:1890:5: E301 expected 1 blank line, found 0 Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* setup.cfg: Ignore flake8 W503/W504 operator before/after newlineIan Jackson2018-10-14
| | | | | | | | | | This is in the default ignore list. Unfortunately setting the list overrides the default ignores. Some discussion of this here: https://github.com/PyCQA/pycodestyle/issues/498 Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Makefile: Set HOME when running testsIan Jackson2018-10-14
| | | | | | | | | | | | | | | | | | | | A nonexistent directory is sufficient. Otherwise the tests can pick up the user's git configuration, which is undesirable. For example, I have [branch] autoSetupMerge = false which causes this test >>> clone.create_branch('foo', 'origin/foo') >>> clone.get_merge_branch('foo') 'origin/foo' to fail. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* rfc822_date_to_git: Fix docstring for new dateutil.parser.parseIan Jackson2018-10-14
| | | | | | | | | dateutil.parser.parse now, on failure, throws ValueError containing a tuple - now it has the troublesome string too. This causes the tests to fail in Debian sid. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* .gitignore: Add .pybuildIan Jackson2018-10-14
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* .gitignore: Fetch from vcs-git (upstream)Ian Jackson2018-10-14
| | | | | | | | | https://git.sigxcpu.org/cgit/git-buildpackage/plain/.gitignore This file was left out of the source package due to this bug: #908747 Default -I and -i option should not exclude .<vcs>ignore Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* git-buildpackage (0.9.10) unstable; urgency=mediumGuido Günther2018-08-19
[ Ken Dreyer ] * [f0b1bbe] deb.git: fix duplicate "tarball" in docstring. Fix the docstring for create_pristine_tar_commits() * [29b9f2c] deb.git: fix spelling of "described" in docstring. Fix the docstring for _sanitize_version() and _unsanitize_version() [ Guido Günther ] * [62e0102] push: Allow to skip upstream and debian branch and tag push. Push of tag and or branch can be skipped by setting --{upstream,debian}-{branch,tag}='' . (Closes: #899234) * [28a950a] tests: Check help output of tag and push too * [a287bf6] config: allow to override default values via add_config_file_option * [b8221b8] pull: Check that repo is clean before fetching anything * [6dda2da] pull: allow to set up branch tracking for missing branches. If the remote branch does not exist at all that's currently not fatal. (Closes: #882187) * [d69006d] Depend on sensible-utils. gbp-dch uses sensible-editor. [ Chris Lamb ] * [6c30ac9] import-{dsc,orig}: Make --download deprecation text more useful. Point to the manpages for usage examples. (Closes: #900606) [ Guus Sliepen ] * [48ef0ec] changelog: try iso8859-1 when utf-8 fails. Fall back to iso8859-1 when opening the changelog. Helps when importing old versions. (Closes: #900841) [ Carsten Schoenert ] * [50b9223] create_remote_repo: import urllib.parse urllib.parse did not get imported in packaegs without changelog. [ Iain Lane ] * [5fedb2b] Ignore merge commits when looking at the pristine-tar branch. (Closes: #906331) [dgit import package git-buildpackage 0.9.10]