Skip to content

Commit

Permalink
Merge branch 'devel' into features/bitbucket
Browse files Browse the repository at this point in the history
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
  • Loading branch information
guyzmo committed Feb 7, 2017
2 parents 7c68ece + ea4fc21 commit 96a74ce
Show file tree
Hide file tree
Showing 37 changed files with 2,116 additions and 402 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ matrix:
- os: linux
python: "3.5"
- os: linux
python: "3.5-dev"
python: "3.6"
- os: linux
python: "3.6-dev"
- os: linux
Expand Down
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ very simple. To clone a new project, out of GitHub, just issue:

% git hub clone guyzmo/git-repo

But that works also with a project from GitLab, Bitbucket, or your own GitLab:
But that works also with a project from GitLab, Bitbucket, your own GitLab or Gogs:

% git lab clone guyzmo/git-repo
% git bb clone guyzmo/git-repo
% git myprecious clone guyzmo/git-repo
% git gg clone guyzmo/git-repo

If you want to can choose the default branch to clone:

Expand Down Expand Up @@ -152,14 +153,21 @@ section in the gitconfig:
username = ford.prefect
token = YourOtherSecretKey

Here, we're setting the basics, just the private token..
[gitrepo "gogs"]
fqdn = UrlOfYourGogs
token = YourVerySecretKey

Here, we're setting the basics: just the private token. You'll notice that for bitbucket
the private token is your username and password seperated by a column. That's because
bitbucket does not offer throw away private tokens for tools (I might implement BB's OAuth
at some point).

You also have the ability to set up an alias:

[gitrepo "bitbucket"]
alias = bit
username = ford.prefect
token = YourOtherSecretKey
token = YourOtherSecretKey

that will change the command you use for a name you'll prefer to handle actions
for the service you use:
Expand Down Expand Up @@ -252,9 +260,11 @@ To use your own credentials, you can setup the following environment variables:
* `GITHUB_NAMESPACE` (which defaults to `not_configured`) is the name of the account to use on GitHub
* `GITLAB_NAMESPACE` (which defaults to `not_configured`) is the name of the account to use on GitLab
* `BITBUCKET_NAMESPACE` (which defaults to `not_configured`) is the name of the account to use on Bitbucket
* `GOGS_NAMESPACE` (which defaults to `not_configured`) is the name of the account to use on Gogs
* `PRIVATE_KEY_GITHUB` your private token you've setup on GitHub for your account
* `PRIVATE_KEY_GITLAB` your private token you've setup on GitLab for your account
* `PRIVATE_KEY_BITBUCKET` your private token you've setup on Bitbucket for your account
* `PRIVATE_KEY_GOGS` your private token you've setup on Gogs for your account

### TODO

Expand All @@ -268,10 +278,10 @@ To use your own credentials, you can setup the following environment variables:
* [x] show a nice progress bar, while it's fetching (cf [#15](https://github.com/guyzmo/git-repo/issues/15))
* [x] add support for handling gists (cf [#12](https://github.com/guyzmo/git-repo/issues/12) and [#13](https://github.com/guyzmo/git-repo/issues/13))
* [x] add support for handling pull requests (cf [#10](https://github.com/guyzmo/git-repo/issues/10) and cf [#11](https://github.com/guyzmo/git-repo/issues/11))
* [x] add support for gogs (cf [#18](https://github.com/guyzmo/git-repo/issues/18))
* [x] add application token support for bitbucket (cf [#14](https://github.com/guyzmo/git-repo/issues/14))
* [ ] add support for managing SSH keys (cf [#22](https://github.com/guyzmo/git-repo/issues/22))
* [ ] add support for issues?
* [ ] add support for gogs (cf [#18](https://github.com/guyzmo/git-repo/issues/18))
* [ ] add support for gerrit (cf [#19](https://github.com/guyzmo/git-repo/issues/19))
* [ ] do what's needed to make a nice documentation — if possible in markdown !@#$
* for more features, write an issue or, even better, a PR!
Expand All @@ -284,6 +294,7 @@ The project and original idea has been brought and is maintained by:

With code contributions coming from:

* [@PyHedgehog](https://github.com/pyhedgehog)[commits](https://github.com/guyzmo/git-repo/commits?author=pyhedgehog)
* [@guyhughes](https://github.com/guyhughes)[commits](https://github.com/guyzmo/git-repo/commits?author=guyhughes)
* [@buaazp](https://github.com/buaazp)[commits](https://github.com/guyzmo/git-repo/commits?author=buaazp)
* [@peterazmanov](https://github.com/peterazmanov)[commits](https://github.com/guyzmo/git-repo/commits?author=peterazmanov)
Expand All @@ -292,7 +303,7 @@ With code contributions coming from:

### License

Copyright ©2016 Bernard `Guyzmo` Pratz <guyzmo+git-repo+pub@m0g.net>
Copyright ©2016,2017 Bernard `Guyzmo` Pratz <guyzmo+git-repo+pub@m0g.net>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

Loading

0 comments on commit 96a74ce

Please sign in to comment.