aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/create_remote_repo.py
Commit message (Collapse)AuthorAge
* create_remote_repo: import urllib.parseCarsten Schoenert2018-06-10
| | | | | | urllib.parse did not get imported in packaegs without changelog. Signed-off-by: Guido Günther <agx@sigxcpu.org>
* create_remote_repo: fix typoMarkus Lehtonen2017-12-16
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* print is a function in Python3Guido Günther2017-11-12
| | | | Gbp-Dch: Ignore
* Kill six.movesGuido Günther2017-10-20
|
* create_remote_repo: another missing python3 string conversionGuido Günther2017-09-30
|
* Use compact forms of logging functionsGuido Günther2016-12-26
|
* create_remote_repo: allow to list config sectionsGuido Günther2016-12-09
|
* create_remote_repo: move repo creation to separate functionGuido Günther2016-12-09
| | | | Gbp-Dch: Ignore
* create_remote_repo.parse_args: drop unused argumentGuido Günther2016-12-09
|
* Fix new flake8 errorsGuido Günther2016-11-15
| | | | E305 expected 2 blank lines after class or function definition
* create-remote-repo: print proper error message on missing remote-configsGuido Günther2016-10-20
| | | | instead of printing the exception to the console.
* create_remote_repo: allow to create non bare repositoriesGuido Günther2016-09-12
| | | | Closes: #837158
* create_remote_config: It's 'gbp pull' not 'gbp-pull'Guido Günther2016-09-12
|
* create_remote_repo: flake8 cleanGuido Günther2016-09-12
|
* create_remote_repo: move build_remote_script test to separate fileGuido Günther2016-09-12
| | | | Git-Dch: Ignore
* pep8/pyflakes cleanupsGuido Günther2016-09-12
|
* 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
|
* create_remote_repo: Don't fail if current repo does not have any branchesGuido Günther2016-04-21
| | | | Closes: #822089
* Use --set-upstream-to instead of deprecated --set-upstreamGuido Günther2015-07-08
| | | | Closes: #791798
* 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 renamed urlparse in Python3Guido Günther2015-02-20
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* Use six.iteritems() and six.iterkeys()Guido Günther2015-02-20
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* Handle ConfigParser -> configparser renameGuido Günther2015-02-20
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* Don't use print as a statementGuido Günther2015-02-20
| | | | | | | | | | via 2to3-3.4 -w -f print . to work towards python3 support Gbp-Dch: Ignore
* Make Debian and Git spelling consistentGuido Günther2015-01-22
|
* 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 ^^^^
* gbp-create-remote-repo: Set HEAD in remote repoGuido Günther2012-11-25
| | | | | | to debian branch Closes: #692006
* 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>
* Add issing git- prefix to --color and --notify optionsGuido Günther2012-11-23
| | | | | Thanks: Filippo Rusconi Closes: #693978
* 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>
* gbp-create-remote-repo: add --remote-configGuido Günther2012-03-21
| | | | | This specifies an additional config file section that can be used to preconfigure different remote locations.
* gbp-create-remote-repo: move option parsing to separate functionGuido Günther2012-03-21
| | | | Git-Dch: Ignore
* gbp create-remote-repo: allow to pass template directoryGuido Günther2012-03-21
| | | | to git init so it's possible to set up remote hooks.
* gbp-create-remote-repo: Cleanup raise statementsGuido Günther2012-03-21
| | | | Git-Dch: Ignore
* gbp-create-remote-repo: test generated configGuido Günther2012-03-19
| | | | Git-Dch: Ignore
* gbp-create-remote-repo: improve remote script readabilityGuido Günther2012-03-19
| | | | Git-Dch: Ignore
* gbp-create-remote-repo: make command and script generation testableGuido Günther2012-03-19
|
* gbp-create-remote-repo: allow to use local file transport tooGuido Günther2012-03-19
|
* gbp-create-remote-repo: don't expect a terminalGuido Günther2012-03-18
| | | | so you can do 'echo y | gbp-create-remote-repo'
* gbp-create-remote-repo: Use DebianGitRepositoryGuido Günther2012-03-18
| | | | Closes: #664283
* 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>
* PristineTar: move to separate moduleGuido Günther2012-01-22
| | | | | and make it accessible from GitRepository to group checkout/checkin/lookup.
* Add ChangeLog classGuido Günther2011-11-28
| | | | making it easier to query versions. Add tests.
* Get rid of the symlinkGuido Günther2011-11-01
by moving the commands to gbp/scripts/