summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-26import-dsc: print filename instead of object nameGuido Günther
2013-06-26config: Don't fill in the parser with all defaultsGuido Günther
There's no need to fill the parser with all the built in defaults since we can simply copy them to the config from the class dict. This allows us to first set the values from the old {git,gbp}-* commands and then only overwrite changed values from the newer "gbp <command>" versions. Otherwise we'd overwite all old style config with the new style one. This also fixes the problem where the default section wouldn't be read at all if the command doesn't even have an empty section in any gbp.conf file.
2013-06-26Fix typoGuido Günther
Git-Dch: Ignore
2013-06-26gbp-import-dscs: invoke gbp import-dscGuido Günther
instead of git-import-dsc
2013-06-26Consistently call gbp the supercommandGuido Günther
and robustify against invalid modules names.
2013-06-26gbp: support --helpGuido Günther
2013-06-26Update package descriptionGuido Günther
2013-06-26NEWS: add a note about the new gbp super commandGuido Günther
2013-06-26Rename the sgml files from git- to gbp-Guido Günther
2013-06-26gbp.conf: Use command names instead of {git,gbp}-Guido Günther
2013-06-26docs: Rename the entities from &git-<command>; to &gbp-<command>;Guido Günther
2013-06-26manpages: Changes references from git- to gbp-Guido Günther
2013-06-26docs: Use gbp <command> instead of {git,gbp}-<command>Guido Günther
2013-06-26Add gbp manpageGuido Günther
2013-06-26Bash complete on "gbp <command>" tooGuido Günther
2013-06-26Git-Ignore generated gbp.conf.5 tooGuido Günther
2013-06-19GbpOptionParser: add test for 'filter' option handlingGuido Günther
2013-06-19GbpOptionParser: Make sure we parse the old config sectionsGuido Günther
For backward compatibility between {gbp,git}-<subcommand> and "gbp <subcommand>" make sure we parse the former sections if using the later.
2013-06-19GbpOptionParser: Make sure we access the GbpOptionParser*'s default dictGuido Günther
and not the one from the OptionParser. The instance's default dict this gets reset to empty when invoking OptionParser.__init__.
2013-06-18Add wrapper for all gbp commandsGuido Günther
So like git you can now use gbp <command> instead of git-<command> or gbp-<command>. The manpages and docs aren't adjusted yet.
2013-06-13GitRepository/diff: allow single objectMarkus Lehtonen
Allow diffing a single object, e.g. getting diff from single commit. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-06-11Simplify expressionGuido Günther
Git-Dch: Ignore
2013-06-11GitRepository.get_subject: use get_commit_infoGuido Günther
This kills another _git_getoutput. Also deprecate the method since we don't need to special case the subject.
2013-06-11buildpackage: use get_commit_info() instead of get_subject()Markus Lehtonen
Utilize the get_commit_info() method of GitRepository instead of the deprecated get_subject(). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-06-11Remove unused importsGuido Günther
2013-06-06import-orig: keep working copy in sync with branch HEADMarkus Lehtonen
Update working copy and index (to branch HEAD) if we modify the currently checked-out branch. Otherwise the repository is left in unclean state when the current branch is upstream or pristine-tar and the '--no-merge' option is used. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-06-06GitRepository/get_commit_info: add patchname to infoMarkus Lehtonen
Add a new 'patchname' field to the information returned by get_commit_info. That is, the subject in a sanitized format, similar to what git-format-patch uses. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-06-06gitmodifier: make the datetime object always have timezoneMarkus Lehtonen
To be consistent with the date property and for easier compatibility with git dates. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-05-30Document changes and release 0.6.0~git20130630Guido Günther
2013-05-30Add Jenkins Scratchbuilder exampleGuido Günther
It's a simple script that can be used to build Debian packages via gbp and Jenkins.
2013-05-17git-buildpackage: Unbreak overlay modeGaudenz Steinlin
Signed-off-by: Guido Günther <agx@sigxcpu.org> Closes: #708636
2013-05-08GitRepository: Use LC_ALL=C when checking featuresGuido Günther
This fixes the doctest and also makes sure we use an up to date manpage. Thanks: Daniel Dehennin for the report
2013-05-06Document changes and release 0.6.0~git20130506Guido Günther
2013-05-04manpages: Document gbp-pull's --ignore-branch optionGuido Günther
2013-05-04gbp-pull: Fix typo in help outputGuido Günther
2013-05-02GitRepository Use _git_inout in get_branchGuido Günther
to suppress the confusiong "fatal: ref HEAD is not a symbolic ref". We alrady put out a more descriptive error message. This makes using --ignore-branch look far less dangerous.
2013-05-02Add --ignore-branch to gbp-pullGuido Günther
This allows us to fetch upstream and pristine-tar even when in detached head state. This can be usefull when e.g. building in jenkins which uses a detached head by default.
2013-05-02dch: make sure branch is always definedGuido Günther
This fixes a problem when running git-dch form a detached HEAD
2013-04-30trivial: simplify option assignmentGuido Günther
to ease readability
2013-04-30Silence test_debian_missing_authorGuido Günther
and better use the output for verification
2013-04-29Silence dpkg --compare-versionsGuido Günther
and add the error detail to the exception message. This silences the testsuite and makes sure we have error message and exception output in sync.
2013-04-29Use Popen.communicate instead of subprocess callGuido Günther
so we can capture stderr and use it in error messages intead of spewing it on the console.
2013-04-29Make parse_dsc a classmethod of DscFileGuido Günther
so we have the object creation close to the object itself.
2013-04-29ChangeLog: Remove is_nativeGuido Günther
to avoid accidental usage. Use DebianSource.is_native instead.
2013-04-29dch: Use DebianSource.is_nativeGuido Günther
instead of ChangeLog.is_native since the former used debian/source/format in favor of debian/changelog.
2013-04-29Revert "Use Popen.communicate instead of subprocess call"Guido Günther
This reverts commit 0c582cd827f164168a313e0bb4eabf9487bdd088.
2013-04-29Use Popen.communicate instead of subprocess callGuido Günther
so we can caputure stderr and pass it along with any errors.
2013-04-27GitRepository.has_feature: capture stderrGuido Günther
to avoid spurious output on the console and add the error message to the exception intead.
2013-04-27GitRepository.commit_dir: raise GitRepositoryError instead of GbpErrorGuido Günther
and make sure the callers forward the error properly
2013-04-27Silence GitRepository.write_treeGuido Günther
but add any error output to the exception instead. All callers have been audited to properly output the message if needed.