Commit graph

6416 commits

Author SHA1 Message Date
Ashwin Jeyaseelan
a178d37682 Deleted extra file 2022-05-26 17:04:45 +00:00
Ashwin Jeyaseelan
51a7647e5d Resolve merge conflicts 2022-05-26 17:03:37 +00:00
Ashwin Jeyaseelan
61553e5e8a Added nit, removed last test due to survey.ask call wanting a terminal 2022-05-26 17:01:30 +00:00
Federico Guerinoni
b780608e90 Quote path of repo in order to have a valid copy paste command
Closes #5602
2022-05-26 12:12:56 +02:00
Alexandre Zollinger Chohfi
d1a0f72cd8 Added Arm64 compilation 2022-05-25 16:47:50 -07:00
Ashwin Jeyaseelan
a1053c9c43 Fixed error checking in test instead of incorrectly using stderr 2022-05-25 18:55:36 +00:00
Ashwin Jeyaseelan
f22183ef27 WIP tests 2022-05-25 17:19:36 +00:00
Greggory Rothmeier
77507cd94c
Bugfix: Retention period is being sent to the API as 0 (#5706)
Co-authored-by: Jose Garcia <josebalius@github.com>
2022-05-25 17:36:27 +02:00
Mislav Marohnić
0bd36fe03a
Merge pull request #5710 from cli/completion-output-fix
Fix Cobra completion output going to stdout
2022-05-25 15:43:02 +02:00
Mislav Marohnić
7859afb586 Fix Cobra completion output going to stdout 2022-05-25 14:57:47 +02:00
Ashwin Jeyaseelan
81893b60f2 Added tests 2022-05-25 01:08:20 +00:00
Ashwin Jeyaseelan
2e84804f95 Removed incorrect test file 2022-05-24 17:46:30 +00:00
Ashwin Jeyaseelan
1084fd149b Corrected code to update codespace from selected codespace name if chosen from list of codespaces 2022-05-24 17:44:45 +00:00
Ashwin Jeyaseelan
c2c4afdf6d Updated edit.go 2022-05-24 16:39:57 +00:00
Mislav Marohnić
ec12d27db5
Merge pull request #5703 from cli/version-flag-fix
Fix --version flag printing to stdout
2022-05-24 17:06:32 +02:00
Mislav Marohnić
cfaca91d06 Fix --version flag printing to stdout 2022-05-24 16:21:13 +02:00
Ahmed Adan
31bee2e639
Add --upstream-remote-name flag to gh replo clone (#5619) 2022-05-24 13:12:01 +02:00
Mislav Marohnić
eb4439d781
Merge pull request #5698 from cli/deprecation-stderr
Write Cobra deprecation messages to stderr
2022-05-24 12:36:18 +02:00
Heath Stewart
b54ff58382
Parallelize label clone (#5687) 2022-05-24 10:04:05 +02:00
Mislav Marohnić
6703677a95
Stop bumping winget manifest as part of release automation (#5699) 2022-05-24 09:57:24 +02:00
Heath Stewart
be4b392530 Use alternate screen buffer for watching runs
Resolves #5679
2022-05-23 22:18:11 -07:00
Mislav Marohnić
2139e763fb Write Cobra deprecation messages to stderr
We used to do the equivalent of `rootCmd.SetOut(os.Stdout)` because we
thought that Cobra's "Out" stream represents standard output. However,
upon closer inspection it turns out that this is Cobra's stream for
usage errors and deprecation warnings, and those we want written to
stderr as well. It is not clear to me why Cobra maintains a distinction
between "Out" and "Err" streams since both seem to go to sdterr by
default.

This change also ceases our usage of `command.Print()` functions in
favor of explicitly writing to `IOStreams.Out/ErrOut`.
2022-05-23 20:23:42 +02:00
Mislav Marohnić
d2683a1370
Merge pull request #5694 from jsoref/issue-5680
Clarify that `ShowResponseHeaders` includes status line
2022-05-23 19:03:38 +02:00
Mislav Marohnić
e4485c74d2
Merge pull request #5695 from cli/dependabot/github_actions/goreleaser/goreleaser-action-3
Bump goreleaser/goreleaser-action from 2 to 3
2022-05-23 16:44:51 +02:00
dependabot[bot]
edf6f46dad
Bump goreleaser/goreleaser-action from 2 to 3
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:33:44 +00:00
Josh Soref
7d99a98f02 Clarify that ShowResponseHeaders includes status line 2022-05-23 10:18:50 -04:00
Sam Coe
ebbf2ac096
Fix owner qualifier for search queries (#5693) 2022-05-23 13:00:32 +00:00
ffalor
3fb8579419
Add --pattern field to run download (#5539) 2022-05-23 08:57:57 +00:00
ffalor
2918c538b3
add include-all-branches flag to repo create (#5537) 2022-05-23 10:11:55 +02:00
Andrew Senetar
ff8aa8a555
Add ability to set title for ssh key in auth login (#5524) 2022-05-23 08:06:42 +00:00
Heath Stewart
3574240fa7
Always clear screen when watching PR checks (#5678) 2022-05-23 08:38:50 +02:00
Heath Stewart
f834b2a510
Fix label clone to pass orderBy (#5675) 2022-05-23 08:32:11 +02:00
Mislav Marohnić
e837b7bc4d
Merge pull request #5671 from cli/pr-create-nontty
pr create: ensure clear error when body is missing in nonTTY mode
2022-05-19 14:07:32 +02:00
Mislav Marohnić
4d9a6ecb25 pr create: ensure clear error when --body is missing in nonTTY mode 2022-05-18 19:13:59 +02:00
Sam Coe
63a3adf212
Use strings.Cut 2022-05-18 08:42:14 +02:00
Sam Coe
c89d8cb759
Backport strings.Cut 2022-05-18 08:40:30 +02:00
Sam Coe
22a5d2abf8
Refactor code to live inside default pkg 2022-05-18 08:40:30 +02:00
bchadwic
9060b44e6d
default lint fix 2022-05-18 08:40:30 +02:00
bchadwic
e5ebbcb66a
lint test update 2022-05-18 08:40:29 +02:00
bchadwic
66a69bdec5
fixing lint and formatting 2022-05-18 08:40:29 +02:00
bchadwic
86658513b1
Created more test cases, added in env section 2022-05-18 08:40:29 +02:00
bchadwic
08b02da3fc
beginning testing 2022-05-18 08:40:29 +02:00
Benjamin Chadwick
a140bea9bf
deleted scratch pad of commit 2022-05-18 08:40:29 +02:00
bchadwic
ca5e9a49b5
thinking of a better solution, wip. BaseRepo() might be better split up 2022-05-18 08:40:29 +02:00
bchadwic
a98395f4e8
headed in the right direction. Needs tests and to be cleaned up. This is a working example of the teams design combined with https://github.com/cli/cli/pull/4859#issuecomment-1012776582 2022-05-18 08:40:29 +02:00
bchadwic
38097e8cad
created gh config base a way to configure the base repo 2022-05-18 08:40:28 +02:00
Heath Stewart
00e97121ec
Allow passing full extension name (#5464) 2022-05-18 08:35:47 +02:00
Curtis Tarr
bec49152cf
Fixing #5624 - Removing unneeded hint and additional new line (#5642) 2022-05-18 08:32:00 +02:00
Sam Coe
539b150833
Extract feature detection package (#5494) 2022-05-17 19:07:44 +00:00
Mark Phelps
f8b3ff999f
Merge pull request #5658 from cli/codespaces-ports-filter-internal
filter out internal ports from gh cs ports list
2022-05-17 06:45:39 -07:00