summaryrefslogtreecommitdiff
path: root/gbp/scripts/clone.py
AgeCommit message (Collapse)AuthorFilesLines
2013-04-03Import RpmGitRepository if DebianGitRepository is not availableZhang Qiang1-3/+6
This is just a workaround, this should be fixed in nicer way by refactoring the code. Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
2013-04-03Add 'packaging-branch' cmdline optionMarkus Lehtonen1-0/+1
This is the counterpart of 'debian-branch' (basically identical to that) to not confuse rpm maintainers. Also, adds this option to gbp-clone and gbp-pull commands (as an alternative to the 'debian-branch option), which are usable for RPM in their current form. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-04-03Rename internal var debian_branch -> packaging_branchMarkus Lehtonen1-3/+3
This is done in sake of more general purpose naming, intended for enabling rpm support. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-01-17gbp-clone: fix return value in case of GitRepositoryErrorMarkus Lehtonen1-1/+1
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-11-25New configuration option for setting the output color schemeMarkus Lehtonen1-1/+3
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ünther1-3/+3
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ünther1-1/+1
2012-02-13Rename GbpOptionParserCommon common to GbpOptionParserGuido Günther1-3/+3
2012-02-13Refactor config.py as preparation for rpm support.Markus Lehtonen1-3/+3
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-01-22PristineTar: move to separate moduleGuido Günther1-5/+5
and make it accessible from GitRepository to group checkout/checkin/lookup.
2012-01-17Add git-depth option to gbp-clone and gbp-pullMarkus Lehtonen1-1/+3
Allows creating and deepening shallow clones. This is sometimes useful for e.g. saving bandwidth when cloning.
2011-11-01Get rid of the symlinkGuido Günther1-0/+113
by moving the commands to gbp/scripts/