aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAge
* 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
* specfile: handle %patch -FTzafrir Cohen2016-12-07
| | | | | | | | | The %patch macro of rpm supports the flag -F<num>, which seems to be similar to that of patch(1): allow patches with a specific fuzz. Parse the option but ignore it since we don't want patches with fuzz. Closes: #846479
* tests/*rpm*: flake8 cleanGuido Günther2016-12-07
|
* pq_rpm: use relative path names for patchesGuido Günther2016-12-07
| | | | | | Based on a patch from Tzafrir Cohen Closes: #834582
* import_rpms: use upstream version for upstream tagGuido Günther2016-12-05
| | | | Closes: #846936
* import_srpm: allow for more than one argumentGuido Günther2016-12-04
| | | | | | otherwise giving a target dir always raises an error (introduced by 03276df5b9391dc877521cd6c3553ca071157991)
* import_dsc: fail properly again without a package to importGuido Günther2016-12-04
| | | | (introduced by 03276df5b9391dc877521cd6c3553ca071157991)
* Fix new flake8 errorsGuido Günther2016-11-15
| | | | E305 expected 2 blank lines after class or function definition
* commands: allow to fall back to error reason if stderr is emptyGuido Günther2016-11-04
| | | | | | | Use this in PristineTar and SrcRpmFile to give better error messages if the command doesn't even get to print to stderr (i.e. missing on disk). Closes: #842592
* tests: Move doctests to subdirGuido Günther2016-11-04
|
* buildpackage: handle <vendor>/masterGuido Günther2016-10-19
|
* GitRepository.list_submodules: use _git_inoutGuido Günther2016-10-09
| | | | | | | | | and check exit status This silences another spurious output to stderr in test_buildpackage_rpm and makes sure we fail on the first operation on the nonexistent tree (repo.list_submodules) instead of the second (repo.archive) since the former ignored the exit status so far.
* test_buildpackage_rpm: check that we fail subtarball generation correctlyGuido Günther2016-10-09
|
* tests: capture stderr in gbp import_srpm component testsGuido Günther2016-10-08
| | | | Reduces spurious output
* tests: capture stderr in gbp rpm-ch component testsGuido Günther2016-10-08
| | | | Reduces spurious output
* dch: avoid adding section in snapshot mode if distribution is UNRELEASEDLinn Crosetto2016-10-02
| | | | | | | | | | | | | When using git-dch in snapshot mode, a section is added without checking whether the distribution is set to UNRELEASED. If the distribution is UNRELEASED, the version will be incremented but a new section will not be added, resulting in a skipped version in the changelog. Change this behavior to add a new section in snapshot mode only if the distribution is not set to UNRELEASED. Signed-off-by: Linn Crosetto <linn@hpe.com> Closes: #838714
* tests/buildpackage: test --git-export-dirGuido Günther2016-10-02
|
* tests/buildpackage: use absolut path for output filesGuido Günther2016-10-02
| | | | so we can find them when using --git-export-dir
* tests/buildpackage: prettier test namesGuido Günther2016-10-02
| | | | Git-Dch: Ignore
* test_buildpackage_rpm.py: flake8 cleanGuido Günther2016-09-29
|
* test_pq_rpm.py: don't spew on stderrGuido Günther2016-09-28
|
* test_pq_rpm: flake8 cleanGuido Günther2016-09-28
|
* pq: make TestFromTAG tests silentGuido Günther2016-09-28
|
* config: allow to set short optionsGuido Günther2016-09-15
|
* tests: capture stderr in buildpackage-rpm unit testsMarkus Lehtonen2016-09-12
| | | | | | Reduces spurious output from rpmbuild. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Rename README to README.mdGuido Günther2016-09-12
| | | | to get Markdown formatting
* test_rpm_ch: use GIT_AUTHOR_* env varsGuido Günther2016-09-12
| | | | | | Use env vars in the test instead of config file otherwise the tests fail if a user uses GIT_AUTHOR_* vars on the command line since these overwrite the config file values.
* 26_test_dch_extract_thanks: flake8 cleanGuido Günther2016-09-12
|
* test_clone: flake8 cleanGuido Günther2016-09-12
|
* 24_test_gbp_import_orig: flake8 cleanGuido Günther2016-09-12
|
* 23_test_dch_extract_bts_cmds: flake8 cleanGuido Günther2016-09-12
|
* 19_test_gbp_scripts_config: flake8 cleanGuido Günther2016-09-12
|
* 17_test_dch_guess_documented_commit: flake8 cleanGuido Günther2016-09-12
|