summaryrefslogtreecommitdiff
path: root/gbp/scripts/pull.py
AgeCommit message (Collapse)Author
2014-08-23Unify doc strings a bitGuido Günther
since they now show up with --list-cmds
2014-04-03config: add decorator to add_option_* functionsGuido Günther
This allows us to build an internal list of valid options and print these.
2014-03-29Use a much simpler version to fix the command name in --helpGuido Günther
mostly reverting e1780f0. Closes: #742907
2014-03-27Fix command outputGuido Günther
The first line lacked the subcommand like: $ gbp pull --help Usage: gbp [options] - safely update a repository from remote instead of $ gbp pull --help Usage: gbp pull [options] - safely update a repository from remote ^^^^
2014-01-05Avoid backtrace on config file parse errorsGuido Günther
"gbp buildpackage" did this already but others didn't Closes: #733759
2013-05-04gbp-pull: Fix typo in help outputGuido Günther
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-03-22gbp-pull: update tags, tooMarkus Lehtonen
To make sure that the tags are in sync with the remote. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-01-17gbp-pull: fix --depth cmdline optionMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-11-25New configuration option for setting the output color schemeMarkus Lehtonen
Adds a new command line and config file option 'color-scheme' for selecting the colors used in log output. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-07-28GitRepository: raise GitRepositoryError on git errorsGuido Günther
Raise GitRepositoryError in cases where CommandExecFailed (from GitCommand) was previously silently passed forward. Heavily based on a patch by Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-07-02Make exception syntax consistentGuido Günther
2012-02-13Rename GbpOptionParserCommon common to GbpOptionParserGuido Günther
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-10gbp-pull: Use a DebianGitRepositoryGuido Günther
Closes: #59290
2012-01-22PristineTar: move to separate moduleGuido Günther
and make it accessible from GitRepository to group checkout/checkin/lookup.
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.
2011-11-06gbp-pull: massive speedup by just updating the refGuido Günther
to the remote's SHA1 instead of checking out the branch and doing a fast-forward merge.
2011-11-01Get rid of the symlinkGuido Günther
by moving the commands to gbp/scripts/