summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-20Only use absolute importGuido Günther
since searching both isn't supported in Python3. Since the tests are run from the toplevel dir we'll pick up the right scripts.
2015-02-20Don't use basestringGuido Günther
to work toward Python3 support
2015-02-20Use verbose outputGuido Günther
so we see all git commands
2015-02-20Handle renamed urlparse in Python3Guido Günther
to work towards Python3 support Gbp-Dch: Ignore
2015-02-20Use six.iteritems() and six.iterkeys()Guido Günther
to work towards Python3 support Gbp-Dch: Ignore
2015-02-20Handle Python3's changed octal literal syntaxGuido Günther
2015-02-20Use relative importGuido Günther
so Python3 can cope as well
2015-02-20Convert result to listGuido Günther
Python3 returns a dict_items obj
2015-02-20Use email.utils instead of email.UtilsGuido Günther
works with python 2 and 3
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