hub 1.10.6 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of hub might be problematic. Click here for more details.
- data/README.md +30 -62
- data/Rakefile +24 -15
- data/bin/bench +37 -0
- data/lib/hub.rb +1 -0
- data/lib/hub/commands.rb +178 -57
- data/lib/hub/context.rb +63 -20
- data/lib/hub/github_api.rb +193 -71
- data/lib/hub/speedy_stdlib.rb +107 -0
- data/lib/hub/ssh_config.rb +1 -1
- data/lib/hub/standalone.rb +31 -3
- data/lib/hub/version.rb +1 -1
- data/man/hub.1 +46 -23
- data/man/hub.1.html +46 -29
- data/man/hub.1.ronn +30 -15
- data/script/cached-bundle +46 -0
- data/script/s3-put +71 -0
- data/script/test +41 -0
- data/script/test_each +9 -0
- data/test/context_test.rb +79 -0
- data/test/fakebin/git +1 -1
- data/test/fakebin/open +2 -2
- data/test/github_api_test.rb +79 -0
- data/test/helper.rb +2 -2
- data/test/hub_test.rb +85 -197
- data/test/standalone_test.rb +6 -2
- metadata +22 -15
- data/HISTORY.md +0 -244
data/HISTORY.md
DELETED
@@ -1,244 +0,0 @@
|
|
1
|
-
## 1.10.6 (2013-04-25)
|
2
|
-
|
3
|
-
* compensate for new GitHub API enforcement
|
4
|
-
* fix asking for password on Ruby <= 1.8.6
|
5
|
-
* fix `fetch` for forks where username contains a dash
|
6
|
-
|
7
|
-
## 1.10.5 (2013-03-02)
|
8
|
-
|
9
|
-
* helpful `pull-request` error message when base project is invalid
|
10
|
-
* fix `compare` for ranges containing "owner:branch" notation
|
11
|
-
* enable `--name` argument for `submodule add`
|
12
|
-
|
13
|
-
## 1.10.4 (2012-12-29)
|
14
|
-
|
15
|
-
* fixes for Windows
|
16
|
-
* display more validation errors on GitHub API failures
|
17
|
-
* persist correctly capitalized GitHub login name
|
18
|
-
|
19
|
-
## 1.10.3 (2012-11-22)
|
20
|
-
|
21
|
-
* fix `browse` on Windows
|
22
|
-
* fix hub on JRuby
|
23
|
-
* try fixing Ruby 1.8.7 error with API requests
|
24
|
-
* fix various edge cases around `create` command
|
25
|
-
* have `fork` set up a remote even if own fork already exists
|
26
|
-
* fix `pull-request` with Unicode chars on Ruby 1.8
|
27
|
-
* respect $GITHUB_USER & $GITHUB_PASSWORD
|
28
|
-
* improve reading git remotes configuration
|
29
|
-
|
30
|
-
## 1.10.2 (2012-07-24)
|
31
|
-
|
32
|
-
* fix pushing multiple refs to multiple remotes
|
33
|
-
* support ssh.github.com
|
34
|
-
* security: mode for ~/.config/hub is 0600
|
35
|
-
* fix integration with GitHub Enterprise API
|
36
|
-
* fix cloning repos that start with a period
|
37
|
-
|
38
|
-
## 1.10.1 (2012-05-28)
|
39
|
-
|
40
|
-
* don't choke on empty config file
|
41
|
-
* fix `browse` when not in git repo
|
42
|
-
|
43
|
-
## 1.10.0 (2012-05-08)
|
44
|
-
|
45
|
-
* improve improved help text
|
46
|
-
* fix GitHub username prompt in `create` command
|
47
|
-
* make `fetch` command work with private repos too
|
48
|
-
* add `merge` command to merge pull requests
|
49
|
-
|
50
|
-
## 1.9.0 (2012-05-04)
|
51
|
-
|
52
|
-
* internal refactoring and code reorganization
|
53
|
-
* switch to GitHub API v3 and authenticate via OAuth
|
54
|
-
* auth info is now stored in ~/.config/hub instead of ~/.gitconfig
|
55
|
-
|
56
|
-
## 1.8.4 (2012-03-20)
|
57
|
-
|
58
|
-
* add bash, zsh completion
|
59
|
-
* improve `hub alias` command
|
60
|
-
* change `git fork` so it fails when repo already exists under user
|
61
|
-
* teach custom commands to respect `-h` & `--help` flags
|
62
|
-
* `pull-request`: better error message for invalid remotes/URLs
|
63
|
-
* respect local SSH aliases for host names
|
64
|
-
|
65
|
-
## 1.8.3 (2012-03-02)
|
66
|
-
|
67
|
-
* fix `pull-request` from branch tracking another local branch
|
68
|
-
* fix `browse` command when not on any branch
|
69
|
-
|
70
|
-
## 1.8.2 (2012-02-07)
|
71
|
-
|
72
|
-
* if `pull-request` editor is vim, set appropriate filetype
|
73
|
-
* `pull-request` editor message defaults to single commit message
|
74
|
-
* fix cherry-picking from an existing remote
|
75
|
-
* fix `clone` from local repository
|
76
|
-
* `checkout` command forwards flags to internal checkout command,
|
77
|
-
force-resets the existing local branch by default
|
78
|
-
* fix `am` command when given URLs that include the fragment
|
79
|
-
|
80
|
-
## 1.8.1 (2012-01-24)
|
81
|
-
|
82
|
-
* fix JSON parsing error while using GitHub API
|
83
|
-
* HTTP(S) proxy support
|
84
|
-
|
85
|
-
## 1.8.0 (2012-01-03)
|
86
|
-
|
87
|
-
* fix `pull-request` on GH Enterprise project branch without upstream
|
88
|
-
* ensure Content-Length for POST requests
|
89
|
-
* handle pull requests from private repos
|
90
|
-
* support branches with slashes in their name
|
91
|
-
* display server errors when creating pullrequest fails
|
92
|
-
* support GitHub Enterprise via multiple whitelisted host names
|
93
|
-
* GitHub remote urls don't have to necessarily end in ".git"
|
94
|
-
* fix `git init -g`
|
95
|
-
* authenticate all API requests, helps dealing with private repos
|
96
|
-
* ensure periods are allowed in repository names
|
97
|
-
* fix am/apply commands if TMPDIR environment variable isn't set
|
98
|
-
|
99
|
-
## 1.7.0 (2011-11-24)
|
100
|
-
|
101
|
-
* lock down standalone script to system ruby
|
102
|
-
* don't try to use command output pager on Windows
|
103
|
-
* opt in for HTTPS: `git config hub.protocol https`
|
104
|
-
* add `hub pull-request`
|
105
|
-
* improve detecting upstream configuration ("tracking" branches)
|
106
|
-
* introduce `hub --noop`
|
107
|
-
* `hub apply` now downloads GitHub patches same as `hub am`
|
108
|
-
* `hub create <name>` to explicitly name a repository
|
109
|
-
* switch API communication to HTTPS
|
110
|
-
* better handling of API HTTP exceptions
|
111
|
-
* replace two dots (`sha1..sha2`) with three for ranges in `compare`
|
112
|
-
* avoid ugly error & stack trace when git is not found on the system
|
113
|
-
|
114
|
-
## 1.6.1 (2011-05-13)
|
115
|
-
|
116
|
-
* `git push remote1,remote2` without branch name pushes the current branch
|
117
|
-
* fix `browse` command for current repo with no tracking setup
|
118
|
-
* preserve global flags to git such as `--bare` and `--git-dir=/some/path`
|
119
|
-
* true cross-platform command detection and browser launcher
|
120
|
-
|
121
|
-
## 1.6.0 (2011-03-24)
|
122
|
-
|
123
|
-
* `am` strips extra path from pull reqs URLs such as "pull/42/files"
|
124
|
-
* Fixed permissions on `hub(1)` when installing
|
125
|
-
* gem renamed from `git-hub` to `hub`!
|
126
|
-
|
127
|
-
## 1.5.1 (2011-03-18)
|
128
|
-
|
129
|
-
* support git aliases
|
130
|
-
* Bugfix: `browse/compare` for wiki repos
|
131
|
-
* gracefully handle HTTP errors in `create` and `fork`
|
132
|
-
* `hub am` supports Gist URLs
|
133
|
-
* Bugfix: `clone` command doesn't get confused by mixed arguments
|
134
|
-
|
135
|
-
## 1.5.0 (2010-12-28)
|
136
|
-
|
137
|
-
* compensate for GitHub switch to HTTPS
|
138
|
-
* `hub am`: cherry-pick pull request and commit URLs
|
139
|
-
* support multiple URLs for a single remote
|
140
|
-
* Bugfix: ensure that internal ruby methods can't pretend to be git commands
|
141
|
-
* Bugfix: don't show help when `--exec-path` or `--html-path` flags are used
|
142
|
-
* Support for `GITHUB_USER` and `GITHUB_TOKEN` env variables
|
143
|
-
* Eliminate some ruby warnings
|
144
|
-
|
145
|
-
## 1.4.1 (2010-08-08)
|
146
|
-
## 1.4.0 (2010-08-08)
|
147
|
-
|
148
|
-
* Added new `hub create` command
|
149
|
-
* Added support for `remote set-url`
|
150
|
-
* Bugfix: Don't try multiple git commands on a non-git dir when grabbing remote
|
151
|
-
* Bugfix: Adding remotes when no remotes exist
|
152
|
-
|
153
|
-
## 1.3.2 (2010-07-24)
|
154
|
-
|
155
|
-
* bugfix: cherry picking of commit URL
|
156
|
-
* bugfix: git init -g
|
157
|
-
|
158
|
-
## 1.3.1 (2010-04-29)
|
159
|
-
## 1.3.0 (2010-04-29)
|
160
|
-
|
161
|
-
* Tracking branches awareness
|
162
|
-
* `git browse` subpages (e.g. `git browse repo issues`)
|
163
|
-
* `git fetch <fork>` adds new remotes if missing
|
164
|
-
* `cherry-pick` supports GitHub commit URLs and "user@sha" notation
|
165
|
-
|
166
|
-
## 1.2.0 (2010-04-11)
|
167
|
-
|
168
|
-
* `hub compare` command - Thanks joshthecoder!
|
169
|
-
|
170
|
-
## 1.1.0 (2010-04-07)
|
171
|
-
|
172
|
-
* `hub fork` command - Thanks Mislav!
|
173
|
-
|
174
|
-
## 1.0.3 (2010-03-10)
|
175
|
-
|
176
|
-
* Bugfix: `hub remote` for repos with -, /, etc
|
177
|
-
|
178
|
-
## 1.0.2 (2010-03-07)
|
179
|
-
|
180
|
-
* Bugfix: `hub remote -f name` (for real this time)
|
181
|
-
* Bugfix: zsh quoting [thommay]
|
182
|
-
|
183
|
-
## 1.0.1 (2010-03-05)
|
184
|
-
|
185
|
-
* Bugfix: `hub remote -f name`
|
186
|
-
|
187
|
-
## 1.0.0 (2010-03-03)
|
188
|
-
|
189
|
-
* `hub browse` with no arguments uses the current repo.
|
190
|
-
* `hub submodule add user/repo directory
|
191
|
-
* `hub remote add rtomayko/tilt`
|
192
|
-
* `remote add -p origin rtomayko/tilt`
|
193
|
-
|
194
|
-
## 0.3.2 (2010-02-17)
|
195
|
-
|
196
|
-
* Fixed zshell git completion / aliasing - `hub alias zsh`.
|
197
|
-
|
198
|
-
## 0.3.1 (2010-02-13)
|
199
|
-
|
200
|
-
* Add `hub remote origin` shortcut. Assumes your GitHub login.
|
201
|
-
|
202
|
-
## 0.3.0 (2010-01-23)
|
203
|
-
|
204
|
-
* Add `hub browse` command for opening a repo in a browser.
|
205
|
-
* Add `hub standalone` for installation of standalone via RubyGems
|
206
|
-
* Bugfix: Don't run hub standalone in standalone mode
|
207
|
-
* Bugfix: `git clone` flags are now passed through.
|
208
|
-
* Bugfix: `git clone` with url and path works.
|
209
|
-
* Bugfix: basename call
|
210
|
-
* Bugfix: Check for local directories before cloning
|
211
|
-
|
212
|
-
|
213
|
-
## 0.2.0 (2009-12-24)
|
214
|
-
|
215
|
-
* Respected GIT_PAGER and core.pager
|
216
|
-
* Aliased `--help` to `help`
|
217
|
-
* Ruby 1.9 fixes
|
218
|
-
* Respect git behavior when pager is empty string
|
219
|
-
* `git push` multi-remote support
|
220
|
-
* `hub.http-clone` configuration setting
|
221
|
-
* Use the origin url to find the repo name
|
222
|
-
|
223
|
-
## 0.1.3 (2009-12-11)
|
224
|
-
|
225
|
-
* Homebrew!
|
226
|
-
* Fix inaccuracy in man page
|
227
|
-
* Better help arrangement
|
228
|
-
* Bugfix: Path problems in standalone.rb
|
229
|
-
* Bugfix: Standalone not loaded by default
|
230
|
-
|
231
|
-
## 0.1.2 (2009-12-10)
|
232
|
-
|
233
|
-
* Fixed README typos
|
234
|
-
* Better standalone install line
|
235
|
-
* Added man page
|
236
|
-
* Added `hub help hub`
|
237
|
-
|
238
|
-
## 0.1.1 (2009-12-08)
|
239
|
-
|
240
|
-
* Fixed gem problems
|
241
|
-
|
242
|
-
## 0.1.0 (2009-12-08)
|
243
|
-
|
244
|
-
* First release
|