aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* d/rules: Check for DEB_BUILD_OPTIONSmangle-dfsg-versionGuido Günther2023-05-01
|
* tests: Adjust to changed git outputGuido Günther2023-05-01
|
* gbp/deb/git: Dont' strip ~ patterns unconditionallyGuido Günther2023-05-01
| | | | | | | They're needed when packaging upstream beta versions. So use a positive list instead. Fixes: a5575e178639a8e167c7f3090263a03b362e05e7
* import-orig: Parse various Debian version patternsRichard Laager2023-05-01
| | | | | | | | | This parses common Debian version patterns into the "real" upstream version. For example, 1.1.8+dfsg1 becomes 1.1.8. This strips epochs, handles the +really convention, finds git revisions, and strips other + or ~ patterns. Closes: #968329
* repository.create_tag: Explicitly don't sign when sign=FalseHuw Jones2023-03-14
| | | | | | This avoids `tag.gpgsign = true` from git-config leaking through. Closes: #1032932
* config: Print sensible error message on duplicate sectionsGuido Günther2023-03-02
| | | | Don't confuse users with a backtrace.
* gbp-upload: Check if remote existsGuido Günther2023-02-25
|
* rpm/policy: Add missing dash before version in RPM changelog headerSamuel Henrique2023-02-24
| | | | | | | | | | | As stated in the documentation at https://rpm-packaging-guide.github.io/#working-with-spec-files "... Follow this format for the first line: * Day-of-Week Month Day Year Name Surname <email> - Version-Release ..."
* upload: Handle empty export-dirGuido Günther2022-12-09
| | | | Gbp-Dch: Ignore
* create-remote-repo.xml: Fix minor typoAkbarkhon Variskhanov2022-12-04
|
* upload: Honor export-dirGuido Günther2022-11-27
| | | | Not everyone just puts built debs to ../
* Document changes and release 0.9.30debian/0.9.30Guido Günther2022-11-24
|
* Bump standards version to 4.6.1Guido Günther2022-11-24
| | | | No changes required
* tests: Allow file protocol for submodule testGuido Günther2022-11-24
| | | | Closes: #1023379
* examples: Make it simpler to quitGuido Günther2022-11-24
| | | | Gbp-Dch: Ignore
* examples: Add upload scriptGuido Günther2022-11-24
|
* Document changes and release 0.9.29debian/0.9.29Guido Günther2022-09-29
|
* Build-depend on python3-filelockGuido Günther2022-09-29
| | | | This works around #1020024
* Explicitly use the deb install layout when building our RPMStefano Rivera2022-09-29
| | | | | | | Debian defaults to installing to /usr/local, unless told otherwise. This is usually done by passing --install-layout=deb to setup.py, when called directly. But that's only an option on Debian systems that have this patch. Set the environment variable equivalent, instead.
* Specify a sysconfig scheme in smoke-rpmStefano Rivera2022-09-29
| | | | | Debian uses the posix_local scheme by default, since Python 3.10, causing the rpm to be built with the incorrect layout.
* config: Print correct default for postunpack hookGuido Günther2022-09-01
|
* rpm: Fix flake8Pete Moore2022-08-24
|
* git-pbuilder: export GBP_{DIST,ARCH,BUILDER} to the environmentGuido Günther2022-08-03
| | | | | This makes sure we don't export very generic vars while still being able to make decisions based on what was passed to gbp.
* clone: Allow to add automatically add upstream vcsGuido Günther2022-08-02
| | | | | | | | | | | While "gbp import-orig" supports "--upstream-vcs" since some time to link to the upstream git history however setup of the upstream remoet repo so far was manual. To make this more automatic add "--add-upstream-vcs" to "gbp clone" (defaulting to False) and set up the upstreamvcs remote in case there's sufficient information in debian/upstream/metadata. Once added fetch from that remote initially.
* 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 << ---------------------