summaryrefslogtreecommitdiffhomepage
path: root/tests/05_test_detection.py
Commit message (Collapse)AuthorAge
* 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