William Martin
7aeccdb7a0
Update pkg/cmd/pr/shared/finder_test.go
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2023-11-27 15:18:13 +01:00
William Martin
b96a8e3c01
Add PR Finder test to cover projectItems
2023-11-27 10:40:09 +01:00
EBIBO
14a8e03bc3
gh repo sync should be able to sync a local branch with an upstream remote (#8229 )
2023-11-20 10:37:59 +00:00
Qiming Xu
5e14987d65
Fix determining executable location in PATH ( #8238 )
2023-11-14 08:26:19 +00:00
Sam Coe
ebcf3a1022
Set default Accept header for api command when one is not specified ( #8303 )
2023-11-06 15:22:32 +01:00
William Martin
8364301017
Simplify run view annotation fetch error handling
2023-11-06 12:40:13 +01:00
Yukai Chou
ccf45cc7c6
Improve gh release download doc ( #8294 )
...
* Improve `gh release download` doc
When downloading latest release assets,
`gh release download --archive=(zip|tar.gz)` works too.
Sync doc with no-arguments warning.
* Apply suggestion from code review
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
---------
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-11-06 07:59:03 +00:00
David Gardiner
ecdb557156
Merge pull request #8275 from dmgardiner25/fix-cs-conn-race
...
Resolve race condition in codespaces connection
2023-11-02 09:52:03 -07:00
Arun Sathiya
5eff7a529a
fix(release create): Handle latest flag value when updating the release after assets are uploaded ( #8207 )
...
Signed-off-by: Arun <arun@arun.blog>
Co-authored-by: William Martin <williammartin@github.com>
2023-11-01 15:17:05 +01:00
David Gardiner
581b6652e2
Resolve race condition in codespaces connection
2023-10-31 12:19:14 -07:00
Adarsh Jha
351c5f1cd5
feat: modified choice input to take option list opposed to blank text ( #8180 )
2023-10-31 17:48:49 +01:00
David Gardiner
500f359592
Don't poll for addition codespace permissions if user chooses to create without them ( #8267 )
2023-10-30 13:22:38 -05:00
Sam Coe
7924878315
Fix git protocol and refactor Config interface ( #8246 )
2023-10-27 15:42:05 +02:00
ffalor
f4535004c2
clearer error message
2023-10-23 00:39:25 -05:00
Sam Coe
5023b61909
Remove uses of FuzzyAgoAbbr in tables ( #8222 )
2023-10-22 17:33:49 +02:00
Sam Coe
d70d798ebf
Fix up NoHeaders linter errors in project commands ( #8223 )
2023-10-20 15:30:13 +02:00
Heath Stewart
7738b6187c
Add headers to all tables ( #8157 )
2023-10-20 11:20:02 +02:00
William Martin
26f3601a81
Merge pull request #8213 from cli/wm/add-tests-for-existing-config
...
Add tests for the existing config
2023-10-19 15:59:08 +02:00
Swastik Baranwal
6696229fb1
gh extension install not give an error if extension already installed and a clear message (#8211 )
...
* `gh extension install` not give an error if extension already installed and a clear message
* remove test
* Add implementation
* lint go.sum
---------
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-10-19 15:22:21 +02:00
William Martin
6dc04bb1e2
Remove GetOrDefault uses in favour of GitProtocol
2023-10-19 12:57:19 +02:00
William Martin
7d8c1af009
Fix GitProtocol signature and rework test descriptions
2023-10-19 12:49:38 +02:00
EBIBO
8e8e6d9ac6
gh browse subdirectory path problem with repo flag (#8141 )
2023-10-17 09:01:51 +00:00
Sam Coe
5916439d22
Remove template field from projects exporting ( #8160 )
2023-10-17 09:54:12 +02:00
Arun Sathiya
9b037ffac1
update(repo create): Support for --homepage flag for template-based repository creation flow ( #8188 )
2023-10-17 09:01:32 +02:00
David Gardiner
135c56aead
Fix linting error
2023-10-16 10:09:04 -07:00
David Gardiner
a8f8728056
Poll permission acceptance endpoint on codespace creation
2023-10-12 16:55:13 -07:00
David Gardiner
64f4660ec7
Migrate all Codespaces operations from Live Share to Dev Tunnels ( #8149 )
...
* Migrate all Codespaces operations from Live Share to Dev Tunnels
* Remove Live Share references
* Fix linting errors
* Update comments, remove deps, add uint16 bound checks
* Fix tests and move keep-alive logic to forwarder
* Address comments
* Updated mock port forwarder
* Fix CodeQL error
* Update comment
* Update func name
* Add missing connection close
* Fix linting error
* https -> http
* Update defer
* Fix tests
2023-10-12 22:16:36 +00:00
Jun Nishimura
7d6fba0d7d
Create repositories from templates in interactive mode ( #7769 )
2023-10-12 17:53:05 +02:00
Keith Bailey
363dacbbed
Set default repository for repo clone and repo fork ( #7768 )
2023-10-11 13:41:00 +00:00
Yuto
885ccd7424
Disable issue with template ( #7918 )
...
* allow --disable-issues option with --template
* add a test case for creating repo with --disable-issues --template
2023-10-11 10:35:40 +02:00
Carl Walsh
3443a752a9
docs: fix typo in pr create ( #8115 )
...
https://cli.github.com/manual/gh_pr_create shows `BADINDEX` and broken markdown formatting right now.
Was very recently introduced in #8080
2023-10-03 17:20:02 +00:00
Andy Feller
b775a9071f
Merge pull request #8024 from arunsathiya/new/7962-clear-flag-to-remove-field-value
...
update(project/item-edit): New clear flag to remove item field value
2023-10-03 08:53:38 -04:00
Arun Sathiya
9d04ee6c8d
update(run): Use attempt input when fetching jobs ( #7831 )
...
* Introduce attempt flag for run watch and use attempt input when fetching jobs
* Handle attempt input for 'run watch' commands instead of using the latest attempt
* Revert attempt flag implementation for 'run watch' command because it is intended only for the latest attempt
* Fix tests for cases when attempt flag is used on 'run view' command
---------
Co-authored-by: Andy Feller <andyfeller@github.com>
2023-10-03 14:36:47 +02:00
Andy Feller
d283e115a4
Merge branch 'trunk' into new/7962-clear-flag-to-remove-field-value
2023-10-03 08:32:52 -04:00
Andy Feller
8d53e246f2
Merge pull request #8080 from peterramaldes/3888-document-explicitly-fill-flag
...
docs: update the flag `--fill` docs
2023-10-03 08:30:30 -04:00
Arun Sathiya
39466f3c03
Merge branch 'trunk' into new/7962-clear-flag-to-remove-field-value
2023-10-02 11:47:01 -07:00
Andy Feller
c8b465269e
Bubble up return value from inner function calls in runEditItem
2023-10-02 11:42:34 -07:00
Peter A. Ramaldes
c10371605c
Update pkg/cmd/pr/create/create.go
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2023-10-02 14:46:02 -03:00
Andy Feller
bd072c5e83
Merge pull request #8081 from rajhawaldar/SupportStandardOutputFormatFlags
...
Support standard output format flags for secret and deploy-key list
2023-10-02 13:21:47 -04:00
Lars Lehtonen
07ee387f25
pkg/cmd/root: fix startup panic ( #8105 )
2023-10-02 07:03:24 +00:00
Arun
45e4bf7fc0
Split clearing item, updating draft item and updating item values into individual functions for better readability; refactor field ID and project ID presence check into a separate function
2023-09-29 12:15:35 -07:00
Arun
eebef99b1c
Document clear flag in long form help as well
2023-09-29 11:56:19 -07:00
Arun
9d81ca0e44
Add clear flag usage example
2023-09-29 11:54:26 -07:00
Arun
6f6e179c49
Move field value flag and clear flag exclusivity one level higher up to RunE
2023-09-29 11:54:14 -07:00
Raj Hawaldar
976b84afd2
Merge branch 'trunk' into SupportStandardOutputFormatFlags
2023-09-29 15:46:48 +05:30
rajhawaldar
79296c0a62
Use camelCase for fields
...
Signed-off-by: rajhawaldar <rajhawaldar.in@gmail.com>
2023-09-29 13:02:59 +05:30
Peter Admilson Ramaldes
d4668c599e
docs: update the details of fill and fill-first
2023-09-28 06:00:54 -03:00
David Gardiner
e059f32aa5
Forward codespace ports over Dev Tunnels
2023-09-27 13:42:40 -07:00
Andy Feller
4dc80c3925
Merge pull request #7954 from siketyan/feat/cache-list-json
...
feat(cache): Add JSON exporting support for cache list
2023-09-26 07:51:16 -04:00
rajhawaldar
965eabd503
Support standard output format flags for secret and deploy-key list
...
Signed-off-by: rajhawaldar <rajhawaldar.in@gmail.com>
2023-09-25 21:35:47 +05:30