aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* docs: document how to send the tip of debian-branch with gbp pushHEADmasterCarlos Henrique Lima Melara2024-03-05
| | | | | | | When --debian-tag is set to '' empty string, gbp will push the tip of the debian branch to remote. Small typo fix also: s/branach/branch/
* pull: Allow pull in unclean reposJochen Sprickerhof2024-01-14
| | | | | | This works just fine when git can fast forward, i.e. with untracked content or changes in tracked files that are not touched by the commits. In case fast forward is not possible gbp will complain anyhow.
* tests: shellcheck packaging-in-container tooGuido Günther2024-01-14
| | | | Now that is passes let's make sure it stays that way.
* tests: Make shellcheck happyGuido Günther2024-01-14
| | | | Gbp-Dch: Ignore
* tests: Rename run-in-docker to run-in-container to be more genericOtto Kekäläinen2024-01-13
|
* tests: Fix shell syntax issues in run-in-containerOtto Kekäläinen2024-01-13
| | | | | | | If 'run-in-container x' was issued, script would fail silently. With this change it will properly exit with 'bad action: x' and help message. Also fix a bunch of other minor issues detected by ShellCheck.
* tests: Capitalize Dockerfile commands to follow to formal syntaxOtto Kekäläinen2024-01-13
| | | | This is necessary to be able to use static Dockerfile analyzers.
* tests: Avoid busting container layer cache on every file changeOtto Kekäläinen2024-01-13
|
* tests: Implement 'run-in-docker -c docker'Otto Kekäläinen2024-01-13
| | | | | | | | | | | | Typically developers have either Docker or Podman on their laptops for running containers. As Podman follows nearly identical syntax as Docker, add new option '-c' that allows to specify Podman or Docker as the container command, with Podman being default if nothing is defined as the main developer is using Podman. Also ignore log files both in .gitignore and resulting .dockerignore so that tests runs can be logged with 'tee x.log' without triggering rebuilds of the container via polluting the 'COPY . .' step.
* debian: Fix misc spellingOtto Kekäläinen2024-01-12
| | | | | The debian/changelog has many spelling errors but not touching them now as changing past changelog entries might be contentious.
* gbp: Fix misc spelling in user visible output and commentsOtto Kekäläinen2024-01-12
|
* docs: Fix misc spelling in documentationOtto Kekäläinen2024-01-12
| | | | | In code standardize on using 'commitish' while docs have 'commit-ish' like upstream git convention seems to be.
* rpm: Adjust to new gbp.conf install pathGuido Günther2024-01-12
| | | | | | To make setup.py happy we moved to an underscore path name in 2f47ec4c ("setup: Move most options to setup.cfg")
* docs: Drop NEWSGuido Günther2024-01-12
| | | | dh_installchangelogs handles that
* setup: Move most options to setup.cfgGuido Günther2024-01-10
| | | | | We can move everything that doesn't depend on running a script or evaluating environment variables.
* Validate shell completion functionsGuido Günther2024-01-10
| | | | | We for zsh we can at least catch syntax errors and use shellcheck for bash.
* salsa-ci: Disable SALSA_CI_DISABLE_VERSION_BUMPOtto Kekäläinen2024-01-05
| | | | | | | | | | | | Salsa-CI jobs 'build' and 'build i386' were failing on the error: /usr/lib/python3/dist-packages/setuptools/dist.py:509: SetuptoolsDeprecationWarning: Invalid version: '0.9.33+salsaci+20240105+6'. !! ******************************************************************************** The version specified is not a valid version according to PEP 440. Disabling the version automatic version bump in Salsa-CI satisfies Python setuptools and build passes.
* Document changes and release 0.9.33Guido Günther2023-12-15
|
* d/control: Drop Debian revision from dependenyGuido Günther2023-12-15
| | | | | While we want to specify a tight dependency on the upstream version the Debian revision is not needed.
* tests: Make flake8 happyGuido Günther2023-12-15
| | | | Closes: #1058551
* d/control: Specify required git version as dependencyTaihsiang Ho (tai271828)2023-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly specify the git version to facilitate easier backporting. Developers can align with this git version to reduce false alarms due to version inconsistencies. The latest git-buildpackage requires a newer git version to avoid test failures. For example, building the source in bookworm with git 1:2.39.2-1.1 results in: $ ./packaging/run-in-docker -t bookworm FAIL: Doctest: tests.doctests.test_GitRepository.test_clone ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.11/doctest.py", line 2222, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for test_clone File "/workdir/project/tests/doctests/test_GitRepository.py", line 626, in test_clone ---------------------------------------------------------------------- File "/workdir/project/tests/doctests/test_GitRepository.py", line 649, in test_clone Failed example: clone.get_remote_branches() Expected: ['origin', 'origin/foo', 'origin/master'] Got: ['origin/HEAD', 'origin/foo', 'origin/master'] -------------------- >> begin captured logging << -------------------- gbp: debug: ['git', 'rev-parse', '--show-cdup'] gbp: debug: ['git', 'rev-parse', '--is-bare-repository'] gbp: debug: ['git', 'rev-parse', '--git-dir'] gbp: debug: ['git', 'symbolic-ref', 'HEAD'] gbp: debug: ['git', 'show-ref', 'refs/heads/master'] gbp: debug: ['git', 'clone', '--quiet', '/tmp/tmp72nxjjwzgbp_tests.doctests.test_GitRepository_/repo'] gbp: debug: ['git', 'rev-parse', '--show-cdup'] gbp: debug: ['git', 'rev-parse', '--is-bare-repository'] gbp: debug: ['git', 'rev-parse', '--git-dir'] gbp: debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/heads/'] gbp: debug: ['git', 'symbolic-ref', 'HEAD'] gbp: debug: ['git', 'show-ref', 'refs/heads/master'] gbp: debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/remotes/'] gbp: debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/heads/'] gbp: debug: ['git', 'config', 'branch.master.remote'] gbp: debug: ['git', 'config', 'branch.master.merge'] gbp: debug: ['git', 'branch', 'foo', 'origin/foo'] gbp: debug: ['git', 'config', 'branch.foo.remote'] gbp: debug: ['git', 'config', 'branch.foo.merge'] gbp: debug: ['git', 'branch', 'bar'] gbp: debug: ['git', 'config', 'branch.bar.remote'] gbp: debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/heads/'] gbp: debug: ['git', 'remote'] gbp: debug: ['git', 'remote'] gbp: debug: ['git', 'remote', 'show', '-n', 'origin'] gbp: debug: ['git', 'show-ref', '--verify', 'refs/remotes/origin/master'] gbp: debug: ['git', 'remote'] gbp: debug: ['git', 'remote', 'show', '-n', 'origin'] --------------------- >> end captured logging << ---------------------
* config: Catch DuplicateOption errorsGuido Günther2023-09-23
| | | | Nicer than printing a stack trace
* docs: gbp-clone: Fix small typo and fix metadata file nameEvangelos Ribeiro Tzaras2023-09-04
|
* Document changes and release 0.9.32debian/0.9.32Guido Günther2023-08-04
|
* Document changes and release 0.9.31debian/0.9.31Guido Günther2023-05-31
|
* build: Disable API docsGuido Günther2023-05-31
| | | | | pydoctor gets tripped up easily. Let's rather look into switching to sphinx or s.th. similar.
* tests: Adjust to changed git outputGuido Günther2023-05-31
|
* patch_series: Ignore whitespace linesGuido Günther2023-05-31
| | | | | | | E.g. python-coverage has a form feed in the series file. Closes: #1030534 Thanks: Ian Jackson for the detailed report
* pq: Roll back on all errorsGuido Günther2023-05-31
| | | | | | Drop the pq branch on all exceptions not only on the ones gbp throws itself. This makes sure the result is consistent in such situations (no patches applied).
* dch: Catch d/control parse errors tooGuido Günther2023-05-26
| | | | | | Print a clear error message instead of hiding it in the backtrace. Thanks: Mechtilde Stehmann for the report
* Revert "tests: Adjust to changed git output"Guido Günther2023-05-26
| | | | | | | | This reverts commit a3fa6715a9900b34e38797832996be9f56e99be7. Git went back to the old (correct) format. Gbp-Dch: Ignore
* docs: gbp-pq manpage: refer to the moved locationJunichi Uekawa2023-05-10
| | | | | | | | | gbp-pq manpage refers to a page that says the content has moved. I think it can refer to the local html copy[1], or the internet copy. [1] /usr/share/doc/git-buildpackage/manual-html/gbp.patches.html Closes: #1035838
* 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