aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/05_test_detection.py
Commit message (Collapse)AuthorAge
* export_orig: Don't fail without a repositoryGuido Günther2019-10-26
| | | | | This is a valid use case in overlay mode Thanks: Thomas Koch for the report
* export-orig: Check 'origin/pristine-tar' as well for compression typeGuido Günther2019-10-07
| | | | Closes: #941894
* Ignore merge commits when looking at the pristine-tar branchIain Lane2018-08-17
| | | | | | | | | | | | | | | | When there is a merge commit in this branch, we currently get the warning: gbp:warning: Unknown compression type of Merge branch 'pristine-tar' into 'pristine-tar', assuming gzip because we're grepping the commit logs to find out the compression type of the tarballs in there. For now, we can just use `git log ... --no-merges' to not see these commits. Signed-off-by: Guido Günther <agx@sigxcpu.org> Closes: #906331
* Use assertRaises as context managerGuido Günther2017-11-12
| | | | | | for better readability Gbp-Dch: Ignore
* buildpackage: Expand --git-comp-type auto again in --git-overlay modeGuido Günther2017-11-09
| | | | | Thanks: Maximiliano Curia for the detailed analysis Closes: #879781
* Make orig_file a method of DebianSourceGuido Günther2017-08-03
| | | | to have fewer objectless helpers and functions with fewer parameters.
* Use the source package instead of the chagenlog for tarball namesGuido Günther2017-02-13
| | | | | | to improve readability. Git-Dch: Ignore
* Pass source pkg around instead of changelogGuido Günther2017-02-13
| | | | | | | This gives us more control since we have the full source package information and increases readability. Git-Dch: Ignore
* pep8/pyflakes cleanupsGuido Günther2016-09-12
|
* buildpackage: Check for existence of subtarballs as wellGuido Günther2016-05-27
|
* buildpackage: use get_commit_info() instead of get_subject()Markus Lehtonen2013-06-11
| | | | | | | Utilize the get_commit_info() method of GitRepository instead of the deprecated get_subject(). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Remove unused importsGuido Günther2013-06-11
|
* tests: Use tempfile.mkdtemp to create temp dirs for testsThomas Koch2013-04-08
| | | | | | | This puts test dirs below /tmp which often is a tmpfs. All tests include the context module which consolidates tmpdir creation and cleanup, undoes a chdir in teardown and silences log messages.
* Refactor deb helpers: introduce PkgPolicy classMarkus Lehtonen2012-05-01
| | | | | | | Create a new 'pkg' basemodule, intended to be re-used by the upcoming rpm package helpers. Move some deb functionality to a new pkg.PkgPolicy class, to be used as a base for different package types. Introduces Deb-specific deb.DebianPkgPolicy.
* PristineTar: move to separate moduleGuido Günther2012-01-22
| | | | | and make it accessible from GitRepository to group checkout/checkin/lookup.
* deb: minor refactor of parameters of has_orig()Markus Lehtonen2012-01-15
|
* Rename and comment testsGuido Günther2011-12-29
| | | | Git-Dch: Ignore
* Get rid of the symlinkGuido Günther2011-11-01
| | | | by moving the commands to gbp/scripts/
* Add aliases for gz and bz2 compression typesGuido Günther2011-04-09
|
* Add tests for hardcoded compression typesGuido Günther2011-04-09
| | | | Git-Dch: Ignore
* Detect compression from orig tarballLoïc Minier2011-04-09
|
* Pass tarball_dir to guess_comp_type()Loïc Minier2011-04-09
| | | | Git-Dch: Ignore
* Update guess_comp_type to take a cp as paramLoïc Minier2011-04-09
| | | | Git-Dch: Ignore
* Add tests for orig autodetectionLoïc Minier2011-04-09