summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-20Use open() instead of file()Guido Günther
The former is supported with python3
2015-02-20Use relative import for testutilsGuido Günther
2015-02-20Don't rely on dictionary key orderGuido Günther
to work towards Python3 support Gbp-Dch: Ignore
2015-02-20Use six.StringIOGuido Günther
to work towards Python3 support Gbp-Dch: Ignore
2015-02-20Don't use dict.has_key()Guido Günther
Not existent in Python3
2015-02-20Handle ConfigParser -> configparser renameGuido Günther
to work towards Python3 support Gbp-Dch: Ignore
2015-02-20Don't use print as a statementGuido Günther
via 2to3-3.4 -w -f print . to work towards python3 support Gbp-Dch: Ignore
2015-02-20Require sixGuido Günther
to work towards Python3 support Gbp-Dch: Ignore
2015-02-20Convert zip and map to listGuido Günther
to work towards Python3 support Gbp-Dch: Ignore
2015-02-20Ignore return types of write and shutil.copyGuido Günther
Python3 does not return None anymore
2015-02-20Remove unused importGuido Günther
Gbp-Dch: Ignore
2015-02-18rpm: suppress stderr when unpacking src.rpmMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-02-18patchseries: strip numbering when guessing subject from filenameMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-02-18ComponentTestBase: ignore system and user configMarkus Lehtonen
User might have a system and/or user specific gbp config files. Disable these config files so that they don't affect the component tests. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-02-18tests: restore logger module after tampering itMarkus Lehtonen
So that subsequent log capture (by GbpLogTester) is not affected. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-02-18import-srpm: support gbp-config commandMarkus Lehtonen
Slight refactoring of argument parsing so that the gbp-config command is able to show the config values. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-02-17Drop all gbp-* and git-* commandsGuido Günther
as announced in the deprecation notice from June 2013.
2015-02-17git-dch --git-author: separate author and emailDmitrij Tejblum
Allow --git-author to work if either author or email is not specified in the git config, taking the other config option into account.
2015-02-08Bump standards versionGuido Günther
2015-02-08Add gbp.conf for experimentalGuido Günther
2015-02-08parse_gbp_commands: support command filteringGuido Günther
When we write out patches to subdirs using a topic we want to filter out this topic from the commit message. Support for this was lost in 7ce15d2434ee42aa5a1afce3d03069c5efb2db1b add it back. Also fix parsing of the deprecated commands.
2015-02-08pq: Generate new style Gbp-Pq: Topic <topic> entriesGuido Günther
We shouldn't generate the deprecated ones
2015-02-08pq: deprecate the usage of 'gbp-pq-topic:'Markus Lehtonen
Replaced by the "Gbp[-Pq]: Topic <topic>" command. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-01-31repository: fix head docstringGuido Günther
head is not a function so it doesn't _return_ anything Gbp-Dch: Ignore
2015-01-29buildpackage: Tag currently checked out headGuido Günther
Tag the head checked out at command invocation. The build can take some time and the repo might have changed underneath us. Closes: #776506
2015-01-29Revert "pq: deprecate the usage of 'gbp-pq-topic:'"Guido Günther
"Gbp-Pq: Topic <topic>" leaves the marker in the exorted patch so we shouldn't use it by default. This reverts commit 7ce15d2434ee42aa5a1afce3d03069c5efb2db1b.
2015-01-25config: Deprecate legacy config sectionsGuido Günther
We deprecate sections starting with git- and gbp- to reduce the confusion about what gets parsed first.
2015-01-25testutils: split out DebianGitTestRepoGuido Günther
Gbp-Dch: Ignore
2015-01-25testutils: Move log test helpers to separate classGuido Günther
so we can use them in the unit tests as well
2015-01-25Move testutils to separate moduleGuido Günther
2015-01-25pq: deprecate the usage of 'gbp-pq-topic:'Markus Lehtonen
Replaced by the "Gbp[-Pq]: Topic <topic>" command. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2015-01-22dch: Support Gbp-Dch: besides Git-Dch:Guido Günther
2015-01-22Make Debian and Git spelling consistentGuido Günther
2015-01-22vfs: remove wrong docstringGuido Günther
Gbp-Dch: Ignore
2015-01-22pristinetar: fix docstringGuido Günther
Gbp-Dch: Ignore
2015-01-18Document changes and release 0.6.23Guido Günther
2015-01-18import-orig: Add --download optionGuido Günther
to download tarballs via HTTP Closes: #747101
2014-12-29Introduce gbp-pq-rpmMarkus Lehtonen
Initial version of gbp-pq-rpm - a tool for managing patch queues for rpm packages. The functionality more or less corresponds to that of the (Debian) gbp-pq. The only major difference probably being (in addition to the obvious of working with .spec files instead of debian/) is that patches are always imported on top of the upstream version, not on top of the packaging branch (which might not even contain any source code). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Olev Kartau <olev.kartau@intel.com>
2014-12-28Fix argument typeGuido Günther
2014-12-28config: read the right config if run from subdirMarkus Lehtonen
A step towards being able to run GBP tools from subdirectories. Now expands '%(top_dir)s' and '%(git_dir)s' in config file path to root of the working directory and git metadata directory, respectively. Also, adds a new method _read_config_file() in preparation for supporting per-tree config files. Fixes tests.test_Config: currently the only correct way to define the config file(s) to be parsed is by using the GBP_CONF_FILES environment variable. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-28test data: Add .git for bare repositoryGuido Günther
2014-12-28buildpackage/dump_tree: add 'recursive' optionMarkus Lehtonen
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>
2014-12-28pq: print which patch got just appliedGuido Günther
2014-12-05log: fix auto colorizing for custom streamsMarkus Lehtonen
Check for existence of isatty() method in the stream object. Some custom streams (e.g. in nose) do not necessarily have this. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05notify: catch RuntimeError when importing pynotifyMarkus Lehtonen
Work around a problem in some distros (e.g. Fedora) where "import pynotify" crashes in RuntimeError in some cases, e.g. when DISPLAY env variable is not set. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05gbp-dch: fix handling of the '--meta' optionMarkus Lehtonen
Make it effective again - previously it was totally ignored. Also, change it's default value to True to match the current behavior. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05GitRepository: Implement status methodEd Bartosh
Simple wrapper to the git-status command. Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05ComponentTestBase: add dirs argument to _check_repo_state()Markus Lehtonen
Make difference between regular files and directories, eliminating the requirement of listing directories in the file list. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05ComponentTestBase: add check_files() methodMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05ComponentTestBase: add a per-class toplevel temp dirMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>