aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* GitRepository: shorten reflog messageGuido Günther2017-02-07
| | | | | Closes: #854333 Thanks: Chris Lamb for the report
* dch: Allow to run from subdirectoryGuido Günther2017-01-23
| | | | Resolves #1
* tests: make sure we fail properly with toplevel == TrueGuido Günther2017-01-23
| | | | Git-Dch: Ignore
* GitRepository: allow to init git repository from a subdirGuido Günther2017-01-22
|
* GitRepository: properly determine git-dirGuido Günther2017-01-20
| | | | | | | instead of assuming '.git' Heavily based on a patch by Markus Lehtonnen Closes: #674015
* component test: Use more fixturesGuido Günther2017-01-20
|
* PristineTar: add verifyGuido Günther2017-01-20
|
* test_buildpackage: make sure we discard temporary treesGuido Günther2017-01-20
| | | | so we properly test their recreation when using pristine-tar
* GitRepository: make garbage_collect more usefulGuido Günther2017-01-20
|
* pull: Allow to specify remote on the command lineGuido Günther2017-01-19
| | | | Closes: #851844
* component tests: simpler test fixturesGuido Günther2017-01-19
| | | | We often need a prepared repo so add decorators for that
* buildpackage: Use commit instead of tree to create archiveGuido Günther2017-01-17
| | | | | | | | This makes sure we use the timestamps of the commit when creating the tarball. Only applies when not using pristine-tar Thanks: Ximin Luo for investigating Closes: #851645
* buildpackage: Don't set a compression level if unset and make this the defaultGuido Günther2017-01-17
| | | | | | | | This allows compressors to use the their default compression level. Only applies when not using pristine-tar. Thanks: Antoine Beaupré for investigating Closes: #820846
* import-orig: Move orig.tar.gz with filter-pristine-tarGuido Günther2017-01-11
| | | | | | | | | | | | If we filter a tarball and use filter-pristine-tar we want pristine-tar to see the correct file name. If a file already exists at that location move it. If we wouldn't move the existing tarball but rather e.g. create the symlink in a temp directory we risk gbp buildpackage picking up the unfiltered tarball later. Closes: #558777
* gbplogtester: allow to match anywhere in the logGuido Günther2017-01-11
|
* Quote arguments passed to builderGuido Günther2017-01-11
| | | | | Closes: #850869 Thanks: Simon McVittie
* import_orig: Delay unpack of component tarballsGuido Günther2017-01-11
| | | | | | | | Instead of unpacking them right away first repack the filtered tarball so the component tarballs don't end up in the main tarball when using filters. Closes: #840602
* tests: add helper to check component tarballsGuido Günther2017-01-11
|
* tests: output correct tree when hitting an errorGuido Günther2017-01-11
|
* import_dsc: Store debian/changelog in commit messageGuido Günther2017-01-10
| | | | | | when importing packages. Closes: #577810
* gbp.deb.changelog: Allow to parse out changes from a specific versionGuido Günther2017-01-10
| | | | | We don't iterate over all individual sections but rather let dpkg-parsechangelog do the hard work.
* import_dsc: test bare repository importGuido Günther2017-01-10
|
* Use a less generic nameGuido Günther2017-01-10
| | | | so we don't conflict with our tests
* Always set a mainttrailer optionGuido Günther2017-01-10
| | | | | | | | | | to honor --[no]-git-author This basically reverts c3258c19c6cfa291c8bebac1dae230f6e3ccca36 but also adds a test case to not break it again that easily. Closes: #796913 Thanks: David Kalnischkies for investigating
* buildpackage: use os.makedirs to create export dirsGuido Günther2017-01-09
| | | | Thanks: Andrea Zagli for the suggestion
* GitRepository: properly use pipe on empty stringsGuido Günther2017-01-06
| | | | | | | | So far we've been avoiding a pipe for input on empty strings. This would make commands as 'git mktree' hang forever waiting for standard input. So use a proper pipe on '' and skip it only for None. Closes: #850319
* Update submoduleGuido Günther2017-01-05
|
* Use flake8 clean version of rpm test dataGuido Günther2017-01-04
|
* tests/component/rpm: flake8 cleanGuido Günther2017-01-03
|
* GitVfs: make objects usable as context managersGuido Günther2017-01-02
|
* Deprecate --download in import_srpm tooGuido Günther2017-01-01
|
* test_import_srpm.py: flake8 cleanGuido Günther2017-01-01
|
* GitRepository: allow for dry-run pushGuido Günther2016-12-30
|
* GitRepository.commit_dir: add a proper reflog entryGuido Günther2016-12-28
| | | | otherwise 'gbp import-dsc' adds reflog entries without a description.
* Add helper to run tests in docker containerGuido Günther2016-12-27
| | | | and use this on travisci. Some ideas taken form travis.debian.net.
* import-dsc: Improve error message if there is no dsc fileGuido Günther2016-12-26
| | | | instead of spewing the exception on the console.
* import-dsc: determine download automaticallyGuido Günther2016-12-26
| | | | No need to parse --download of URL is given or it's not a dsc file
* import-orig: determine download automaticallyGuido Günther2016-12-26
|
* import-orig: Handle download errors properlyGuido Günther2016-12-26
| | | | | This introduces tests that reach out to the network. These are disabled by default.
* tests: Drop spurious log outputGuido Günther2016-12-26
|
* test_supercommand: test --list-cmdsGuido Günther2016-12-26
|
* pq: Don't fail --commit on empty commitsGuido Günther2016-12-23
| | | | | | | | So far we would fail empty commits with the confusing error $ gbp pq export --commit gbp:info: Generating patches from git (debian/sid..patch-queue/debian/sid) gbp:error: Error running git commit:
* GitRepository: allow to check cleaniness of arbitrary pathsGuido Günther2016-12-23
|
* gbp clone: configure user.email, user.name from DEBEMAIL/DEBFULLNAMEMichael Stapelberg2016-12-19
| | | | | | Signed-off-by: Guido Günther <agx@sigxcpu.org> Close: #845536
* create_remote_repo: allow to list config sectionsGuido Günther2016-12-09
|
* gbp.config tests: don't throw OSError if gbp.conf does not existGuido Günther2016-12-09
| | | | | | let the assertion hit instead Gbp-Dch: Ignore
* gbp.config tests: properly cleanup after testsGuido Günther2016-12-09
| | | | Gbp-Dch: Ignore
* gbp config: test rpm commands tooGuido Günther2016-12-08
|
* config: use better variable namesGuido Günther2016-12-08
| | | | Gbp-Dch: Ignore
* import_srpm: Drop epoch tooGuido Günther2016-12-07
| | | | | | Upstream tags are without epoch so we need to filter that out too. Thanks: Tzafrir Cohen