Commit graph

2353 commits

Author SHA1 Message Date
vilmibm
15bfb5447b split auth flow code into new internal package 2020-09-10 12:13:48 -05:00
vilmibm
ecd1b34b39 Add prompt config setting and support in CanPrompt 2020-09-10 12:13:48 -05:00
vilmibm
5119d21137 support Config in IOStreams 2020-09-10 12:12:47 -05:00
Nate Smith
b2f3c326e2
Merge pull request #1656 from dhruvildave/opensuse-install
Add opensuse zypper installation steps
2020-09-10 09:10:12 -05:00
Dhruvil Dave
33f7d770f3
Add opensuse zypper installation steps 2020-09-10 11:55:36 +05:30
Nate Smith
33e11f02e4
Merge pull request #1611 from dhleong/dhleong/pr-prepend-commit-bodies
Prepend PR body defaults to the selected template (if any)
2020-09-09 16:57:27 -05:00
Nate Smith
adc01d08e2
Merge pull request #1649 from cli/bump-deps
Bump Go dependencies
2020-09-09 16:54:32 -05:00
Lee Reilly
9d0eb37356
Merge pull request #1640 from cli/add-auth-usage
Add auth command and flag usage to README
2020-09-09 11:34:41 -07:00
Mislav Marohnić
f30bc5bc64
Merge pull request #1552 from cli/release-cmd
Add commands for managing GitHub Releases
2020-09-09 18:07:19 +02:00
Nate Smith
c42d2aebb1
Merge pull request #1647 from cli/fix-query
fix butchered query
2020-09-09 10:59:31 -05:00
Mislav Marohnić
8289dcb55e bump yaml.v3 2020-09-09 17:53:26 +02:00
Mislav Marohnić
640450de6f bump golang.org/x/crypto 2020-09-09 17:53:10 +02:00
Mislav Marohnić
c00fa2d42b bump shurcooL/githubv4 2020-09-09 17:52:43 +02:00
Mislav Marohnić
de1e9e848b bump mgutz/ansi 2020-09-09 17:51:50 +02:00
Mislav Marohnić
2eebae1e99 bump hashicorp/go-version to v1.2.1 2020-09-09 17:51:14 +02:00
Mislav Marohnić
b52b669f6a bump google/go-cmp to v0.5.2 2020-09-09 17:51:02 +02:00
Mislav Marohnić
03e4284798 bump mattn/go-colorable to v0.1.7 2020-09-09 17:50:46 +02:00
Mislav Marohnić
03667e44d0 bump stretchr/testify to v1.6.1 2020-09-09 17:50:21 +02:00
Mislav Marohnić
8dfc8cc172 bump henvic/httpretty to v0.0.6 2020-09-09 17:49:57 +02:00
Mislav Marohnić
29172e1391 bump AlecAivazis/survey to v2.1.1 2020-09-09 17:49:19 +02:00
Mislav Marohnić
50d5813182 Indicate that title is optional in release create 2020-09-09 17:45:55 +02:00
Mislav Marohnić
9040f6adc6 Fix view tests 2020-09-09 17:40:04 +02:00
Mislav Marohnić
1ce61d4b80 Allow specifying multiple patterns in release download 2020-09-09 17:36:49 +02:00
Mislav Marohnić
7614ffee30 Add docs to release create/upload 2020-09-09 17:36:25 +02:00
Mislav Marohnić
202d11146d Add success message to release upload 2020-09-09 17:09:49 +02:00
Mislav Marohnić
fda9659e4a Consistently print browsed URL across commands 2020-09-09 17:02:02 +02:00
Mislav Marohnić
3d58fa785f Add the release view --web flag 2020-09-09 17:01:29 +02:00
Nate Smith
49a58977f1
Merge pull request #1641 from cli/ubuntus
support older ubuntu LTS versions
2020-09-09 09:54:07 -05:00
vilmibm
9db9370a3e fix descriptions 2020-09-09 09:53:34 -05:00
vilmibm
0c16a6b0b5 fix butchered query 2020-09-09 09:50:10 -05:00
Mislav Marohnić
ad0bbde351 Merge remote-tracking branch 'origin' into release-cmd 2020-09-09 15:27:49 +02:00
Mislav Marohnić
011045a62a
Merge pull request #1644 from SuperSandro2000/patch-1
Fix 32 bit arch name
2020-09-09 13:57:48 +02:00
Sandro
2d87072c79
Fix 32 bit arch name 2020-09-09 09:33:49 +02:00
Daniel Leong
c7e702203b Update template test to reflect inclusion of "default" text
Also, avoid excessive amounts of newlines separating the two
2020-09-08 20:25:52 -04:00
Daniel Leong
41543b564d "Check" the error value of ioutil.WriteFile
We could, alternatively, use t.Fatal... this matches the MkdirAll
invocation from github_template_test, however...
2020-09-08 20:12:28 -04:00
Daniel Leong
a33124414c Add a test to verify the behavior of prepending commit body to message 2020-09-08 20:12:28 -04:00
Daniel Leong
c4227455e3 Prepend PR body defaults to the selected template (if any)
See #1570
2020-09-08 20:12:28 -04:00
Nate Smith
74614b13da
Merge pull request #1627 from giacomoalbe/add-commit-headline-to-pr-merge
Add PR Title to CommitHeadline during merge PR
2020-09-08 17:05:26 -05:00
Nate Smith
c2d7cbf51f
Merge pull request #1582 from AliabbasMerchant/interactiveCreationTests
Interactive template selection test for issue create
2020-09-08 16:55:04 -05:00
vilmibm
e59431eeef more ubuntus 2020-09-08 16:26:25 -05:00
vilmibm
338f37d6aa support extant ubuntu LTSs 2020-09-08 16:11:15 -05:00
Lee Reilly
527a1e466f Add auth command and flag usage to README 2020-09-08 14:07:33 -07:00
Nate Smith
ab2c38eb82
Merge pull request #1563 from cli/checks
gh pr checks
2020-09-08 15:58:38 -05:00
Mislav Marohnić
72e9747662
Merge pull request #1626 from cli/ghe-auth-tweaks
Make GitHub remote parsing and authentication stricter
2020-09-08 10:14:29 +02:00
Mislav Marohnić
d13e6b300e
Merge pull request #1635 from cli/table-width-fix
Fix measuring terminal width for output
2020-09-08 10:01:15 +02:00
Mislav Marohnić
22b3ce66ad
Merge pull request #1615 from cli/linux-pkg
linux repository automation
2020-09-08 09:57:28 +02:00
Mislav Marohnić
d77a8c2e61 Scope pr merge commit headline to only squash method 2020-09-07 22:27:27 +02:00
Mislav Marohnić
fae66a62e4 Fix measuring terminal width for output 2020-09-07 22:03:54 +02:00
Mislav Marohnić
ece17c4ce2 Add GITHUB_ENTERPRISE_TOKEN mention to api help 2020-09-07 21:37:55 +02:00
Mislav Marohnić
c80292c2e8 Extend Config object with GITHUB_TOKEN support
Adding GITHUB_TOKEN & GITHUB_ENTERPRISE_TOKEN support orthogonal to
Config was getting out of hand, especially in `auth` commands that
adjust their messaging and error status based on the presence of these
environment variables.

The new approach builds in support for tokens from environment straight
into Config object by composition. Thus, commands need not ever be
concerned with any specific environment variables.
2020-09-07 21:33:26 +02:00