| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
|
| |
Push of tag and or branch can be skipped by setting
--{upstream,debian}-{branch,tag}='' .
Closes: #899234
|
|
|
|
|
|
| |
Fix the docstring for _sanitize_version() and _unsanitize_version()
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
|
|
| |
Fix the docstring for create_pristine_tar_commits()
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
|
| |
This is more in line with what `git config` does and eases usage in
scripts.
|
|
|
|
| |
Closes: #896654
|
|
|
|
|
|
| |
This changes the tarballs and therefore the checksums.
This reverts commit fd81e454339de50931594bd150857eb88a516a98.
|
|
|
|
|
|
|
|
|
|
| |
Due to behaviour changes in Python, git-buildpackage would previously
write the commit message in the base64 Content-Transfer-Encoding, which
is not very readable. Now it uses 8bit.
Based on a patch from Carlos Maddela.
Closes: #883541
|
| |
|
|
|
|
| |
so it can be reused in gbp import-ref
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and not using pristine-tar.
Gives a 50% speedup on my machine:
$ time gbp export-orig --no-pristine-tar --force-create
gbp:info: Creating thunderbird_52.6.0.orig.tar.xz from 'upstream/52.6.0'
gbp:info: Creating additional tarball 'thunderbird_52.6.0.orig-thunderbird-l10n.tar.xz' from 'dea43c2b49f11d68f05edac2bd9d6c5d1e1f4bcb'
gbp:info: Creating additional tarball 'thunderbird_52.6.0.orig-lightning-l10n.tar.xz' from '9adcd261726ccb160c4fd6947f7cbfe9df2e581b'
real 8m27,153s
user 7m23,717s
sys 0m3,015s
0|agx@bogon:/var/scratch/debian/icedove/icedove (debian/wheezy)$ time gbp-from-sourcetree export-orig --no-pristine-tar --force-create
gbp:info: Creating thunderbird_52.6.0.orig.tar.xz from 'upstream/52.6.0'
gbp:info: Creating additional tarball 'thunderbird_52.6.0.orig-thunderbird-l10n.tar.xz' from 'dea43c2b49f11d68f05edac2bd9d6c5d1e1f4bcb'
gbp:info: Creating additional tarball 'thunderbird_52.6.0.orig-lightning-l10n.tar.xz' from '9adcd261726ccb160c4fd6947f7cbfe9df2e581b'
real 4m3,080s
user 11m18,733s
sys 0m3,499s
Thanks: Carsten Schönert for the suggestion
Closes: #888572
|
|
|
|
| |
Gbp-Dch: Ignore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now gbp buildpackage-rpm is able to update the 'VCS:' tag in the exported
spec file. A new config option 'spec-vcs-tag' controls the format:
- if empty, no 'VCS' tag is inserted and possible old 'VCS' tag is
removed
- otherwise, a 'VCS' tag is inserted or the old 'VCS' tag is updated
The spec-vcs-tag is a format string which supports the following
keywords:
- '%(commit)' expands to the full commit sha1
- '%(commitish)' expands to the sha1 of the exported object (commit or
tag)
- '%(tagname)s' expands to the long tag name (from git-describe)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
| |
This reverts commit 1d44f4863167982419dfbba4f30c712e05afa834.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
|
| |
This updates all remote-tracking branches (for the remote that is
fetched from) whose local branch name is identical to the remote branch
name.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
| |
Similar to what the option does in git-import-orig.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
| |
Corresponding the --skip-debian-tag options of import-dsc.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
| |
Include the full package version in the commit message for native
packages.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
| |
Trying to make the code a bit easier to comprehend.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
| |
This makes sure we parse config sections correctly even when running out
of the source tree like:
PYTHONPATH=. python3 "gbp/scripts/dch.py"
|
|
|
|
|
|
|
| |
Add new --postedit command line option for defining a custom hook that
will be run after changes to the changelog file has been finalized.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
Closes: #887779
|
| |
|
|
|
|
|
|
|
| |
Makes it possible to automatically drop the pq-branch after a successful
export. Counterpart for the --drop option of (deb) gbp-pq.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
Thanks: Nish Aravamudan for pointing this out
|
|
|
|
|
|
|
|
|
|
|
| |
Make gbp compatible with older versions of Python 3. As 'bytes' objects
do not support the '%' operator until Python v3.5 we introduce a
format_b() wrapper that handles this.
NOTE: This change should be reverted when Python v3.5 (or newer) has
been widely adopted.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
Git-Dch: Ignore
|
|
|
|
| |
Thanks: Nish Aravamudan
|
|
|
|
| |
Gbp-Dch: Ignore
|
|
|
|
| |
Closes: #885929
|
|
|
|
|
| |
No need to repeat them in Dep3Patch since the parent class Patch
already has them.
|
| |
|
|
|
|
| |
Insted of duplicating the logic use the parent classes _read_info.
|
|
|
|
|
| |
to avoid python exceptions on the console. The other commands handle it
already.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the patch headers in DEP3 format are partially
supported, as git's mailinfo only reads the From and Subject fields from
the first paragraph. But the default in dep3 patches is Description and
Author, that are ignored by git. Even worse, when this fields are in the
first paragraph (again the default) git mailinfo drops all the contained
information.
This patch parses the dep3 headers if git's mailinfo couldn't obtain any
useful information, any header other than Subject|Description and
Author|From is appended to the patch message.
The description field is splitted in first line for the short
description and the rest is prepended to the patch message.
Closes: #785274
|
|
|
|
|
|
|
|
|
| |
Try to do "the right thing" when %autosetup macro is used in the spec
file. That is, do not examine/manage %patch macros at all, but, assume
that patches are handled by %autosetup which was introduced in RPM
v4.11.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
| |
|
|
|
|
| |
Printing the debian version might be confusing
|
|
|
|
| |
This makes it simpler to identify build steps
|
|
|
|
|
| |
Closes: #669171
Thanks: Daniel Dehennin for the groundwork on this
|
|
|
|
|
|
|
| |
This makes it usable when creating changelogs but it can also be useful
when we don't want to compare to changelog version.
Gbp-Dch: Ignore
|
|
|
|
|
|
|
| |
This makes sure we have the logic to access these files in debian/
in one place.
Gbp-Dch: Ignore
|
|
|
|
| |
Gbp-Dch: Ignore
|
|
|
|
| |
It's too generic
|
| |
|
| |
|
|
|
|
| |
Gbp-Dch: Ignore
|
|
|
|
|
|
|
|
| |
This eases debugging since we can do
GBP_DEBUG=raise gbp dch …
and get the exception trace without modifying the source
|