summaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Document changes and release 0.9.28debian/0.9.28Guido Günther2022-07-05
|
* export-orig: Allow for --pristine-tar-commitGuido Günther2022-06-30
| | | | No reason to restrict this to build-package
* pkgpolicy: Use type annotations that also work for python 3.9Diane Trout2022-06-13
| | | | Closes: #1012717
* Document changes and release 0.9.27debian/0.9.27Guido Günther2022-05-31
|
* Add breaks on older dgitGuido Günther2022-05-31
| | | | See #1005873, #1010061
* clone: add second allowed form for vcs-git protocol to manual pageNicolas Boulenguez2022-05-28
|
* dch: Don't crash when we fail to get an upstream versionGuido Günther2022-05-28
| | | | Closes: #879495
* import-dsc: Fix error message when missing debian branchArnaud Rebillout2022-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error message mistakenly talks about the upstream branch when it should be talking about the debian branch. Logs: # initial failure $ gbp import-dsc apt:desktop-base/sid gbp:info: Downloading 'desktop-base/sid' using 'apt-get'... gbp:info: Tag 11.0.2 not found, importing Debian tarball gbp:error: Repository does not have branch 'master' for upstream sources. If there is none see file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT on howto create it otherwise use --upstream-branch to specify it. Also check the --create-missing-branches option. # trying as suggested $ gbp import-dsc --upstream-branch=debian apt:desktop-base/sid gbp:info: Downloading 'desktop-base/sid' using 'apt-get'... gbp:info: Tag 11.0.2 not found, importing Debian tarball gbp:error: Repository does not have branch 'master' for upstream sources. If there is none see file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT on howto create it otherwise use --upstream-branch to specify it. Also check the --create-missing-branches option. # in fact it's the debian branch! $ gbp import-dsc --debian-branch=debian apt:desktop-base/sid gbp:info: Downloading 'desktop-base/sid' using 'apt-get'... gbp:info: Tag 11.0.2 not found, importing Debian tarball gbp:info: Version '11.0.2' imported under '/home/user/src/desktop-base' Closes: #984516
* docs: Ship gbp-setup-gitattributs man pageGuido Günther2022-05-28
|
* docs: Make --component more prominentGuido Günther2022-05-28
| | | | Closes: #934200
* uscan: Drop pre 2.11 devscripts compat codeGuido Günther2022-05-28
| | | | It's not even in oldoldoldstable anymore
* tests: Add "gbp import-orig --uscan" testGuido Günther2022-05-28
|
* Makefile: add type-checkGuido Günther2022-05-27
|
* dch: Add minimal type informationGuido Günther2022-05-27
| | | | Just enough to make mypy happy
* Ignore imports without type annotations for nowGuido Günther2022-05-27
| | | | Ignore rpm and libnotify for the moment
* pkgpolicy: Add type annotationsGuido Günther2022-05-27
| | | | Just enough to make mypy happy.
* clone: Allow to skip alias expansionGuido Günther2022-05-27
| | | | | | | Add an option that allow to skip exansion of aliases like salsa: by gbp so that git can do that. Closes: #983085
* docs: Fix --upstream-signature flag descriptionGuido Günther2022-05-26
| | | | Thanks: Tino Mettler
* debian/rules: clean __pycache__ directories generated during the buildNicolas Boulenguez2022-05-26
|
* pull: Prefix local branch with 'refs/heads/'Doesnot Matter2022-05-26
| | | | | | This can resolve ambiguity when generating the rev list. Closes: #966627
* repository: Add helper to prefix branch with 'refs/heads/'Doesnot Matter2022-05-26
| | | | No attempt is being made to ensure this is a local branch.
* repository.get_submodules: Only strip repo path from the beginningDoesnot Matter2022-05-26
| | | | | | | | We shouldn't just replace any occurence since we otherwise might also substitute in the submodule. Based on a patch by "ushen <yshxxsjt715@gmail.com>". See https://github.com/agx/git-buildpackage/pull/82
* debian/rules: really export GBP_NETWORK_TESTS to testsNicolas Boulenguez2022-05-26
| | | | | | $(MAKE) GBP_NETWORK_TESTS=1 was setting a Make variable in the sub-Make, but not exporting it for test/*.py subprocesses.
* debian/clean: add forgotten filesNicolas Boulenguez2022-05-26
|
* Move some cleaning from debian/rules to debian/cleanNicolas Boulenguez2022-05-26
|
* repository: list_tree: Handle '-'Doesnot Matter2022-05-26
| | | | | | | | | | | | | | | | | | | | | This is returned for git submodules and broke the the clone test like: ====================================================================== ERROR: Test that cloning from github urls works ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/scratch/src/git-buildpackage/git-buildpackage/tests/component/deb/test_clone.py", line 81, in test_clone_github ret = clone(['arg0', "github:agx/git-buildpackage", dest]) File "/var/scratch/src/git-buildpackage/git-buildpackage/gbp/scripts/clone.py", line 214, in main if options.defuse_gitattributes.is_on() or not repo_setup.check_gitattributes(repo, 'HEAD'): File "/var/scratch/src/git-buildpackage/git-buildpackage/gbp/scripts/common/repo_setup.py", line 43, in check_gitattributes for mode, _type, sha1, size, path in repo.list_tree(treeish, recurse=True, sizes=True): File "/var/scratch/src/git-buildpackage/git-buildpackage/gbp/git/repository.py", line 1105, in list_tree yield mode, type, sha1, int(size), filename ValueError: invalid literal for int() with base 10: '-' -------------------- >> begin captured logging << -------------------- gbp: info: Cloning from 'https://github.com/agx/git-buildpackage.git' into '/.../git-buildpackage/gbp_TestClone_730g3vkb/tmp_test_clone_github_i9jrqgmy/cloned_repo' --------------------- >> end captured logging << ---------------------
* smoke-rpm: Avoid deprecated distutilsDoesnot Matter2022-05-26
|
* deb: Decode changelog content when fetched from gitGuido Günther2022-05-25
| | | | | | | When importing not form the upstream branch the changelog is fetched via `git show`. Decode the bytes in that case. Closes: #1004354
* tests: Test import-orig from upstream branchGuido Günther2022-05-25
|
* debian/copyrigt: switch to machine-readable format 1.0Nicolas Boulenguez2022-05-25
|
* debian/rules: remove obsolete and unused Make variablesNicolas Boulenguez2022-05-25
|
* rules: simplify thanks to debhelper compat 13Nicolas Boulenguez2022-05-25
| | | | | | | | | | | | | | When dh-sequence-foo is listed in build-depends, debhelper automatically inserts dh_foo in the commands. override_dh_auto_test is not invoked anymore if DEB_BUILD_OPTIONS contains nocheck. execute_after_dh_* is available and more readable than override_dh_*. Move chmod to execute_after_dh_fixperms for clarity. Examples are not compressed anymore.
* debian/rules: simplify installation of zsh and pk4Nicolas Boulenguez2022-05-25
| | | | | There seems to be no reason to change their names and permissions between the source tree and the eventual installation path.
* debhelper: make package prefix explicit in configuration filesNicolas Boulenguez2022-05-25
| | | | This slightly improves readability.
* config: Use ConfigParser instead of deprecated SafeConfigParserGuido Günther2022-05-25
| | | | Closes: #1011344
* git/repository: Disable signatures when grepping for commitsGuido Günther2022-05-16
| | | | | | | | Otherwise get the signature back as well. Thanks: наб for the patch Closes: #1010370
* Document changes and release 0.9.26debian/0.9.26Guido Günther2022-05-16
|
* push: Limit remote check to default remoteGuido Günther2022-05-16
| | | | | | | | | | | | | We can't assume the user is pushing to the defaulte remote as gbp push foo is also supported hence we can't just check pristine-tar status on the default merge branch. Helps 2405e158 ("push: skip pristine-tar push if already present remotely") Gbp-Dch: Ignore
* docs: Fix argument for "gbp pq export --commit"Roland Mas2022-05-11
|
* scripts: add -v shortcut for --verbose where it has been forgottenNicolas Boulenguez2022-05-10
| | | | Closes: #1010750
* push: skip pristine-tar push if already present remotelyAntonio Terceiro2022-04-23
| | | | | | | | When one is working on an older branch (stable update or backport), the pristine-tar branch may already contain new commits after the one corresponding to the upstream version in question. Closes: #1001163
* tests: fix input data to create-remote-repo testsAntonio Terceiro2022-04-23
| | | | Closes: #1010061
* debian/rules: fix build with python3.10 as defaultAntonio Terceiro2022-04-23
|
* tests: set HOME to an unexisting directoryAntonio Terceiro2022-04-23
| | | | | | | The test suite contains several assumptions about the global git configuration, including but not limited to the default branch name being `master`. By running the tests against a unexisting HOME, git will not load the user configuration and instead use all the git defaults.
* docs: port build system to newer pydoctorAntonio Terceiro2022-04-23
| | | | | | | According to https://pydoctor.readthedocs.io/en/latest/help.html, the command line and configuration parsing has changed in an incompatible way. These changes fix the documentation build for me, but are probably backwards-incompatible with older versions of pydoctor.
* rpm.policy: Drop non breaking spaceGuido Günther2022-03-16
| | | | | | This trips up pydoctor. Thanks to Carsten Schönert for debugging help
* rpm.changelog: Drop non breaking spaceGuido Günther2022-03-16
| | | | | | This trips up pydoctor. Thanks to Carsten Schönert for debugging help
* deb.git, scripts: Use cannot rather than can not for clarityAndrej Shadura2022-02-14
| | | | | | | "Can not" may in some cases mean something different than "cannot", use "cannot" to make sure there are no misunderstandings. Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
* pq: Check if repo is clean before importing patchesGuido Günther2022-02-11
| | | | Closes: #1005321
* push: Make --debian-tag='' match the documentationGuido Günther2022-02-11
| | | | | | | | | | | | | | | | | | | | | An empty Debian tag indicates "don't care" about the packaging branch. Don't fail in that case but rather push out up to the branch tip: Currently we'd fail like $ gbp push --debian-tag='' guido Traceback (most recent call last): File "/usr/bin/gbp", line 149, in <module> sys.exit(supercommand()) File "/usr/bin/gbp", line 145, in supercommand return module.main(args) File "/usr/lib/python3/dist-packages/gbp/scripts/push.py", line 153, in main to_push['refs'].append((ref, get_push_src(repo, ref, dtag))) UnboundLocalError: local variable 'dtag' referenced before assignment this make it simple to push the current development work via gbp push --debian-tag='' <remote>