summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-13Refactor config.py as preparation for rpm support.Markus Lehtonen
Split GbpOptionParser in to a common base class and a Debian specific subclass, as a preparation for upcoming RPM support. This allows having different default values (and help texts) for common options between different package types, and, clearer separation of package type specific options. Signed-off-by: Guido Günther <agx@sigxcpu.org>
2012-02-12Make pristine_tar testcases pass with older git versionsMarkus Lehtonen
that don't support user-defined output formats (tar filters) in git-archive.
2012-02-10Document changes and release 0.6.0~git20120210Guido Günther
2012-02-10gbp-pull: Use a DebianGitRepositoryGuido Günther
Closes: #59290
2012-02-09Include missing doctests in generated API docsGuido Günther
2012-02-09PristineTar: fix links in testcasesGuido Günther
2012-02-09Document changes and release 0.6.0~git20120209Guido Günther
2012-02-07Document changes and release 0.6.0~git20120207Guido Günther
2012-02-07import_orig: Properly detect .tgz and other abbreviated file extensionsGuido Günther
Closes: #658777
2012-02-07import_orig: clarify function descriptionGuido Günther
2012-02-07UpstreamSource: tgz is suitable as upstream tarball.Guido Günther
2012-02-07UpstreamSource: clarify method descriptionsGuido Günther
2012-02-07UpstreamSource: turn is_* vars and properties into methodsGuido Günther
since this is more consistent with the other is_* methods in other classes.
2012-01-31Document changes and release 0.6.0~git20120124Guido Günther
2012-01-31GitRepository: Use _git_inout() in __init__()Guido Günther
to avoid misleading error message
2012-01-31GitRepository: Allow empty input in _git_inout()Guido Günther
so it can replace _git_getoutput()
2012-01-31GitRepository: rename to __git_inout to _git_inoutGuido Günther
for readability.
2012-01-31GitRepository: Rename __git_getoutput to _git_getoutputGuido Günther
and deprecate it since _git_inout is more flexible, allows to capture stderr and doesn't return a list of strings.
2012-01-31GitRepository: allow to capture stderr in __git_inoutGuido Günther
stderr was always None.
2012-01-30Depend on pristine-tar for the testsGuido Günther
2012-01-30PristineTar: add testcaseGuido Günther
2012-01-30PristineTar: fix match when not passing in a compression typeGuido Günther
2012-01-30PristineTar: add missing import for debug outputGuido Günther
2012-01-30GitRepository: document archive()Guido Günther
2012-01-30PristineTar: make sure we set the current working directoryGuido Günther
otherwise this will fail when invoked from outside the git tree
2012-01-23Remove comparison with True to make pychecker happyGuido Günther
2012-01-23GitRepository: allow git.commit_dir to create new branchesMarkus Lehtonen
commit_dir creates new orphan branch if the given branch is not found and create_missing_branch is allowed.
2012-01-23gbp-pq: don't crash in get_maintainer_from_control()Markus Lehtonen
even if debian/control is missing.
2012-01-23Document changes and release 0.6.0~git20120123Guido Günther
2012-01-22buildpackage: Add pristine-tar-commit optionGuido Günther
This option allows to auto commit a generated tarball to the pristine-tar branch to simplify building non-dfsg clean packages and to make it easier to track uptream git.
2012-01-22PristineTar: move to separate moduleGuido Günther
and make it accessible from GitRepository to group checkout/checkin/lookup.
2012-01-22deb.changelog: add name propertyGuido Günther
2012-01-22deb: Add UpstreamSource.build_tarball_nameGuido Günther
to build a tarball name from a (package, version, compression) triplet optionally adding a directory.
2012-01-22tristate: fix __repr__Guido Günther
and add doctest
2012-01-21DebianGitRepository: Add parameter and return types to find_version()Guido Günther
2012-01-21deb: make find_version() return sha1 of a commitMarkus Lehtonen
Change find_version() so that it always returns sha1 of a commit object. That is, annotated tags are dereferenced to a commit object. Previously find_commit returned the sha1 of the tag object.
2012-01-21GitRepository: add get_obj_type()Markus Lehtonen
get_obj_type() returns the type of a git repository object.
2012-01-21DebianGitRepository: fix module descriptionGuido Günther
2012-01-18Don't assume gzip compression of the orig tarballGuido Günther
2012-01-17Add git-depth option to gbp-clone and gbp-pullMarkus Lehtonen
Allows creating and deepening shallow clones. This is sometimes useful for e.g. saving bandwidth when cloning.
2012-01-15debian/rules: be verbose on epydoc markup errorsGuido Günther
2012-01-15GitRepository: Fix types in diff docstringGuido Günther
2012-01-15GitRepository: add depth parameter to fetch()Markus Lehtonen
Allows deepening of shallow clones.
2012-01-15GitRepository: fix documentation of fetch()Markus Lehtonen
2012-01-15deb: minor refactor of parameters of has_orig()Markus Lehtonen
2012-01-15deb: minor refactor of parameters of symlink_orig()Markus Lehtonen
2012-01-15GitRepository: add diff()Markus Lehtonen
Diff two git repository objects (tag, commit, tree or blob).
2012-01-15GitRepository: add rename_branch() methodMarkus Lehtonen
2012-01-13gbp-posttag-push: check if upstream is up to date per remoteGuido Günther
This isn't perfect since someone else might have already pushed that ref and we might not have pulled it yet.
2012-01-13GitRepository: don't explicitly set the tags optionGuido Günther
to avoid missing remotes on "git fetch".