summaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Document changes and release 0.9.21debian/0.9.21Guido Günther2021-01-07
|
* tests: Fixup changelog test on UbuntuGuido Günther2020-12-21
| | | | The keys in os-release differ from lsb-release
* gitlab-ci: Use a more recent Ubuntu LTSGuido Günther2020-12-21
|
* doctests/test_Changelog: Don't expect /etc/lsb-releasenicoo2020-12-21
| | | | Closes: #976914
* tests/11_test_dch_main.py: Don't expect /etc/lsb-release on Debiannicoo2020-12-21
|
* import-ref: Fix helpGuido Günther2020-12-18
| | | | We want an upstream version, not path
* docs: Correct "option" typo in gbp-buildpackage manpageChris Lamb2020-10-15
| | | | Closes: #972081
* buildpackage: Fix tests and test arch overrideGuido Günther2020-10-12
|
* buildpackage: Honor --git-arch for GBP_CHANGES_FILEHeiko Schlittermann2020-10-12
| | | | Closes: #941345
* docs: Add example for exporting the source treeGuido Günther2020-09-09
| | | | See #969952
* import-orig: Refactor vcs_tag_parentRichard Laager2020-09-09
| | | | | This makes the "tag" variable just the tag. This improves the human-readability of the error message if the tag cannot be found.
* import-orig: Refactor vcs_tag_parentRichard Laager2020-09-09
| | | | This eliminates an indentation level.
* import-orig: Fix a comment typoRichard Laager2020-09-09
|
* salsa-ci: Skip reprotestGuido Günther2020-08-26
| | | | | It triggers a tess failure since a test can write to a destinatino it should not be able to write too.
* test_import_orig: Drop unused variableGuido Günther2020-08-25
| | | | This makes flake8 happy
* test_import_orig: Fix typoGuido Günther2020-08-25
|
* import-orig: Allow the post-unpack hook to filter tarball filesMarco Trevisan (Treviño)2020-08-25
| | | | | | | | | | | | | | | With post-unpack scripts is currently possible to filter out files that are not needed from the upstream branch, however it is not possible to use it to filter files that will end up in the orig file, and in some scenarios this is not easily doable just using a filter list. So, run the post-unpack hook just after unpacking and before repacking the tar. Add tests to verify this both when using with regular --filter option and by itself. Closes: #812721
* import-orig: expose unpacked sources dir to the postunpack hookMarco Trevisan (Treviño)2020-08-25
| | | | | Use an $GBP_SOURCES_DIR to expose the post-unpack sources dir to the hook. Include a test that checks that all the expected env variables are set.
* autopkgtests: Depend on @builddep@Guido Günther2020-08-25
| | | | | | | Otherwise gbp is not able to build itself. Closes: #968982 Thanks: Lukas Märdian for the detailed report
* smoketest: Avoid writing to ..Guido Günther2020-08-25
| | | | Use a temporary directory to avoid 'allow-root'.
* autopkgtest: Pass RPM macros on command lineGuido Günther2020-08-25
| | | | This avoids the need to modify files in the home directory.
* spec: Don't fail on empty cache dirGuido Günther2020-08-25
|
* spec: Include the correct fileGuido Günther2020-08-25
| | | | export_ref.py does not exist.
* policy: Fix typosGuido Günther2020-08-12
| | | | | Thanks: Andrius Merkys Closes: #966130
* docs: Clarify that only tarball creation is affected.Guido Günther2020-08-12
| | | | Thanks: Pierre Equoy
* docs: Drop --git- from dch invocationGuido Günther2020-08-12
| | | | Thanks Pierre Equoy
* Document changes and release 0.9.20debian/0.9.20Guido Günther2020-07-01
|
* Make flake8 E741 happyGuido Günther2020-07-01
| | | | Closes: #964040
* import_orig: Drop all upstream signatures with --upstream-signatures=offGuido Günther2020-06-30
| | | | This makes sure we don't use spurious files as signatures
* git: Drop doctestGuido Günther2020-06-30
| | | | dateutil changed the exception.
* get_component_tarballs: Check for signature tooGuido Günther2020-06-30
| | | | Closes: #963968
* import-orig: Print all sources with `verbose`Guido Günther2020-06-30
|
* upstreamsource: Add __repr__Guido Günther2020-06-30
| | | | This eases debugging
* Revert "import-orig: Print name of signature file we failed to import"Guido Günther2020-06-29
| | | | | | It will always be none (see check above that). This reverts commit 3dc0bf3a8acfccdafa82b91bcc89ca2c82b46a1f.
* import-orig: Print name of signature file we failed to importGuido Günther2020-06-29
|
* import-orig: Print name of signature file we failed to importGuido Günther2020-06-29
|
* docs: import-ref: Fix wrong --upstream-tree defaultGuido Günther2020-06-16
| | | | Closes: #962916
* pristine-tar: Escape '+' in match regexpGuido Günther2020-04-17
| | | | | | | When looking for matching file name we need to exscape the valid '+' but need to do it late since it must not be escaped for git-grep. Closes: #956103
* deb: git: Escape '.' on pristine-tar matchesGuido Günther2020-04-17
| | | | | '.' is valid in source package names and version numbers so we want to match exactly that and not an arbitrary character.
* doctest: Ignore exception detailGuido Günther2020-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used the tests to check whether the right exception was returned but python 3.8 breaks this again: File "/var/scratch/src/git-buildpackage/git-buildpackage/tests/doctests/test_GitVfs.py", line 56, in test_read Failed example: gf = vfs.open('doesnotexist') # doctest:+ELLIPSIS Expected: Traceback (most recent call last): ... OSError: can't get HEAD:doesnotexist: fatal: Path 'doesnotexist' does not exist in 'HEAD' Got: Traceback (most recent call last): File "/var/scratch/src/git-buildpackage/git-buildpackage/gbp/git/vfs.py", line 74, in open return GitVfs._File(self._repo.show( File "/var/scratch/src/git-buildpackage/git-buildpackage/gbp/git/repository.py", line 1645, in show raise GitRepositoryError("can't get %s: %s" % (id, stderr.decode().rstrip())) gbp.git.repository.GitRepositoryError: can't get HEAD:doesnotexist: fatal: path 'doesnotexist' does not exist in 'HEAD' <BLANKLINE> During handling of the above exception, another exception occurred: <BLANKLINE> Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1329, in __run exec(compile(example.source, filename, "single", File "<doctest test_read[12]>", line 1, in <module> gf = vfs.open('doesnotexist') # doctest:+ELLIPSIS File "/var/scratch/src/git-buildpackage/git-buildpackage/gbp/git/vfs.py", line 78, in open raise OSError(e) OSError: can't get HEAD:doesnotexist: fatal: path 'doesnotexist' does not exist in 'HEAD' Doctest were a nice feature but keeping up with the subtle breackage is too cumbersome.
* Document changes and release 0.9.19debian/0.9.19Guido Günther2020-02-28
|
* Add salsa-ciGuido Günther2020-02-28
|
* Build-Depend on pydoctorGuido Günther2020-02-28
| | | | | | | since this uses python3 Closes: #943107 Thanks: Boyuan Yang for the hints
* d/tests/control: Drop python-rpmGuido Günther2020-02-28
| | | | It's not needed.
* Document changes and release 0.9.18debian/0.9.18Guido Günther2020-02-17
|
* config: Be less picky about comments after boolean valuesGuido Günther2020-02-02
| | | | | | This makes 'patch-numbers = False # comment' work. Thanks: Mechtilde Stehmann for the report
* d/tests/control: Add xsltproc to the autopkg test dependenciesMatthias Klose2020-01-30
| | | | Closes: #950216
* add option to export tarballs with upstream signatureChristian Göttsche2020-01-21
| | | | | | | Add option `--upstream-signatures=[on|auto|off]` to export-orig. Add option `--git-upstream-signatures=[on|auto|off]` to buildpackage. Closes: 872864
* dch: Always print where we pick upGuido Günther2020-01-17
|
* import-orig: Recommend python3-requestsGuido Günther2019-12-22
| | | | The python2 version won't do