summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2014-12-05GitRepository.create_branch: add 'force' optionMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05GitRepository: add diff_status methodMarkus Lehtonen
This is a method of getting the filename and status information of a diff. That is, a list of files that changed and their status, "added", "modified" etc. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-12-05pq: move switch_pq() to commonMarkus Lehtonen
So that it can be re-used by the upcoming pq-rpm tool. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-10-29Document changes and release 0.6.22Guido Günther
2014-10-29git.vfs: fix close methodGuido Günther
Preventing a infinite recursion which can be triggered by gbp pq export --commit.
2014-10-17Document changes and release 0.6.21Guido Günther
2014-10-17Update README a bitGuido Günther
Git-Dch: Ignore
2014-10-17Complete setup.py for pypiGuido Günther
2014-10-17Improve change reporting a bitGuido Günther
2014-10-17man: fix option argument for --git-pbuilder-optionsGuido Günther
2014-10-14pq: Don't fail commit if the series file is empty on the source branchGuido Günther
2014-10-12Document changes and release 0.6.20Guido Günther
2014-10-12pq: Add "pq export --commit" optionGuido Günther
This commits the changes in the pq right away. This is currently experimental and subject to change.
2014-09-26meta-closes: Move help text to GbpOptionParser.helpGuido Günther
2014-09-13pq: document --dropGuido Günther
2014-09-12Allow to always drop pq branch after exportGuido Günther
Closes: #761160
2014-09-07Document changes and release 0.6.19Guido Günther
2014-09-07Update to git-pbuilder 1.33Guido Günther
2014-09-06Document changes and release 0.6.18Guido Günther
2014-09-01Mention --no-mergeGuido Günther
Closes: #760091