| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Thanks: Christoph Berg
Closes: #888415
|
|
|
|
| |
When running in travis build the docs too to catch errors there as well.
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
| |
|
|
|
|
|
|
| |
Broken by 972db70347d5fa37f9af74babf8021a41cb7d219
Git-Dch: Ignore
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
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"
|
|
|
|
|
|
| |
Needed after docs were changed to xml.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
| |
This should automatically keep the spec file under packaging/ always in
sync wrt. the package version.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
Different distributions use different name for the DocBook-to-man
converter tool, so, try to dynamically guess the correct name of the
tool.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
| |
Closes: #887499
Thanks: Ferenc Wágner
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Move `tests/helpers/run-in-docker` to `packaging/run-in-docker` and add
package option to build gbp packages in a docker container.
|
|
|
|
| |
Thanks: Nish Aravamudan
|
|
|
|
| |
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
|
|
|
|
| |
so we get nicer link names
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Thanks: Ludovic Rousseau
|
|
|
|
| |
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
Most RPM-based distribution now support weak dependencies. Make
rpm-build a weak dependency (on other systems as openSUSE, too) as it's
not strictly needed by buildpackage-rpm: in Fedora people probably use
'mock' and in openSUSE they use 'osc' for building packages, for
example.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
Thanks: Ludovic Rousseau
|
| |
|
|
|
|
| |
Printing the debian version might be confusing
|