summaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Document changes and release 0.9.7debian/0.9.7Guido Günther2018-01-29
|
* buildpackage-rpm: support setting the 'VCS:' tag in specMarkus Lehtonen2018-01-29
| | | | | | | | | | | | | | | | | 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>
* buildpackage_rpm: re-introduce vcs_info()Markus Lehtonen2018-01-29
| | | | | | This reverts commit 1d44f4863167982419dfbba4f30c712e05afa834. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* docs: fix section names for defaultsGuido Günther2018-01-25
| | | | | Thanks: Christoph Berg Closes: #888415
* tests: build docs tooGuido Günther2018-01-23
| | | | When running in travis build the docs too to catch errors there as well.
* gbp-pull: implement --all cmdline optionMarkus Lehtonen2018-01-23
| | | | | | | | 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>
* tests: fix typo in docstringMarkus Lehtonen2018-01-23
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* docs: document pq export --commitGuido Günther2018-01-23
|
* Unbreak docs buildGuido Günther2018-01-23
| | | | | | Broken by 972db70347d5fa37f9af74babf8021a41cb7d219 Git-Dch: Ignore
* import-srpm: support --upstream-vcs-tag cmdline optionMarkus Lehtonen2018-01-22
| | | | | | Similar to what the option does in git-import-orig. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-srpm: implement --skip-packaging-tag optionMarkus Lehtonen2018-01-22
| | | | | | Corresponding the --skip-debian-tag options of import-dsc. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: add more tagging tests for import-srpmMarkus Lehtonen2018-01-22
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-srpm: change commit message of native sourcesMarkus Lehtonen2018-01-22
| | | | | | | Include the full package version in the commit message for native packages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-srpm: minor code refactorMarkus Lehtonen2018-01-22
| | | | | | Trying to make the code a bit easier to comprehend. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* config: strip '.py' suffix from commandsGuido Günther2018-01-20
| | | | | | | This makes sure we parse config sections correctly even when running out of the source tree like: PYTHONPATH=. python3 "gbp/scripts/dch.py"
* rpm packaging: update build deps of docsMarkus Lehtonen2018-01-20
| | | | | | Needed after docs were changed to xml. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* debian/gbp.conf: dch hook to automatically update version in spec fileMarkus Lehtonen2018-01-20
| | | | | | | 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>
* dch: implement postedit hooksMarkus Lehtonen2018-01-20
| | | | | | | 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>
* builpackage: look at builder as well when determining the changes file nameGuido Günther2018-01-20
| | | | Closes: #887779
* push: allow to push from detached headsGuido Günther2018-01-19
|
* docs: dynamically select the DocBook-to-man tool to useMarkus Lehtonen2018-01-18
| | | | | | | | 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>
* tests.testutils: fix stderr captureMarkus Lehtonen2018-01-18
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* docs: Although imported trees are important we mean the formerGuido Günther2018-01-17
| | | | | Closes: #887499 Thanks: Ferenc Wágner
* pq-rpm: implement --drop optionMarkus Lehtonen2018-01-17
| | | | | | | 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>
* Fix typo in env var namesGuido Günther2018-01-12
| | | | Thanks: Nish Aravamudan for pointing this out
* Enable Python3.4 in travisGuido Günther2018-01-12
|
* gbp.git: Python compatibility fixesMarkus Lehtonen2018-01-12
| | | | | | | | | | | 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>
* Rework docker script to allow to build packages as wellrubicks2018-01-12
| | | | | Move `tests/helpers/run-in-docker` to `packaging/run-in-docker` and add package option to build gbp packages in a docker container.
* gbp.conf: clarify environment variablesGuido Günther2018-01-12
| | | | Thanks: Nish Aravamudan
* deb.source: Fix typoGuido Günther2018-01-12
| | | | Git-Dch: Ignore
* deb.source: Fix class names in doc stringGuido Günther2018-01-12
| | | | Thanks: Nish Aravamudan
* Document changes and release 0.9.6debian/0.9.6Guido Günther2018-01-06
|
* export-orig: fix --upstream-branch argument name in manpageGuido Günther2018-01-06
|
* Make flake8 happyGuido Günther2018-01-01
| | | | Gbp-Dch: Ignore
* patch_series: Don't fail on decoding errors when looking for DEP3 headersGuido Günther2017-12-31
| | | | Closes: #885929
* patch_series: Remove duplicate functionsGuido Günther2017-12-31
| | | | | No need to repeat them in Dep3Patch since the parent class Patch already has them.
* patch_series: don't read dep3 info multiple timesGuido Günther2017-12-31
|
* patch_series: Properly chain up to parent classGuido Günther2017-12-31
| | | | Insted of duplicating the logic use the parent classes _read_info.
* Document changes and release 0.9.5debian/0.9.5Guido Günther2017-12-29
|
* Handle KeyboardInterrupt in pristine_tar, push, rpm_ch and tagGuido Günther2017-12-25
| | | | | to avoid python exceptions on the console. The other commands handle it already.
* docs: pq: warn that DEP3 support is incompleteChris West (Faux)2017-12-24
|
* pq: Parse DEP3 headersMaximiliano Curia2017-12-24
| | | | | | | | | | | | | | | | | | 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
* docs: Add ids to all sectionsGuido Günther2017-12-16
| | | | so we get nicer link names
* rpm.SpecFile: support %autosetupMarkus Lehtonen2017-12-16
| | | | | | | | | 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>
* Typo fixesGuido Günther2017-12-16
| | | | Thanks: Ludovic Rousseau
* create_remote_repo: fix typoMarkus Lehtonen2017-12-16
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* rpm packaging: update dependency on rpm-buildMarkus Lehtonen2017-12-16
| | | | | | | | | | 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>
* docs: drop duplicate "you can"Guido Günther2017-12-14
| | | | Thanks: Ludovic Rousseau
* Fix complaints of flake8 3.5Guido Günther2017-12-10
|
* pristine-tar: print upstream version number on importGuido Günther2017-12-10
| | | | Printing the debian version might be confusing