5
5
* https://gitlab.com/guyzmo/git-repo
6
6
* https://bitbucket.org/guyzmo/git-repo
7
7
* Issues: https://github.com/guyzmo/git-repo/issues
8
- * [ ![ Show Travis Build Status] ( https://travis-ci.org/guyzmo/git-repo.svg )] ( https://travis-ci.org/guyzmo/git-repo )
8
+ * [ ![ Issues in Ready ] ( https://badge.waffle.io/guyzmo/git-repo.png?label=ready&title=Ready )] ( https://waffle.io/guyzmo/git-repo ) [ ![ Issues in Progress ] ( https://badge.waffle.io/guyzmo/git-repo.png?label=in%20progress&title=Progress )] ( https://waffle.io/guyzmo/git-repo ) [ ![ Show Travis Build Status] ( https://travis-ci.org/guyzmo/git-repo.svg )] ( https://travis-ci.org/guyzmo/git-repo )
9
9
* [ ![ Pypi Version] ( https://img.shields.io/pypi/v/git-repo.svg ) ![ Pypi Downloads] ( https://img.shields.io/pypi/dm/git-repo.svg )] ( https://pypi.python.org/pypi/git-repo )
10
10
11
11
### Usage
12
12
13
+ ### main commands
14
+
13
15
Control your remote git hosting services from the ` git ` commandline. The usage is
14
16
very simple. To clone a new project, out of github, just issue:
15
17
@@ -48,6 +50,13 @@ and of course, you can delete it using:
48
50
49
51
% git bb delete guyzmo/git-repo
50
52
53
+ Also, you can open the repository's page, using the ` open ` command:
54
+
55
+ % git lab open guyzmo/git-repo
56
+ Successfully fetched branch `2` of `guyzmo/git-repo` into `request-2`!
57
+
58
+ ### Requests for merges * (aka Pull Requests aka Merge Requests)*
59
+
51
60
Once you're all set with your repository, you can check requests to merge
52
61
(aka Pull Requests on github) using the ` request ` command:
53
62
@@ -60,10 +69,11 @@ And fetch it locally to check and/or amend it before merging:
60
69
61
70
% git hub request guyzmo/git-repo fetch 2
62
71
63
- Finally, you can open the repository's page, using the ` open ` command :
72
+ Or you can create a pull-request by doing a :
64
73
65
- % git lab open guyzmo/git-repo
66
- Successfully fetched branch `2` of `guyzmo/git-repo` into `request-2`!
74
+ % git hub request create guyzmo/git-repo myfeature master 'My neat feature' -m 'So much to say about that feature…'
75
+
76
+ ### Gists or snippets
67
77
68
78
Finally, another extra feature you can play with is the gist handling:
69
79
@@ -119,8 +129,17 @@ or by getting the sources and running:
119
129
120
130
### Configuration
121
131
122
- To configure ` git-repo ` you need to tweak your ` ~/.gitconfig ` . For each service
123
- you've got an account on, you have to make a section in the gitconfig:
132
+ To configure ` git-repo ` you simply have to call the following command:
133
+
134
+ % git repo config
135
+
136
+ and a wizard will run you through getting the authentication token for the
137
+ service, add the command alias or the name of the remote. Though, configuring
138
+ custom services is still not handled by the wizard…
139
+
140
+ But if you prefer manual configuration you'll have to tweak your
141
+ ` ~/.gitconfig ` . For each service you've got an account on, you have to make a
142
+ section in the gitconfig:
124
143
125
144
[gitrepo "gitlab"]
126
145
token = YourVerySecretKey
@@ -218,21 +237,21 @@ To use your own credentials, you can setup the following environment variables:
218
237
* [x] refactor the code into multiple modules
219
238
* [x] add regression tests (and actually find a smart way to implement them…)
220
239
* [x] add travis build
240
+ * [x] show a nice progress bar, while it's fetching (cf [ #15 ] ( https://github.com/guyzmo/git-repo/issues/15 ) )
221
241
* [ ] add support for handling gists
222
242
* [x] github support
223
- * [ ] gitlab support
224
- * [ ] bitbucket support
243
+ * [ ] gitlab support (cf [ # 12 ] ( https://github.com/guyzmo/git-repo/issues/12 ) )
244
+ * [ ] bitbucket support (cf [ # 13 ] ( https://github.com/guyzmo/git-repo/issues/13 ) )
225
245
* [ ] add support for handling pull requests
226
- * [x] list them
227
- * [x] fetch them as local branches
228
246
* [x] github support
229
- * [ ] gitlab support
230
- * [ ] bitbucket support
231
- * [ ] add OAuth support for bitbucket
232
- * [ ] show a nice progress bar, while it's fetching
233
- * partly implemented: the issue looks like that gitpython expects output from git
234
- on stderr, whereas it's outputing on stdout.
235
- * [ ] do what's needed to make a nice documentation (if possible in markdown !@#$)
247
+ * [ ] gitlab support (cf [ #10 ] ( https://github.com/guyzmo/git-repo/issues/10 ) )
248
+ * [ ] bitbucket support (cf [ #11 ] ( https://github.com/guyzmo/git-repo/issues/11 ) )
249
+ * [ ] add OAuth support for bitbucket (cf [ #14 ] ( https://github.com/guyzmo/git-repo/issues/14 ) )
250
+ * [ ] add support for managing SSH keys (cf [ #22 ] ( https://github.com/guyzmo/git-repo/issues/15 ) )
251
+ * [ ] add support for issues?
252
+ * [ ] add support for gogs (cf [ #18 ] ( https://github.com/guyzmo/git-repo/issues/18 ) )
253
+ * [ ] add support for gerrit (cf [ #19 ] ( https://github.com/guyzmo/git-repo/issues/19 ) )
254
+ * [ ] do what's needed to make a nice documentation — if possible in markdown !@#$
236
255
* for more features, write an issue or, even better, a PR!
237
256
238
257
### License
0 commit comments