Commit graph

2378 commits

Author SHA1 Message Date
Nate Smith
9f486efbc6
hackday: gh repo garden (#1049)
* add gh repo garden

* move file

* oops

* fixes

* fix clearing

* block windows sadly

* broken wip

* fix api thing

* do not add to client

* move helper as it does not work on windows

* hide command

* macos fix

* Update pkg/cmd/repo/garden/garden.go

Co-authored-by: Lee Reilly <lee@github.com>

* default for key input loop

* get redrawing working

* clean up garden update, it all works

* notes

* fix arrow keys and just do wads/arrows/vi

* this function is only called once now

* support ghes

* add a progress indicator

* cap maxCommits

Co-authored-by: Lee Reilly <lee@github.com>
2020-09-15 09:59:27 -05:00
Nate Smith
6d63e37466
Merge pull request #1704 from cristiand391/cristiand391-patch-1
Go 1.15+ is required to run the test suit
2020-09-15 09:54:47 -05:00
Nate Smith
0c0e042e72
Merge pull request #1642 from cli/web-flag
support auth login --web
2020-09-15 09:37:41 -05:00
Mislav Marohnić
8b9d4274b7
Merge pull request #1697 from cli/release-download-fix
Fix `release download`
2020-09-15 15:12:59 +02:00
Cristian Dominguez
3d350e8707
Go 1.15+ is required to run the test suit 2020-09-14 20:31:22 +00:00
Amanda Pinsker
a50b0dbc11
Merge pull request #1700 from cli/fix-config
Tweak config help docs
2020-09-14 14:09:00 -04:00
Amanda Pinsker
db77f2dc66
Add examples 2020-09-14 12:42:13 -04:00
Amanda Pinsker
c3863e35b4
Add prompt to gh config help 2020-09-14 12:40:56 -04:00
vilmibm
68a019cc3c review feedback 2020-09-14 10:16:50 -05:00
Mislav Marohnić
662f83fcb9 Fix release download
Only ever try to set an `Authorization` request header to hosts that we
have OAuth credentials for; skip the header otherwise.
2020-09-14 15:31:31 +02:00
Sam
b34fe8123a
Merge pull request #1677 from cli/fix-issue-list-emoji-bug
Fix issue listing misalignment
2020-09-12 19:07:56 +02:00
vilmibm
2345f49ccb support auth login --web 2020-09-11 13:07:39 -05:00
Nate Smith
5a8df475b9
Merge pull request #1639 from cli/disable-prompts
Support "prompt" config setting
2020-09-11 12:07:44 -05:00
vilmibm
a811e72c9d do not assume public when creating repo non-interactively 2020-09-11 11:57:40 -05:00
vilmibm
3a492b892a Merge branch 'disable-prompts' of github.com:cli/cli into disable-prompts 2020-09-11 11:42:20 -05:00
vilmibm
2e95e279e3 reuse cfg reference 2020-09-11 11:38:26 -05:00
vilmibm
1073c97409 review feedback 2020-09-11 11:36:24 -05:00
Sam Coe
e5466c0411 Improve string display width calculation 2020-09-11 11:56:54 +02:00
Tony Rosler
4ef8a75ae2
Handle runtime error on bad user input (#1652) 2020-09-11 11:23:24 +02:00
Sam
d544f7f8da
Merge pull request #1657 from cli/fix-repo-view-bug
Do not html escape repo view output
2020-09-11 07:47:58 +02:00
vilmibm
4d3e26e927 prompts disabled test for auth refresh
the behavior for nontty vs. prompts disabled is pretty different so i
opted for a new test, here
2020-09-10 13:19:43 -05:00
vilmibm
c0fc31f7d5 use CanPrompt in commands 2020-09-10 12:13:48 -05:00
vilmibm
fcc0e75a50 do not pass entire config to iostreams 2020-09-10 12:13:48 -05:00
vilmibm
79b5ca2cd6 update default config test values 2020-09-10 12:13:48 -05:00
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
Sam Coe
e50833cae0 Do not html escape repo view output 2020-09-10 15:25:17 +02: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