aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* 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>
* tests: Fix "test_push_failure" with newer gitGuido Günther2022-02-11
| | | | | | The test created a broken tag on the remote side to avoid that being pushed in the test however git 2.34 and newer fail every push to that repo so rather create a non-ff branch instead to make the push fail.
* HACKING: Document how to keep test repos aroundGuido Günther2022-02-11
|
* HACKING: mention how to rerun a single testGuido Günther2022-02-11
|
* uscan: Remove pre-devscripts 2.10.70 compat codeUnit 1932021-12-19
| | | | | | We can rely on the <target> element being present in dehs output. The output it looks for from uscan no longer matches anyway.
* config: Add missing commaAndrej Shadura2021-12-18
| | | | Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
* export-orig: Consistently refer to the pristine-tar branchAndrej Shadura2021-12-17
| | | | | | | | Since we’re checking pristine_tar_branch, not pristine_tar.branch, use the same expression in the log even though it’s not supposed to be different. Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
* import-orig: Don’t hardcode the pristine-tar branchAndrej Shadura2021-12-17
| | | | Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
* rpm: Avoid devscript dependencyQuanah Gibson-Mount2021-11-11
| | | | The package is currently not available everywhere.
* Document changes and release 0.9.25debian/0.9.25Guido Günther2021-11-05
|
* tests: Make sure DEBEMAIL is setGuido Günther2021-11-05
| | | | | | Otherwise dch based tests fail Closes: #998573
* buildpackage: Map 'debian/latest' and 'debian/main' to sid tooGuido Günther2021-10-28
| | | | | This avoids having to specify a suite with more modern common branch names.
* Document changes and release 0.9.24debian/0.9.24Guido Günther2021-10-26
|
* Use collections.abc.Iterable instead of collections.IterableAnthony Sottile2021-10-21
| | | | since Python 3.10 dropped the alias.
* d/control: Depend on dh-sequence-python3Guido Günther2021-10-13
| | | | | This makes the requirement more obvious since dh-python does multiple things
* d/control: Add RulesRequiresRootGuido Günther2021-10-13
|
* d/control: Drop versioned python3 depGuido Günther2021-10-13
| | | | Even oldoldstable is recent enough
* d/rules: Drop trailing whitespaceGuido Günther2021-10-13
| | | | Gbp-Dch: Ignore
* d/changelog: Drop trailing whitespaceGuido Günther2021-10-13
| | | | Gbp-Dch: Ignore
* Add translation infrastructureGuido Günther2021-10-01
| | | | | Make it simple to create/update the pot file and provide an initial po file for de.
* Fix import-dsc on empty repo if defaultBranch!=masterEmanuele Aina2021-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When importing a dsc on a empty repository when `ìnit.defaultBranch` is set to something like `main` in `~/.gitconfig` we failed with: gbp:debug: ['git', 'update-ref', '-m', 'gbp: Import Upstream version 0.5.10.2', 'refs/heads/master', '95172aee8d1a4e6c69494e4f158f904111710168'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/main'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/main'] gbp:debug: ['git', 'branch', '-m', 'None', 'debian/buster'] gbp:error: Git command failed: Error running git branch: error: refname refs/heads/None not found fatal: Branch rename failed Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/gbp-0.9.22-py3.9.egg/gbp/scripts/import_dsc.py", line 519, in main commit = import_upstream(repo, sources[0], dsc, options) File "/usr/local/lib/python3.9/dist-packages/gbp-0.9.22-py3.9.egg/gbp/scripts/import_dsc.py", line 269, in import_upstream repo.rename_branch(repo.branch, options.debian_branch) File "/usr/local/lib/python3.9/dist-packages/gbp-0.9.22-py3.9.egg/gbp/git/repository.py", line 333, in rename_branch self._git_command("branch", args.args) File "/usr/local/lib/python3.9/dist-packages/gbp-0.9.22-py3.9.egg/gbp/git/repository.py", line 245, in _git_command raise GitRepositoryError("Error running git %s: %s" % (command, detail.decode().strip())) gbp.git.repository.GitRepositoryError: Error running git branch: error: refname refs/heads/None not found fatal: Branch rename failed That's because we created the commit on `refs/heads/master` and then tried to rename it from `refs/heads/main`. To avoid that, if the repository is empty look at the name of the current branch as reported by the symbolic ref pointed by `HEAD`. Closes: #906600 Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
* git: Actually include the missing key name in the KeyError messageEmanuele Aina2021-09-30
| | | | Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
* dch: Require EMAIL or DEBEMAIL to be setGuido Günther2021-09-30
| | | | | | | | The alternative would be to set a dummy address in case of --git-author but that again can use $EMAIL so just fail if both are unset. Closes: #987611
* Document changes and release 0.9.23debian/0.9.23Guido Günther2021-06-12
|
* spec: Fix rpm build on centos7 and centos8Quanah Gibson-Mount2021-05-30
|
* spec: Ignore byte-compiled python filesQuanah Gibson-Mount2021-05-30
|
* docs: Check for docbook2man tooQuanah Gibson-Mount2021-05-30
|