Jingwen Owen Ou
afa7643fee
Use RVM in Go build
2013-12-30 22:07:33 -08:00
Jingwen Owen Ou
8471f1600a
Move release dependency to script/release
2013-12-30 22:04:20 -08:00
Jingwen Owen Ou
654578f85d
Use a different bucket
2013-12-30 22:00:03 -08:00
Jingwen Owen Ou
1a27077061
Stealing the cached-bundle and s3-put scripts from hub
...
http://mislav.uniqpath.com/2013/12/travis-cached-bundle/
2013-12-30 21:47:40 -08:00
Jingwen Owen Ou
be9efdea87
Fix test failure due to deleted commit
2013-12-30 21:20:05 -08:00
Jingwen Owen Ou
91488c267b
Merge pull request jingweno/gh:152 from jingweno/git_show_format
...
Fix typo in git show format
2013-12-30 21:15:42 -08:00
Jingwen Owen Ou
4a6d194b4f
Fix typo in git show format
...
It's possible that comments are multiple lines
2013-12-30 21:10:49 -08:00
Jingwen Owen Ou
39d8af0e91
Merge pull request jingweno/gh:151 from jingweno/minor_refactoring_to_sub_commands_usage
...
Minor refactoring to Command.subCommandsUsage
2013-12-30 21:01:13 -08:00
Jingwen Owen Ou
fe4dcc69dc
Remove noises in TestSubCommandsUsage
2013-12-30 20:57:58 -08:00
Jingwen Owen Ou
c03677596e
Minor refactoring to Command.subCommandsUsage
...
For each loop handles nil array. Refactor local var key to usage to be more explicit.
2013-12-30 20:50:20 -08:00
Jingwen Owen Ou
2b843dcfe4
Merge pull request jingweno/gh:149 from jingweno/fix_release_help
...
Fix help for releases
2013-12-30 19:59:57 -08:00
Jingwen Owen Ou
80b02f6aea
Fix help for releases
2013-12-30 19:59:34 -08:00
David Calavera
755d067f4e
Merge pull request jingweno/gh:141 from jingweno/subcommands
...
Subcommands.
2013-12-30 19:27:29 -08:00
David Calavera
1c29a25f81
Merge branch 'master' into subcommands
...
* master:
Prevent octokit abstraction from leaking by introducing ClientError
Use halt for assert_basic_auth
Give up the last test since it's not related
Change expectation of the cucumber tests cause it doesn't make sense
Get 2fa cucumber tests going
Allow GITHUB_USER and GITHUB_PASSWORD env var
Use URL from Authorization.App
Fix completion path
Change completion script to be executable
Add update command to the completion list.
Update completion scripts.
Conflicts:
Godeps/Godeps.json
2013-12-30 19:23:04 -08:00
Jingwen Owen Ou
04e20dd98a
Merge pull request jingweno/gh:148 from jingweno/auth_full_compat
...
Make more authorization cucumber tests passing
2013-12-30 17:26:15 -08:00
Jingwen Owen Ou
937bcfe903
Prevent octokit abstraction from leaking by introducing ClientError
2013-12-30 17:22:56 -08:00
Jingwen Owen Ou
3ecf90b64f
Get 2fa cucumber tests going
2013-12-30 16:12:05 -08:00
Jingwen Owen Ou
8e87249ab0
Allow GITHUB_USER and GITHUB_PASSWORD env var
2013-12-30 13:14:49 -08:00
Jingwen Owen Ou
7ae2104baf
Use URL from Authorization.App
2013-12-30 13:14:34 -08:00
David Calavera
211a254968
Merge pull request jingweno/gh:147 from jingweno/update_completions
...
Update completion scripts.
2013-12-30 09:00:19 -08:00
David Calavera
439a0dbe17
Print subcommand lookup errors.
2013-12-29 20:06:28 -08:00
David Calavera
df13d0125e
Be consistent about the exec name again.
...
Because this PR is not about that.
2013-12-29 19:54:41 -08:00
David Calavera
ba717d566a
Assign release create flags to the proper command.
2013-12-29 19:43:46 -08:00
David Calavera
609013d800
Allow interspersed arguments.
2013-12-29 19:31:09 -08:00
David Calavera
4fb7042963
Set usage function for subcommands.
2013-12-29 19:20:41 -08:00
David Calavera
109fb85818
Use a POSIX compatible flag parser.
...
So we can use flags before and after arguments, and we can group boolean flags, just like git does.
2013-12-29 15:07:58 -08:00
David Calavera
6b14c4a7e5
Do not parse the argument for git extensions.
2013-12-29 14:44:09 -08:00
David Calavera
371ae8b432
Add global commands to the runner.
...
- Use a hash to lookup for commands.
- Add more tests for the command and runner execution.
2013-12-29 14:18:14 -08:00
David Calavera
fca6287df9
Print command and subcommand short usage when calling an unknown command.
2013-12-28 21:58:29 -08:00
David Calavera
51428d5449
Allow to chain subcommands using `command.Use(subcommandName, subcommand)`.
2013-12-28 21:24:08 -08:00
Jingwen Owen Ou
fce2d4df47
Merge branch 'pull_in_cucumber_tests'
2013-12-28 19:23:15 -08:00
Jingwen Owen Ou
2fb0c52ba0
Merge branch 'fix_alias_exec'
2013-12-28 19:17:33 -08:00
Jingwen Owen Ou
334d8ab2b7
Only split alias command if it doesn't start with !
2013-12-28 19:17:21 -08:00
Jingwen Owen Ou
54769c9f10
Extract to local var refPrefix
2013-12-28 01:51:12 -08:00
Jingwen Owen Ou
712a6852bb
Merge remote-tracking branch 'origin/master' into pull_in_cucumber_tests
...
Conflicts:
commands/pull_request.go
git/git.go
2013-12-28 01:31:03 -08:00
Jingwen Owen Ou
ba6363328e
Pull in cucumber tests from Hub
...
Since 31a85e519e
...master
Some tests are ignored either because they don't make sense or WIP
2013-12-28 01:14:07 -08:00
David Calavera
671eb10418
Merge pull request jingweno/gh:136 from jingweno/remove_editor_function
...
Simplify title and body hint message creation.
2013-12-26 21:01:50 -08:00
David Calavera
42904c13e7
Simplify title and body hint message creation.
2013-12-26 20:57:08 -08:00
David Calavera
d726ad56bd
Do not print the uploading message for each file.
...
Change the message only when the upload is done.
2013-12-25 15:43:00 -08:00
David Calavera
58c77c726c
Merge pull request jingweno/gh:129 from calavera/gh_release
...
Add command to create releases.
2013-12-24 18:14:54 -08:00
David Calavera
b4e81896b6
Add check for empty arguments.
2013-12-24 15:36:36 -08:00
David Calavera
eeddb8902e
Add upload indicator.
2013-12-24 15:13:40 -08:00
David Calavera
7a0a506e23
Merge branch 'master' into gh_release
...
* master:
Gramma issue in README
Bump homebrew-gh which fixes sha and download path
Bump homebrew-gh submodule to 1.0.0
Bump version to v1.0.0
Make it explicit that multiple credentials are allowed
Quote path
Add link to available setting
Add autoupdate setting to README
Make sure we load the deprecated configuration and override it with the new one.
Save the new config after assigning the credentials.
Save the configuration with the new format when the deprecated one is detected.
Update versions automatically when autoupdate is set to true.
2013-12-24 14:37:13 -08:00
David Calavera
e81a80ef02
Use the upload service in octokit.
2013-12-24 13:44:04 -08:00
David Calavera
1eb609b03b
Update go-octokit.
2013-12-24 13:31:24 -08:00
David Calavera
4a83ffd3cd
Identify each message editor separatedly.
2013-12-23 21:37:56 -08:00
David Calavera
83054f73f2
Do not double return errors.
2013-12-23 15:59:44 -08:00
David Calavera
df6578b470
Assert directory truthy.
2013-12-23 15:58:28 -08:00
Jingwen Owen Ou
46ba0fb52c
Bump version to v1.0.0
2013-12-22 06:47:44 -08:00
Jingwen Owen Ou
95489e6d4c
Merge pull request jingweno/gh:131 from jingweno/update_autoupdate_in_readme
...
Add autoupdate setting to README
2013-12-21 13:45:30 -08:00