Guido Günther [Wed, 26 Oct 2011 18:06:48 +0000 (20:06 +0200)]
GitRepository: use branch instead of get_branch
for readability
Guido Günther [Wed, 26 Oct 2011 17:47:23 +0000 (19:47 +0200)]
GitRepository: speed up get_branch() and make it more robust
by using 'git symbolic-ref'
Guido Günther [Wed, 26 Oct 2011 17:44:48 +0000 (19:44 +0200)]
GitRepository: mark _get_branches private
Guido Günther [Wed, 26 Oct 2011 08:46:42 +0000 (10:46 +0200)]
GitRrepository: add get_tags()
Guido Günther [Wed, 26 Oct 2011 16:27:24 +0000 (18:27 +0200)]
tests: Test GitRepository.merge()
Guido Günther [Wed, 26 Oct 2011 13:01:17 +0000 (15:01 +0200)]
GitRepository: group related methods
and document more methods
Guido Günther [Tue, 25 Oct 2011 19:31:25 +0000 (21:31 +0200)]
Gather coverage information during tests
Guido Günther [Mon, 24 Oct 2011 17:35:13 +0000 (19:35 +0200)]
Turn tests into doctests
so we can auto generate some examples
Guido Günther [Tue, 25 Oct 2011 18:55:06 +0000 (20:55 +0200)]
GitRepository: Add commit_files()
to directly commit a list of files.
Guido Günther [Tue, 25 Oct 2011 16:27:28 +0000 (18:27 +0200)]
GitRepository: extend list_files()
Guido Günther [Tue, 25 Oct 2011 10:29:14 +0000 (12:29 +0200)]
GitRepository: Add minimal support for bare repositories
Guido Günther [Tue, 25 Oct 2011 11:01:49 +0000 (13:01 +0200)]
GitRepository: Allow to list local branches
Guido Günther [Tue, 25 Oct 2011 10:42:15 +0000 (12:42 +0200)]
GitRepository: Allow to delete remote branches
Guido Günther [Tue, 25 Oct 2011 09:40:31 +0000 (11:40 +0200)]
GitRepository: Add collect_garbage
Guido Günther [Tue, 25 Oct 2011 08:06:36 +0000 (10:06 +0200)]
command_wrappers.Command: Don't print several error lines
Guido Günther [Tue, 25 Oct 2011 10:23:28 +0000 (12:23 +0200)]
GitRepository: Rename remove_tag() to delete_tag()
to be consistent with delete_branch()
Guido Günther [Mon, 24 Oct 2011 19:26:25 +0000 (21:26 +0200)]
Fix GitRepository.is_clean() docs
Guido Günther [Mon, 24 Oct 2011 18:33:35 +0000 (20:33 +0200)]
Don't be verbose
Git-Dch: Ignore
Guido Günther [Mon, 24 Oct 2011 17:24:44 +0000 (19:24 +0200)]
GitRepository: make branch, path and base_dir read only properties
Guido Günther [Mon, 24 Oct 2011 15:37:36 +0000 (17:37 +0200)]
GitRepository.fetch(): fix remote arg
Guido Günther [Mon, 24 Oct 2011 15:20:19 +0000 (17:20 +0200)]
Add GitRepository.add_remote_repo()
Guido Günther [Mon, 24 Oct 2011 14:10:47 +0000 (16:10 +0200)]
GitRepository.clone(): add depth and recursive parameter
Guido Günther [Mon, 24 Oct 2011 12:51:04 +0000 (14:51 +0200)]
GitRepository: add pull()
Guido Günther [Mon, 24 Oct 2011 12:12:59 +0000 (14:12 +0200)]
Replace GitTag by GitRepository.create_tag()
Guido Günther [Mon, 24 Oct 2011 07:48:00 +0000 (09:48 +0200)]
gbp-pq: Strip .patch and .diff
when importing patches without a subject
Guido Günther [Mon, 24 Oct 2011 07:47:23 +0000 (09:47 +0200)]
gbp-pq: Properly check for start of signature
Closes: #646400
Guido Günther [Sun, 23 Oct 2011 11:52:02 +0000 (13:52 +0200)]
Document that gbp-create-repo is noninteractive
Closes: #643752
Guido Günther [Sun, 23 Oct 2011 11:47:01 +0000 (13:47 +0200)]
Replace GitFetch by GitRepository.fetch()
Guido Günther [Sun, 23 Oct 2011 11:40:07 +0000 (13:40 +0200)]
Replace GitMerge by GitRepository.merge()
Guido Günther [Sat, 22 Oct 2011 14:55:47 +0000 (16:55 +0200)]
Replace GitClone by GitRepository.clone()
Guido Günther [Sat, 22 Oct 2011 14:30:17 +0000 (16:30 +0200)]
GitRepository.__init__: use more robust "git rev-parse --show-cdup"
instead of just looking for a ".git" directory
Guido Günther [Sat, 22 Oct 2011 12:25:13 +0000 (14:25 +0200)]
Replace GitBranch by GitRepository.create_branch()
Guido Günther [Sat, 22 Oct 2011 11:54:16 +0000 (13:54 +0200)]
GitRepository: add commit and commit_all
to commit the current state of the index and all changes.
Guido Günther [Sat, 22 Oct 2011 11:53:48 +0000 (13:53 +0200)]
git: Add GitModifier
to make passing author/comitter information easier.
Git-Dch: Ignore
Guido Günther [Sat, 22 Oct 2011 11:40:50 +0000 (13:40 +0200)]
GitRepository: rename commits to get_commits
Git-Dch: Ignore
Guido Günther [Sat, 22 Oct 2011 11:36:37 +0000 (13:36 +0200)]
git: Docstring updates
Guido Günther [Sat, 22 Oct 2011 11:14:49 +0000 (13:14 +0200)]
GitRepository.__init__: improve error message
Git-Dch: Ignore
Guido Günther [Fri, 21 Oct 2011 19:42:33 +0000 (21:42 +0200)]
GitRepository: remove now superfluous check_path
Guido Günther [Fri, 21 Oct 2011 19:40:02 +0000 (21:40 +0200)]
Use GitRepository._git_command instead of GitCommand
so we execute commands in the repository by default
Guido Günther [Fri, 21 Oct 2011 19:33:45 +0000 (21:33 +0200)]
Execute GitRepository._get_output default at self.path by default
Git-Dch: Ignore
Guido Günther [Fri, 21 Oct 2011 19:26:04 +0000 (21:26 +0200)]
Add GitRepository.remove_files
to mark files for removal
Git-Dch: Ignore
Guido Günther [Fri, 21 Oct 2011 19:20:24 +0000 (21:20 +0200)]
Replace GitAdd by GitRepository.add_files
Git-Dch: Ignore
Guido Günther [Fri, 21 Oct 2011 19:12:28 +0000 (21:12 +0200)]
Execute GitRepository.__git_inout and self.path
Git-Dch: Ignore
Guido Günther [Fri, 21 Oct 2011 19:05:05 +0000 (21:05 +0200)]
Make create_repo a @classmethod
and GitInit superfluous
Git-Dch: Ignore
Guido Günther [Fri, 21 Oct 2011 19:04:29 +0000 (21:04 +0200)]
Add _git_command that executes a command at the repo's path
making explicit path checking superfluous.
Git-Dch: Ignore
Guido Günther [Fri, 21 Oct 2011 16:45:58 +0000 (18:45 +0200)]
Add cwd option to gbp.command_wrappers.Command
Guido Günther [Mon, 17 Oct 2011 08:15:57 +0000 (10:15 +0200)]
Document changes and release 0.5.32
Guido Günther [Sun, 16 Oct 2011 17:08:00 +0000 (19:08 +0200)]
Make sure self.config['filter'] is a list
The python2.7 OptionParser chokes otherwise.
Guido Günther [Sun, 16 Oct 2011 14:07:19 +0000 (16:07 +0200)]
Move guess_upstream_version into UpstreamSource
Guido Günther [Sun, 16 Oct 2011 12:20:34 +0000 (14:20 +0200)]
Use known_compressions in guess_upstream_version too
Closes: #645477
Guido Günther [Wed, 28 Sep 2011 18:21:58 +0000 (20:21 +0200)]
Document changes and release 0.5.31
Guido Günther [Tue, 27 Sep 2011 21:40:22 +0000 (23:40 +0200)]
gbp-pq: don't fail on missing series file
but create an empty branch instead
Guido Günther [Mon, 26 Sep 2011 22:14:03 +0000 (00:14 +0200)]
Add missing brace
Guido Günther [Mon, 26 Sep 2011 22:14:03 +0000 (00:14 +0200)]
Add missing brace
Salvatore Bonaccorso [Fri, 2 Sep 2011 19:46:44 +0000 (21:46 +0200)]
Fix URL to cl2vcs service
Refer to https://honk.sigxcpu.org/cl2vcs instead of
https://honk.sigxcpu.org/cl2vcs for the cl2vcs service.
Closes: #640141
Guido Günther [Fri, 26 Aug 2011 08:46:32 +0000 (10:46 +0200)]
Add docstring
Git-Dch: Ignore
Guido Günther [Tue, 23 Aug 2011 07:45:50 +0000 (09:45 +0200)]
Fix pristine-tar error message
Guido Günther [Wed, 10 Aug 2011 20:25:59 +0000 (22:25 +0200)]
Document changes and release 0.5.30
Guido Günther [Wed, 10 Aug 2011 20:23:34 +0000 (22:23 +0200)]
gbp-pq: Use latest patches with --time-machine
When going back in history to find the point where the patches in
debian/patches still apply make sure we use the latest ones not the one
currently in the tree.
Guido Günther [Tue, 9 Aug 2011 17:21:45 +0000 (19:21 +0200)]
Fix missing branch name in error message
Guido Günther [Tue, 9 Aug 2011 17:17:37 +0000 (19:17 +0200)]
Ignore comments and empty lines in series files
Closes; #637224
Guido Günther [Sat, 30 Jul 2011 18:32:51 +0000 (20:32 +0200)]
Leave compression type detection to tar by default
Guido Günther [Sat, 30 Jul 2011 16:16:39 +0000 (18:16 +0200)]
Add known_compressions() to UpstreamSource
so we can use it for the DscFile parsing. This fixes the import of xz
compressed upstream tarballs.
Guido Günther [Wed, 3 Aug 2011 20:01:10 +0000 (22:01 +0200)]
Document meta tags
so one doesn't have to consult the manual
Git-Dch: Short
Closes: #636088
Thanks: Raphaël Hertzog for the suggestion
Guido Günther [Sat, 30 Jul 2011 13:46:02 +0000 (15:46 +0200)]
doc: epydoc updates
Git-Dch: Ignore
Guido Günther [Sat, 30 Jul 2011 13:08:09 +0000 (15:08 +0200)]
Document changes and release 0.5.29
Guido Günther [Sat, 30 Jul 2011 13:04:28 +0000 (15:04 +0200)]
Document --time-machine option
Guido Günther [Sat, 30 Jul 2011 08:46:22 +0000 (10:46 +0200)]
gbp-pq: add --time-mache=N option
to find the last commit the patch-queue applies to.
Guido Günther [Sat, 30 Jul 2011 09:55:20 +0000 (11:55 +0200)]
Don't return commits in a different order than git-log
Git-Dch: Ignore
Guido Günther [Sat, 30 Jul 2011 09:35:08 +0000 (11:35 +0200)]
gbp.git.GitRepository: Add first_parent option to commits()
Git-Dch: Ignore
Guido Günther [Sat, 30 Jul 2011 08:17:25 +0000 (10:17 +0200)]
Epydoc indentation
Git-Dch: Ignore
Guido Günther [Fri, 29 Jul 2011 16:23:42 +0000 (18:23 +0200)]
Build epydoc API documents by default
Guido Günther [Sat, 30 Jul 2011 07:30:22 +0000 (09:30 +0200)]
Robustify gbp.git.commits()
Git-Dch: Ignore
Guido Günther [Sat, 30 Jul 2011 07:22:42 +0000 (09:22 +0200)]
gbp-pq: Drop GitBranch in favour of repo.create_branch()
Git-Dch: Ignore
Guido Günther [Fri, 29 Jul 2011 17:24:04 +0000 (19:24 +0200)]
Add copyright headers to all non autogenerated files
Git-Dch: Ignore
Guido Günther [Fri, 29 Jul 2011 17:12:16 +0000 (19:12 +0200)]
Move GbpPatchQueue and GbpPatch into gbp.pq
Guido Günther [Fri, 29 Jul 2011 17:03:24 +0000 (19:03 +0200)]
Document changes and release 0.5.28
Guido Günther [Fri, 29 Jul 2011 16:10:25 +0000 (18:10 +0200)]
Fix some epydoc warnings
Git-Dch: Ignore
Guido Günther [Fri, 29 Jul 2011 15:06:55 +0000 (17:06 +0200)]
Split out GbpPatchQueue and GbpPatch
to handle "-p<num>" without munging the code further
Closes: #635873
Guido Günther [Fri, 29 Jul 2011 12:12:30 +0000 (14:12 +0200)]
Add strip option to GitRepository.apply
Guido Günther [Fri, 29 Jul 2011 11:58:54 +0000 (13:58 +0200)]
Better document --git-upstream-tree
Guido Günther [Fri, 29 Jul 2011 10:14:18 +0000 (12:14 +0200)]
Report errors reading the patch file
instead of throwing an exception.
Closes: #635872
Guido Günther [Wed, 27 Jul 2011 20:50:34 +0000 (22:50 +0200)]
Be less picky about empty filters
Closes: #635641
Guido Günther [Wed, 27 Jul 2011 20:45:34 +0000 (22:45 +0200)]
git-import-orig: Clarify missing argument error message
Guido Günther [Tue, 26 Jul 2011 20:21:16 +0000 (22:21 +0200)]
Document changes and release 0.5.27
Guido Günther [Tue, 26 Jul 2011 20:28:13 +0000 (22:28 +0200)]
Build-Depend on uznip for the testsuite
Git-Dch: Ignore
Guido Günther [Mon, 25 Jul 2011 21:02:29 +0000 (23:02 +0200)]
git-dch: add formatter that wraps the changelog entry
Closes: #626439
Guido Günther [Mon, 25 Jul 2011 15:49:47 +0000 (17:49 +0200)]
git-import-orig: split out package and version detection
Git-Dch: Ignore
Guido Günther [Mon, 25 Jul 2011 15:40:11 +0000 (17:40 +0200)]
Drop unpack_orig and tar_toplevel
Guido Günther [Mon, 25 Jul 2011 18:56:10 +0000 (20:56 +0200)]
Catch empty package names
This can happen in empty repositories when importing non tarball
upstream source.
Git-Dch: Ignore
Guido Günther [Mon, 25 Jul 2011 18:53:16 +0000 (20:53 +0200)]
Strip trailing '/' from the unpack path
so the dirname/basename split works reliably
Git-Dch: Ignore
Guido Günther [Mon, 25 Jul 2011 13:02:08 +0000 (15:02 +0200)]
Add tests for UpstreamSource
* tar and zipfile unpacking
* (filtered) tar packing
Guido Günther [Sun, 24 Jul 2011 20:57:01 +0000 (22:57 +0200)]
git-import-orig: support filters for all input formats
Closes: #628645
Guido Günther [Sun, 24 Jul 2011 13:44:57 +0000 (15:44 +0200)]
Remove fastimport code
since it didn't support filters, etc.
Guido Günther [Sun, 24 Jul 2011 12:52:12 +0000 (14:52 +0200)]
Support importing zip archives
This can now be easily extended to support other formats
Guido Günther [Mon, 25 Jul 2011 10:07:36 +0000 (12:07 +0200)]
Remove pychecker option that's already the default
Git-Dch: Ignore
Guido Günther [Mon, 25 Jul 2011 09:36:26 +0000 (11:36 +0200)]
Reenable pychecker checks
Guido Günther [Mon, 25 Jul 2011 09:35:54 +0000 (11:35 +0200)]
Drop unused funciton argument
spotted by pychecker
Git-Dch: Ignore
Guido Günther [Mon, 25 Jul 2011 09:31:01 +0000 (11:31 +0200)]
gbp-pbuilder is no more
Git-Dch: Ignore
Guido Günther [Sun, 24 Jul 2011 13:41:25 +0000 (15:41 +0200)]
Switch to dh_python2