Граф коммитов

254 Коммитов

Автор SHA1 Сообщение Дата
David Calavera 4f0312f35d Move `isEmptyDir` to the command utilities.
Removes duplicated test helper.
2013-12-20 16:45:48 -08:00
David Calavera 6b14600fe9 Remove double isDir helper. 2013-12-20 16:41:14 -08:00
David Calavera 6480fc7a0f Use WaitGroup to upload each asset in a different goroutine. 2013-12-20 15:48:21 -08:00
David Calavera 43f398e879 Write a message in the editor showing what you're doing. 2013-12-20 15:39:10 -08:00
David Calavera 51fe2ae002 Invert flags order. 2013-12-20 15:19:00 -08:00
David Calavera d2f1cd527a Read only part of the asset to detect the content type. 2013-12-20 14:22:02 -08:00
David Calavera 1fcddbe8ca Add release creation and assets uploading. 2013-12-20 11:15:41 -08:00
David Calavera 5674bdf4ba Move the editor the github package.
This avoids double importing issues.
2013-12-20 11:14:47 -08:00
David Calavera 10b4c58fae Add the release command do the help. 2013-12-20 10:23:12 -08:00
David Calavera f2807ba201 Create a new release based on the local branch. 2013-12-19 17:10:17 -08:00
David Calavera b3103e44af Extract editor logic from the pull request commands. 2013-12-19 16:54:14 -08:00
David Calavera 2e6c824876 Add command to create releases. 2013-12-19 15:49:36 -08:00
Jingwen Owen Ou 64c5ec3d19 Fallback to 0.26.0 2013-12-19 15:05:34 -08:00
Jingwen Owen Ou 6faecd1887 Don't return an error if there's no newer version 2013-12-19 14:48:33 -08:00
Jingwen Owen Ou 8f797c11fd Only prompt for update if there's a new release
Reference: https://github.com/jingweno/gh/pull/128#issuecomment-30971747
2013-12-19 14:44:58 -08:00
Jingwen Owen Ou 0302410abc Don't prompt for update if it's in dev 2013-12-19 13:48:20 -08:00
Jingwen Owen Ou 4dfb4c58db Automatically prompt for update 2013-12-19 13:40:36 -08:00
Jingwen Owen Ou a54faff669 Extract to Updater 2013-12-19 11:30:29 -08:00
Jingwen Owen Ou 78dfeb89ec Fix bug that warning unpunished commits
The problem was we need to look at the commits for tracked branch instead of local base and head
2013-12-19 10:19:38 -08:00
Jingwen Owen Ou 89b15b9c52 Extract out to unzipFile 2013-12-18 14:21:35 -08:00
Jingwen Owen Ou ab9f22224d Don't update if current version is the latest 2013-12-18 14:07:22 -08:00
Jingwen Owen Ou 7d8d512503 Wording the message 2013-12-18 12:43:01 -08:00
Jingwen Owen Ou 3c246814dc Say done when it's done 2013-12-18 12:35:38 -08:00
Jingwen Owen Ou 65e85f3c38 Update it! 2013-12-18 12:31:37 -08:00
Jingwen Owen Ou 3f4670d707 Download and unzip gh 2013-12-18 12:22:59 -08:00
Jingwen Owen Ou 7b8770d228 Add update command 2013-12-18 10:57:01 -08:00
Jingwen Owen Ou edda656503 Bump version to v0.26.0 2013-12-17 10:24:39 -08:00
Jingwen Owen Ou b480db1f7f Detach Project from GitHub 2013-12-17 07:45:48 -08:00
Jingwen Owen Ou e506ac1437 Remove GitHub.New() 2013-12-17 07:22:43 -08:00
Jingwen Owen Ou 6ae79676aa Remove some deprecated methods 2013-12-17 07:07:26 -08:00
Jingwen Owen Ou 47ef6c2375 Submodule is compatible with Hub 2013-12-16 16:35:51 -08:00
Jingwen Owen Ou 4316c40c3d Remote is compatible with Hub 2013-12-16 07:54:46 -08:00
David Calavera 085a2bec83 Check the available hosts and credentials before asking for them for the default host. 2013-12-14 15:08:30 -08:00
David Calavera 0c0dbcaaf4 Use the first configured credentials when there is only one.
This will avoid to ask for the github.com credentials when the only configuration is related to enterprise.
2013-12-14 14:34:23 -08:00
Jingwen Owen Ou 7eccbcc0a2 Alias is compatible with Hub 2013-12-14 07:37:16 -08:00
Jingwen Owen Ou 14b7a0e2ee Refactor to command.FormattedUsage() 2013-12-14 07:22:23 -08:00
Jingwen Owen Ou e9df11cd87 Compare is compatible with Hub 2013-12-14 07:13:53 -08:00
Jingwen Owen Ou 3d4e96f8d0 Browse is compatible with Hub
It slightly modifies the spec to follow the POSIX flags convention
2013-12-12 08:20:29 -08:00
Jingwen Owen Ou 7de5d10fbf Fetch is compatible with Hub 2013-12-11 14:08:57 -08:00
Jingwen Owen Ou 4abbeedac6 Fork is compatible with Hub 2013-12-11 10:54:24 -08:00
Jingwen Owen Ou 7c9a6150af Fix test failure due to test configs 2013-12-11 00:18:34 -08:00
Jingwen Owen Ou 65bdca152a Fix pull request default message 2013-12-11 00:11:21 -08:00
Jingwen Owen Ou 76817bf95e Clone is compatible with Hub 2013-12-11 00:04:30 -08:00
Jingwen Owen Ou e1d8199acb Make checkout compatible with Hub 2013-12-10 22:05:26 -08:00
Jingwen Owen Ou b0a7b1a1e1 Rename tests in args_test 2013-12-10 13:42:54 -08:00
Jingwen Owen Ou 12787e39a0 Remove unused func 2013-12-10 13:42:54 -08:00
Jingwen Owen Ou 9d8749e1a5 Git merge is compatible with Hub spec 2013-12-10 13:42:54 -08:00
Jingwen Owen Ou a613e633b0 Create is compatible with Hub 2013-12-10 13:42:54 -08:00
Jingwen Owen Ou 0d6d8a0255 Disable guessing on user's fork 2013-12-10 13:42:54 -08:00
Jingwen Owen Ou b48c0471ae Update README for ci-status 2013-12-10 13:42:53 -08:00