aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/pull.py
Commit message (Collapse)AuthorAge
* gbp-pull: Invoke gbp pq correctly for --redo-pq optionSimon McVittie2018-12-29
| | | | | | | | `gbp pull --redo-pq` assumed that `gbp-pq` exists in PATH, which isn't normally true since 0.6.24 (2015). Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #917637
* pull: allow to set up branch tracking for missing branchesGuido Günther2018-08-08
| | | | If the remote branch does not exist at all that's currently not fatal.
* clone: split out remote name logicGuido Günther2018-08-08
| | | | Gbp-Dch: Ignore
* pull: Check that repo is clean before fetching anythingGuido Günther2018-08-08
|
* 8bit GuidoGuido Günther2018-02-26
|
* gbp-pull: implement --all cmdline optionMarkus Lehtonen2018-01-23
| | | | | | | | This updates all remote-tracking branches (for the remote that is fetched from) whose local branch name is identical to the remote branch name. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Drop another --git- prefixGuido Günther2017-09-14
| | | | Git-Dch: Ignore
* pull: give more detail about what we updatedGuido Günther2017-04-14
|
* pull: Allow to specify remote on the command lineGuido Günther2017-01-19
| | | | Closes: #851844
* Fix new flake8 errorsGuido Günther2016-11-15
| | | | E305 expected 2 blank lines after class or function definition
* Give more instructions when config is unparseableGuido Günther2016-07-04
| | | | | | | | and make return codes and messages consistent. This allows us to move some test code from the component tests to the unit tests which is always nice. Closes: #733640
* buildpackage: Handle Ctrl-C more gracefullyGuido Günther2016-07-04
|
* pull: make pylint happyGuido Günther2015-08-13
| | | | Gbp-Dch: Ignore
* Fix FSF address - thanks rpmlintEvgeni Golov2015-06-22
| | | | use gnu.org/licences instead of a postal address, as suggested by Guido
* Extract exception message in a less arcane wayGuido Günther2015-03-27
|
* Handle ConfigParser -> configparser renameGuido Günther2015-02-20
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* Unify doc strings a bitGuido Günther2014-08-23
| | | | since they now show up with --list-cmds
* config: add decorator to add_option_* functionsGuido Günther2014-04-03
| | | | | This allows us to build an internal list of valid options and print these.
* Use a much simpler version to fix the command name in --helpGuido Günther2014-03-29
| | | | | | mostly reverting e1780f0. Closes: #742907
* Fix command outputGuido Günther2014-03-27
| | | | | | | | | | | | | 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 ^^^^
* Avoid backtrace on config file parse errorsGuido Günther2014-01-05
| | | | | | "gbp buildpackage" did this already but others didn't Closes: #733759
* gbp-pull: Fix typo in help outputGuido Günther2013-05-04
|
* Add --ignore-branch to gbp-pullGuido Günther2013-05-02
| | | | | | 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.
* gbp-pull: update tags, tooMarkus Lehtonen2013-03-22
| | | | | | To make sure that the tags are in sync with the remote. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* gbp-pull: fix --depth cmdline optionMarkus Lehtonen2013-01-17
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* New configuration option for setting the output color schemeMarkus Lehtonen2012-11-25
| | | | | | | 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>
* GitRepository: raise GitRepositoryError on git errorsGuido Günther2012-07-28
| | | | | | | 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>
* Make exception syntax consistentGuido Günther2012-07-02
|
* Rename GbpOptionParserCommon common to GbpOptionParserGuido Günther2012-02-13
|
* Refactor config.py as preparation for rpm support.Markus Lehtonen2012-02-13
| | | | | | | | | | | 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>
* gbp-pull: Use a DebianGitRepositoryGuido Günther2012-02-10
| | | | Closes: #59290
* PristineTar: move to separate moduleGuido Günther2012-01-22
| | | | | and make it accessible from GitRepository to group checkout/checkin/lookup.
* Add git-depth option to gbp-clone and gbp-pullMarkus Lehtonen2012-01-17
| | | | | Allows creating and deepening shallow clones. This is sometimes useful for e.g. saving bandwidth when cloning.
* gbp-pull: massive speedup by just updating the refGuido Günther2011-11-06
| | | | | to the remote's SHA1 instead of checking out the branch and doing a fast-forward merge.
* Get rid of the symlinkGuido Günther2011-11-01
by moving the commands to gbp/scripts/