Markus Lehtonen [Tue, 5 Jun 2012 11:48:03 +0000 (14:48 +0300)]
GitRepository: fix process cwd in _git_inout()
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Wed, 8 Feb 2012 12:54:59 +0000 (14:54 +0200)]
PristineTar: move Debian-specific stuff to DebianPristineTar
Continuation to the PristineTar refactoring, makes the "common"
PristineTar independent of DebianPkgPolicy. This commit moves the
Debian-specific has_commit() and checkout() methods to DebianPristineTar
class and replaces them with more generic functions in the base class.
Also, drops the Debian-specific get_commit() method completely, as it
was not used outside the PristineTar class itself.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Guido Günther [Mon, 25 Jun 2012 09:30:25 +0000 (11:30 +0200)]
UpstreamSource: automatically detect package name and versions from directories
of the form packagename-<version>
Guido Günther [Mon, 25 Jun 2012 09:27:13 +0000 (11:27 +0200)]
Make TestDir testcase use a newly created directory
neeeded for the upcoming packagename/version parsing support
Ed Bartosh [Tue, 5 Jun 2012 11:39:40 +0000 (14:39 +0300)]
deb.git: Fixed typo in method name
the double underscore prefix was dropped ages ago.
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Markus Lehtonen [Fri, 18 May 2012 11:33:18 +0000 (14:33 +0300)]
common/pq: use strip in apply_and_commit_patch()
Use the strip information of the patch when applying patches. Also,
changes GitRepository.apply_patch() to accept integer values as 'strip'
argument.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Markus Lehtonen [Thu, 12 Jan 2012 13:24:42 +0000 (15:24 +0200)]
import-orig: move is_link_target() to common module
This change makes is_link_target() re-usable in the upcoming RPM-tools.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Guido Günther [Fri, 8 Jun 2012 10:56:38 +0000 (12:56 +0200)]
gbp.conf: Make config option printing more consistent
Guido Günther [Fri, 1 Jun 2012 21:46:08 +0000 (23:46 +0200)]
Document changes and release 0.6.0~git20120601
Guido Günther [Fri, 1 Jun 2012 21:09:42 +0000 (23:09 +0200)]
git-buildpackage: allow to build packages from detached HEAD state
with --git-ignore-branch.
Closes: #661598
Guido Günther [Fri, 1 Jun 2012 20:36:07 +0000 (22:36 +0200)]
git-buildpackage overlay-mode: don't fail on files named like tarball
Instead of moving individual files around simply rename the directories.
This is faster and independent of the tarballs content.
Closes: #675412
Guido Günther [Fri, 1 Jun 2012 20:14:53 +0000 (22:14 +0200)]
git-buildpackage: add missing import
so move_old_export works again
Guido Günther [Thu, 31 May 2012 12:55:54 +0000 (14:55 +0200)]
gbp.git.repository: add GitRepository.make_tree
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Thu, 31 May 2012 12:40:12 +0000 (14:40 +0200)]
gbp.git.repository: Add GitRepository.write_file
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Thu, 31 May 2012 12:30:22 +0000 (14:30 +0200)]
gbp.git.repository: Add GitRepository.list_tree
Guido Günther [Fri, 25 May 2012 08:35:06 +0000 (10:35 +0200)]
Refactor deb helpers: move PristineTar class
Based on a patch by Markus Lehtonen
This refactor is preparation to the upcoming rpm support.
Guido Günther [Thu, 24 May 2012 12:29:52 +0000 (14:29 +0200)]
import_dsc: add --allow-unauthenticated
Closes: #670623
Guido Günther [Thu, 24 May 2012 12:07:49 +0000 (14:07 +0200)]
Document changes and release 0.6.0~git20120524
Daniel Dehennin [Sun, 20 May 2012 15:36:59 +0000 (17:36 +0200)]
Provide minimalist debian/control object
Closes: #673473
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Sun, 20 May 2012 14:36:17 +0000 (16:36 +0200)]
gbp.deb.ChangeLog: Add filename property
Guido Günther [Sun, 20 May 2012 14:32:20 +0000 (16:32 +0200)]
gbp.deb.changelog: Split parsing into a separate function
this will allow us to reparse the changelog after manipulation with dch.
Guido Günther [Sun, 20 May 2012 10:51:13 +0000 (12:51 +0200)]
Don't explicitly refer to lenny-backports
Thanks: Salvatore Bonaccorso
Salvatore Bonaccorso [Fri, 18 May 2012 15:17:54 +0000 (17:17 +0200)]
Document --bpo, --nmu and --qa in git-dch's manpage
Closes: #673422
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Salvatore Bonaccorso [Fri, 18 May 2012 12:44:37 +0000 (14:44 +0200)]
git-dch: Add support for --team switch for Team uploads
Closes: #673368
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Tue, 15 May 2012 19:03:10 +0000 (21:03 +0200)]
Fix typo in doctest that made epydoc fail.
Git-Dch: Ignore
Guido Günther [Tue, 15 May 2012 19:00:57 +0000 (21:00 +0200)]
Add gbp.deb.ChangeLogSection
to parse package and version out of a changelog section
Daniel Dehennin [Sun, 13 May 2012 18:37:11 +0000 (20:37 +0200)]
gbp.git.repository: Add a "git merge-base" wrapper
Closes: #672642
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Jérémy Lal [Sat, 12 May 2012 08:26:40 +0000 (10:26 +0200)]
Config help fix
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Sun, 6 May 2012 20:54:23 +0000 (22:54 +0200)]
docs: compolete git-dch synopsis
Guido Günther [Fri, 4 May 2012 16:23:12 +0000 (18:23 +0200)]
GitRepository.format_patches: allow to set threading format
and disable it by default.
Markus Lehtonen [Wed, 8 Feb 2012 12:42:00 +0000 (14:42 +0200)]
Refactor deb helpers: move UpstreamSource class
to pkg base module. This refactor is preparation to the upcoming rpm
support.
Markus Lehtonen [Wed, 8 Feb 2012 12:26:24 +0000 (14:26 +0200)]
Refactor deb helpers: move build_tarball_name()
from UpstreamSource class to DebianPkgPolicy.
Markus Lehtonen [Thu, 12 Jan 2012 13:43:32 +0000 (15:43 +0200)]
Refactor deb helpers: introduce PkgPolicy class
Create a new 'pkg' basemodule, intended to be re-used by the upcoming
rpm package helpers. Move some deb functionality to a new pkg.PkgPolicy
class, to be used as a base for different package types. Introduces
Deb-specific deb.DebianPkgPolicy.
Guido Günther [Wed, 18 Apr 2012 22:24:39 +0000 (00:24 +0200)]
Document changes and release 0.6.0~git20120419
Matthijs Kooijman [Tue, 17 Apr 2012 20:17:20 +0000 (22:17 +0200)]
Bug#669145: [PATCH] Add git-dch --commit and --commit-msg options
Closes: #669145
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Markus Lehtonen [Thu, 12 Jan 2012 13:44:23 +0000 (15:44 +0200)]
Refactor git-import-orig as preparation for rpm support
Separate some functions of git-import-orig into a baselib, intended to
be re-used by the upcoming rpm variant of the tool.
Markus Lehtonen [Thu, 12 Jan 2012 13:24:42 +0000 (15:24 +0200)]
import-orig: refactor args of ask_package_* functions
Makes ask_package_name() and ask_package_version() more generic and
re-usable in the upcoming RPM-tools.
Markus Lehtonen [Thu, 12 Jan 2012 13:42:42 +0000 (15:42 +0200)]
Refactor git-buildpackage as preparation for rpm support
Separate some functions of git-buildpackage into a basemodule, intended
to be re-used by the upcoming rpm variant of the tool.
Markus Lehtonen [Thu, 12 Jan 2012 13:41:46 +0000 (15:41 +0200)]
Refactor gbp-pq as preparation for rpm support
Separate some functions of gbp-pq into a basemodule, intended to be
re-used by the upcoming rpm variant of the tool.
Also, introduces a new python subpackage gbp.scripts.common to be used
for the re-usable parts of the scripts in the refactoring work.
Markus Lehtonen [Thu, 12 Apr 2012 11:28:59 +0000 (14:28 +0300)]
docs: add some missing tags to sgml files
Matthijs Kooijman [Tue, 17 Apr 2012 20:41:48 +0000 (22:41 +0200)]
Git-Dch: Full in commit messages
This new tag makes git-dch use the full commit message when generating
the Debian changelog file, even when --full is not given.
Closes: #669159
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Wed, 18 Apr 2012 06:14:40 +0000 (08:14 +0200)]
Make building with DEB_BUILD_OPTIONS=nocheck skip all tests
heavily based on a patch by Matthijs Kooijman
Guido Günther [Sun, 15 Apr 2012 17:06:10 +0000 (19:06 +0200)]
Document changes and release 0.6.0~git20120415
Guido Günther [Sun, 15 Apr 2012 17:04:48 +0000 (19:04 +0200)]
Ignore locale when checking for a clean repository
Closes: #668896
Guido Günther [Thu, 12 Apr 2012 21:03:21 +0000 (23:03 +0200)]
Make the upstream version check match policy
Closes: #668554
Jö Fahlke [Thu, 12 Apr 2012 18:47:54 +0000 (20:47 +0200)]
docs: correct --git-builder default value
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Tue, 10 Apr 2012 09:39:09 +0000 (11:39 +0200)]
ALlow to set the output directory via GIT_PBUILDER_OUTPUT_DIR
Helps with #657277
Guido Günther [Thu, 5 Apr 2012 12:49:58 +0000 (14:49 +0200)]
gbp.git.repository: don't append a second .git
when mirroring a repository
Guido Günther [Wed, 4 Apr 2012 16:51:08 +0000 (18:51 +0200)]
Document changes and release 0.6.0~git20120404
Guido Günther [Wed, 28 Mar 2012 11:56:05 +0000 (13:56 +0200)]
gbp-add-patch: Fix typo
Guido Günther [Tue, 27 Mar 2012 19:46:32 +0000 (21:46 +0200)]
gbp-posttag-push: Tighten branch regexp
so we don't push to branches ending with the same name accidentally.
Guido Günther [Sat, 24 Mar 2012 12:27:31 +0000 (13:27 +0100)]
Start documenting useful options when upstream uses git.
This is quiet terse yet so follow up bugs are welcome.
Closes: #664771
Guido Günther [Sat, 24 Mar 2012 11:48:29 +0000 (12:48 +0100)]
docs: add --git-upstream-tag to git-buildpackage's manpage
Guido Günther [Fri, 23 Mar 2012 23:00:40 +0000 (00:00 +0100)]
Document changes and release 0.6.0~git20120324
Guido Günther [Fri, 23 Mar 2012 19:55:57 +0000 (20:55 +0100)]
git-import-orig: Allow to pass in an upstream vcs tag
This allows to link the import-orig commit with the corresponding
upstream vcs tag. See #664771 for a discussion.
Guido Günther [Wed, 21 Mar 2012 08:52:34 +0000 (09:52 +0100)]
gbp-create-remote-repo: add --remote-config
This specifies an additional config file section that can be used
to preconfigure different remote locations.
Guido Günther [Wed, 21 Mar 2012 22:17:29 +0000 (23:17 +0100)]
gbp.config: add list of config file sections to constructor
This makes it possible to parse additional mandatory sections
from config files to prefill defaults.
Git-Dch: Ignore
Guido Günther [Wed, 21 Mar 2012 21:43:42 +0000 (22:43 +0100)]
gbp-create-remote-repo: move option parsing to separate function
Git-Dch: Ignore
Guido Günther [Wed, 21 Mar 2012 08:58:33 +0000 (09:58 +0100)]
gbp.confing: add docstring
Git-Dch: Ignore
Guido Günther [Mon, 19 Mar 2012 13:46:05 +0000 (14:46 +0100)]
gbp create-remote-repo: allow to pass template directory
to git init so it's possible to set up remote hooks.
Guido Günther [Tue, 20 Mar 2012 07:51:07 +0000 (08:51 +0100)]
gbp-create-remote-repo: Cleanup raise statements
Git-Dch: Ignore
Guido Günther [Mon, 19 Mar 2012 13:37:29 +0000 (14:37 +0100)]
GitRepository.clone(): document missing options
Guido Günther [Mon, 19 Mar 2012 13:29:02 +0000 (14:29 +0100)]
GitRepository.create(): use GitArgs
Git-Dch: Ignore
Guido Günther [Mon, 19 Mar 2012 13:22:52 +0000 (14:22 +0100)]
gbp-create-remote-repo: test generated config
Git-Dch: Ignore
Guido Günther [Mon, 19 Mar 2012 13:10:45 +0000 (14:10 +0100)]
gbp-create-remote-repo: improve remote script readability
Git-Dch: Ignore
Guido Günther [Mon, 19 Mar 2012 13:01:43 +0000 (14:01 +0100)]
gbp-create-remote-repo: make command and script generation testable
Guido Günther [Sun, 18 Mar 2012 16:27:56 +0000 (17:27 +0100)]
gbp-create-remote-repo: allow to use local file transport too
Guido Günther [Sun, 18 Mar 2012 16:43:16 +0000 (17:43 +0100)]
gbp-create-remote-repo: don't expect a terminal
so you can do 'echo y | gbp-create-remote-repo'
Guido Günther [Sun, 18 Mar 2012 16:15:13 +0000 (17:15 +0100)]
gbp-create-remote-repo: Use DebianGitRepository
Closes: #664283
Guido Günther [Thu, 15 Mar 2012 21:40:10 +0000 (22:40 +0100)]
Document changes and release 0.6.0~git20120315
Guido Günther [Thu, 15 Mar 2012 21:21:12 +0000 (22:21 +0100)]
Parse author and comitter from changelog for native package too
Closes: #662993
Guido Günther [Thu, 15 Mar 2012 21:08:50 +0000 (22:08 +0100)]
GitModifier: add __getitem__ and keys()
so it can be used as dictonary
Guido Günther [Thu, 15 Mar 2012 20:19:48 +0000 (21:19 +0100)]
deb.changelog: allow to extract author and date
Guido Günther [Thu, 15 Mar 2012 19:09:58 +0000 (20:09 +0100)]
docs: Fix path to gbp-configure-unpatched-source
Thanks: Tobias Frost
Guido Günther [Sun, 11 Mar 2012 18:23:52 +0000 (19:23 +0100)]
Document changes and release 0.6.0~git20120311
Guido Günther [Sun, 11 Mar 2012 18:10:02 +0000 (19:10 +0100)]
Move gbp.conf manpage to section 5 and add references
from the other manpages
Guido Günther [Thu, 8 Mar 2012 17:57:42 +0000 (18:57 +0100)]
Document changes and release 0.6.0~git20120227
Guido Günther [Thu, 8 Mar 2012 17:17:51 +0000 (18:17 +0100)]
git-import-dscs: allow to ignore gbp.conf files stored in the repository
Closes: #660898
Guido Günther [Thu, 8 Mar 2012 17:08:30 +0000 (18:08 +0100)]
docs: Mention --help and commands that can't be configured via gbp.conf
Git-Dch: Ignore
Guido Günther [Thu, 8 Mar 2012 13:54:22 +0000 (14:54 +0100)]
GbpOptionParser: allow to modify list of parsed conf files
by setting the GBP_CONF_FILES environment variable.
Guido Günther [Thu, 8 Mar 2012 16:51:46 +0000 (17:51 +0100)]
Bump standards version to 3.9.3
Guido Günther [Thu, 8 Mar 2012 16:49:01 +0000 (17:49 +0100)]
Remove build/ directory
during clean so we don't step on any epydoc leftovers
Guido Günther [Thu, 8 Mar 2012 16:46:10 +0000 (17:46 +0100)]
Build-require a git version that supports --no-edit
Closes: #663103
Guido Günther [Thu, 8 Mar 2012 07:57:20 +0000 (08:57 +0100)]
Add manual page for gbp.conf
Closes: #661748
Thanks: Jari Alto for the POD version
Guido Günther [Thu, 8 Mar 2012 07:42:36 +0000 (08:42 +0100)]
import_dsc: Create debian branch for native packages too
Closes: #663001
Guido Günther [Sun, 26 Feb 2012 11:11:48 +0000 (12:11 +0100)]
Document changes and release 0.6.0~git20120226
Guido Günther [Sun, 26 Feb 2012 11:04:56 +0000 (12:04 +0100)]
Depend on git >= 1:1.7.9.1-1~
for a working git merge --no-edit
Thanks: Jonathan Nieder
Guido Günther [Sun, 26 Feb 2012 10:59:05 +0000 (11:59 +0100)]
GitRepository.merge: add edit option
defaulting to False
Closes: #659239
Guido Günther [Sun, 26 Feb 2012 10:52:14 +0000 (11:52 +0100)]
GitRepsitory.merge: update apidoc and switch to GitArgs
Git-Dch: Ignore
Guido Günther [Sun, 26 Feb 2012 10:32:11 +0000 (11:32 +0100)]
config.py: Add default value print out to all options
Guido Günther [Sat, 25 Feb 2012 14:57:48 +0000 (15:57 +0100)]
docs: makeversion pattern match the code
Closes: #650465
Guido Günther [Tue, 31 Jan 2012 07:25:01 +0000 (08:25 +0100)]
copy_from: remove, not used anymore
Markus Lehtonen [Thu, 12 Jan 2012 13:40:54 +0000 (15:40 +0200)]
gbp-pq: refactor args of write_patch()
Allows defining the formerly hardcoded patch_dir. This makes
write_patch() re-usable in the upcoming RPM-tools.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Sat, 18 Feb 2012 15:26:19 +0000 (16:26 +0100)]
Merge tag 'debian/0.6.0_git20120218' into experimental
Debian release 0.6.0~git20120218
Guido Günther [Sat, 18 Feb 2012 15:17:26 +0000 (16:17 +0100)]
Document changes and release 0.6.0~git20120211
Guido Günther [Sat, 18 Feb 2012 15:15:51 +0000 (16:15 +0100)]
gbp-pq: Properly print patch name
when guessing authorship information
Markus Lehtonen [Fri, 10 Feb 2012 15:08:20 +0000 (17:08 +0200)]
docs: add missing tags to sgml files
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Guido Günther [Mon, 13 Feb 2012 18:56:10 +0000 (19:56 +0100)]
Make sure we test the built modules
not the system ones
Guido Günther [Mon, 13 Feb 2012 18:00:43 +0000 (19:00 +0100)]
gbp.config: Add tests
Git-Dch: Ignore
Guido Günther [Mon, 13 Feb 2012 17:56:28 +0000 (18:56 +0100)]
Rename GbpOptionParserCommon common to GbpOptionParser