| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Debian uses the posix_local scheme by default, since Python 3.10,
causing the rpm to be built with the incorrect layout.
|
| |
|
| |
|
|
|
|
|
| |
This makes sure we don't export very generic vars while still being able
to make decisions based on what was passed to gbp.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
No reason to restrict this to build-package
|
|
|
|
| |
Closes: #1012717
|
| |
|
|
|
|
| |
See #1005873, #1010061
|
| |
|
|
|
|
| |
Closes: #879495
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Closes: #934200
|
|
|
|
| |
It's not even in oldoldoldstable anymore
|
| |
|
| |
|
|
|
|
| |
Just enough to make mypy happy
|
|
|
|
| |
Ignore rpm and libnotify for the moment
|
|
|
|
| |
Just enough to make mypy happy.
|
|
|
|
|
|
|
| |
Add an option that allow to skip exansion of aliases like salsa:
by gbp so that git can do that.
Closes: #983085
|
|
|
|
| |
Thanks: Tino Mettler
|
| |
|
|
|
|
|
|
| |
This can resolve ambiguity when generating the rev list.
Closes: #966627
|
|
|
|
| |
No attempt is being made to ensure this is a local branch.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
$(MAKE) GBP_NETWORK_TESTS=1
was setting a Make variable in the sub-Make, but not exporting it for
test/*.py subprocesses.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 << ---------------------
|
| |
|
|
|
|
|
|
|
| |
When importing not form the upstream branch the changelog is fetched
via `git show`. Decode the bytes in that case.
Closes: #1004354
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
There seems to be no reason to change their names and permissions
between the source tree and the eventual installation path.
|
|
|
|
| |
This slightly improves readability.
|
|
|
|
| |
Closes: #1011344
|
|
|
|
|
|
|
|
| |
Otherwise get the signature back as well.
Thanks: наб for the patch
Closes: #1010370
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Closes: #1010750
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Closes: #1010061
|
| |
|
|
|
|
|
|
|
| |
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.
|