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

100 Коммитов

Автор SHA1 Сообщение Дата
Mislav Marohnić e70b7fe1f5 Reimplement `release create` with simpleApi instead of go-octokit 2016-01-31 20:16:25 +11:00
Mislav Marohnić 0fb96e053e Add `hub release show <TAG>` 2016-01-31 18:57:44 +11:00
Mislav Marohnić 531c044f61 Add `hub release --include-draft` flag 2016-01-31 18:57:44 +11:00
Mislav Marohnić 864e505a08 Have `hub release` only ouput tag names for non-draft releases 2016-01-31 18:57:44 +11:00
Mislav Marohnić fa32dae621 Have help for all release subcommands show for `hub help release` 2016-01-31 18:57:44 +11:00
Mislav Marohnić 0a45aa8ddc Reformat inline command help and expand usage options 2016-01-25 02:30:46 +11:00
Mislav Marohnić 97954a227c Merge pull request #829 from darabos/release-commitish-flag
Add new flag to "release" for specifying commitish
2016-01-22 17:29:52 +11:00
Mislav Marohnić 1b862e3388 Switch from godep & rewriting import paths to GO15VENDOREXPERIMENT 2016-01-20 14:46:44 +11:00
Daniel Darabos 2991938627 Add new flag to "release" for specifying commitish. 2015-03-03 23:34:54 +01:00
Jingwen Owen Ou 177640dbd4 Extract logic of printing out to console
Introduce a `console` package which encapsulates logic of printing out
to console. This provides flexibility of discarding output in tests.
It also allows us to unify format of printing to console (if we want to).

This fixes #801.
2015-02-20 13:19:24 -08:00
Jingwen Owen Ou 15be76697c Preserve global config flags specified with `-c` 2015-01-12 22:13:08 -08:00
Jingwen Owen Ou d655819f69 Make release note comment character configurable 2014-12-24 22:33:47 -08:00
Jingwen Owen Ou e1d835ca87 Clean up release command help 2014-12-24 21:49:49 -08:00
Jingwen Owen Ou 80ff92918d Support multiple `-a` arguments for release command 2014-12-24 21:42:03 -08:00
Jingwen Owen Ou 155b2c5b06 Don’t fail asset upload process if one of them fails
Print out aggregate error of asset upload instead of failing the whole upload process if one of them fails
2014-12-24 21:26:00 -08:00
Jingwen Owen Ou f14a008893 Check existence of release before creating it 2014-12-24 21:25:59 -08:00
Jingwen Owen Ou c5ed2474ad Rewrite release command in a modular way 2014-12-24 21:25:59 -08:00
David Calavera 5b940f9d80 Do not attach anything to the release command by default.
Detect the asset info to upload via the `--attach` flag.
2014-12-24 21:25:59 -08:00
Jingwen Owen Ou 6137851f15 Vendor dependencies by rewriting import paths 2014-11-30 09:16:57 -08:00
Mislav Marohnić 69f66e0556 Grammar tweak in pull request message template
"The first block of the text"
becomes:
"The first block of text"

The definite article was not needed here.
2014-10-19 23:41:45 +02:00
Jingwen Owen Ou a72b52c44f Always delete editing file for issue, release and crash_report 2014-03-02 11:46:04 -08:00
Jingwen Owen Ou 172e10164d Distinguish between filePrefix and topic for Editor 2014-02-23 14:49:31 -08:00
Jingwen Owen Ou 408876e9bd Use octokit/go-octokit instead of jingweno/go-octokit 2014-02-21 09:08:34 -08:00
Jingwen Owen Ou 498789a999 Change namespace to github/hub 2014-02-10 08:29:03 -08:00
Jingwen Owen Ou bd0e64b26f Generate man page for gh 2014-01-04 07:10:24 -08:00
Jingwen Owen Ou 0d38318113 Move GetTitleAndBodyFromFlags to commands/utils 2013-12-31 11:06:58 -08:00
Jingwen Owen Ou aabfb73803 Refactor to github.Editor to make it testable 2013-12-31 10:29:05 -08:00
David Calavera bb4e5f2d81 Add command to create issues. 2013-12-30 20:12:19 -08:00
David Calavera ba717d566a Assign release create flags to the proper command. 2013-12-29 19:43:46 -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 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 51428d5449 Allow to chain subcommands using `command.Use(subcommandName, subcommand)`. 2013-12-28 21:24:08 -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 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 e81a80ef02 Use the upload service in octokit. 2013-12-24 13:44:04 -08:00
David Calavera 4a83ffd3cd Identify each message editor separatedly. 2013-12-23 21:37:56 -08:00
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 f2807ba201 Create a new release based on the local branch. 2013-12-19 17:10:17 -08:00
David Calavera 2e6c824876 Add command to create releases. 2013-12-19 15:49:36 -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 b807210a32 Listing GitHub releases 👯 2013-09-26 12:59:31 -07:00