aboutsummaryrefslogtreecommitdiff
path: root/manage.py
Commit message (Collapse)AuthorAge
* manage.py: sort keys when exporting manifest.jsonMarkus Lehtonen2015-12-09
| | | | | | More predictable output. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* manage.py: use --no-stat and --no-signature in format-patchMarkus Lehtonen2015-12-08
| | | | | | Just unneeded noise in the patches. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* manage.py: suppress diff of git-show with '-s'Markus Lehtonen2015-12-08
| | | | | | Instead of '--no-patch' which is not available in older git versions. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* manage.py: checkout commit in commit_patch()Markus Lehtonen2015-12-08
| | | | | | | | Do 'checkout' instead of 'reset --hard' as that fails on some old versions of git if HEAD points to a non-existent ref (i.e. orphan __tmp__ branch in our case). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* manage.py: fix order of commit-tree argumentsMarkus Lehtonen2015-12-08
| | | | | | Some older versions of git fail with the previous order. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Add manage.pyMarkus Lehtonen2015-11-27
A new script for managing the test package repositories and building the binary test artefacts (rpm, srpm and orig tarballs) from those. Previously, test packages were maintained as separate branches in this test data repository. However, this cluttered the refs space of the main repository and made managing the test package "repositories" cumbersome and also error prone, as many packages were basically managed in the same git repository. Multiple branches also caused problems for downstream users as the main repository is basically used as a git submodule of git-buildpackage repository. In the new model test package repositories are "serialized" as patches accompanied with the proper metadata to re-construct the git repository when needed. The new manage.py script is a tool for creating and serializing the test package repositories as well as building binary artefacts from these repositories. The repositories can be "perfectly" re-constructed, meaning that all tags and local branches are restored with full history and all object hashes are preserved as well. The data layout shall be such that serialized data of a each repository resides in a separate <NAME>.data directory. When changes to the repository are required, or it needs to be built, it can be reconstructed into <NAME>.repo directory. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>