aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/04_test_submodules.py
Commit message (Collapse)AuthorAge
* deb.git: helper for upstream tarball creationGuido Günther2017-08-03
| | | | | once we have sorted out all the parameters let DebianGitRepository handle the details.
* Simplify compression handlingGuido Günther2017-08-03
| | | | | so we don't need to pass that many parameters around and have compression parameters in on place.
* Move compressed tarball creation to PkgGitRepositoryGuido Günther2017-08-03
|
* Make orig_file a method of DebianSourceGuido Günther2017-08-03
| | | | to have fewer objectless helpers and functions with fewer parameters.
* builpackage: Move tarball creation functions to export_origGuido Günther2017-08-03
|
* 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
* 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
* pep8/pyflakes cleanupsGuido Günther2016-09-12
|
* common/buildpackage: support for different archive formatsMarkus Lehtonen2015-12-02
| | | | | | | | Adds support for defining the archive format of the output of git_archive_single(), e.g. 'zip'. Defaults to 'tar', as before. Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository/has_submodules: add treeish argumentMarkus Lehtonen2015-02-25
| | | | | | | For defining a Git treeish which to look into, instead of the current working copy. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage/dump_tree: add 'recursive' optionMarkus Lehtonen2014-12-28
| | | | | | | For selecting whether to dump all the files recursively or just the top level directory of the tree. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: remove unused import in submodule testsMarkus Lehtonen2013-09-10
| | | | | Change-Id: Ida67f9640624a92ffc1afd90dc33efe01b38db5c Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: upper case global variables in submodule testsMarkus Lehtonen2013-09-10
| | | | | | Prevent some confusing name clashes. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: add some docstrings to git submodule testsMarkus Lehtonen2013-09-10
| | | | | Change-Id: I0ba9e6b59e2a819b5cde1be6fbb53b8ecbb67025 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: use eq_ and ok_ from nose tools in submodule testsMarkus Lehtonen2013-09-10
| | | | | | | For consistency and better assert error messages. Change-Id: Ie6502daac6cee0176db5f099b91803292c17ceea Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: add test for archiving without git submodulesMarkus Lehtonen2013-09-10
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* 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.
* GitRepository/get_submodules: use correct pathMarkus Lehtonen2012-11-23
| | | | | | | By default, run git in the repo path, not current cwd. Also, now returns submodule paths without leading './'. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* PEP-8 and pyflakes cleanupsGuido Günther2012-10-25
|
* Rename and comment testsGuido Günther2011-12-29
Git-Dch: Ignore