summaryrefslogtreecommitdiff
path: root/gbp
AgeCommit message (Collapse)Author
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-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-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-13GitRepository: don't explicitly set the tags optionGuido Günther
to avoid missing remotes on "git fetch".
2012-01-12GitRepository: Allow to explicitly fetch tagsGuido Günther
2012-01-11buildpackage: Allow to pass pbuilder optionsGuido Günther
via commandline or gbp.conf
2012-01-10GitRepository.branch_contains: fix misplaced remote parameterGuido Günther
2012-01-10GitRepository: Add branch_contains()Guido Günther
to check if a branch contains a specific commit
2012-01-10GitRepository: add verify_tag()Guido Günther
2012-01-10GitRepository: add push() and push_tag()Guido Günther
2012-01-10Allow to specify the upstream tree via --upstream-treeGuido Günther
without the indirection to --upstream-branch.
2012-01-08GitRepository: use isinstance(basestring) to check for string typesGuido Günther
2011-12-29import_dsc: remove debian dir from upstream sourceGuido Günther
after importing it. This gives as the orig tarball on upstream but the debian branch looks the same as with dpkg-source -x. Closes: #653472
2011-12-29GitRepository: Add testcases for cornercasesGuido Günther
and small functions Git-Dch: Ignore
2011-12-29GitRepository: more consistent exception syntaxGuido Günther
2011-12-28dch: Honor epoch when guessing new upstream versionGuido Günther
Closes: #652366 Thanks: a lot to Daniel Dehennin for the testcase
2011-12-28dch: Split guessing of upstream version into separate functionGuido Günther
2011-12-28Move _build_legacty_tag from GitRepository to to DebianGitRepositoryGuido Günther
and add doctest. Git-Dch: Ignore
2011-12-27gbp.deb.git.py: Fix typos and add versionGuido Günther
2011-12-27GitRepository: Use GitArgs in get_commitsGuido Günther
2011-12-27GitRepository: Add num option to git_commitsGuido Günther
to limit number of returned commits and fix path option to also accept a list of paths instead of a string.
2011-12-27dch: Indentation and docstring cleanupsGuido Günther
2011-12-27dch: Add doctests for snapshot_versionGuido Günther
2011-12-26dch: fix epydoc parametersGuido Günther
2011-12-26gbp-pq: add "switch" actionGuido Günther
to quickly switch between patch-queue and base branch.
2011-12-26gbp.git.repository: add edit option to commit_stagedGuido Günther
to allow editing the commit message.
2011-12-26Rename gbp.pq to gbp.patch_seriesGuido Günther
since that's what it currently handles.
2011-12-26pq.Patch: move support for parsing patch headers into Patch classGuido Günther
and add tests.
2011-12-26pq: rename PatchQueue to PatchSeriesGuido Günther
since this models a quilt patch series
2011-12-26Add --[no-]-pbuilder-autoconfGuido Günther
to pass GIT_PBUILDER_AUTOCONF=no to git-pbuilder.
2011-12-18scripts/pq: handle patches without filename extensionGuido Günther
Don't fail if patches don't have a proper patch header and filename extensions (like in the heimdal package)
2011-12-18scripts/pq: Move patch name handling to separate functionGuido Günther
and add tests
2011-12-16pq: add --force option to fore recreation of pq branchGuido Günther
so one doesn't have to drop the old one first.