Commit graph

3165 commits

Author SHA1 Message Date
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
Peter Admilson Ramaldes
756d9a07d0 docs: update the flag --fill docs
The `--title` and/or `--body` could be overwritten when use `--fill`
togheter, so, this change makes this behavior more evident
2023-09-25 07:26:33 -03:00
Raj Hawaldar
decbbd2165
Show cancelled checks (#7960) 2023-09-24 18:27:01 +02:00
Heath Stewart
073ec3426b
Return HTTP errors properly for some commands (#8037)
* Return HTTP error for `run watch`

Partially fixes #8026

* Return HTTP error for `gpg-key delete`

Partially fixes #8026
2023-09-24 18:22:55 +02:00
Natsuki Ikeguchi
9ef7a5f262
test: Add unit test for cache.ExportData 2023-09-24 02:53:08 +09:00
Benoit Pierre
564d07ce00 cache/delete: percent-encode keys 2023-09-21 16:32:53 +02:00
Raj Hawaldar
c5a7bf8f45
Hint adding codespace scope to auth login (#7961) 2023-09-21 08:43:27 +02:00
Arun Sathiya
cfe055c29e
Merge branch 'trunk' into new/7962-clear-flag-to-remove-field-value 2023-09-19 20:11:12 -07:00
Arun
31fd8dfc45
Tests for the new clear flag 2023-09-19 19:57:25 -07:00
Arun
dde84c27a3
Driveby unrelated update: when both field ID and project ID are missing, specify that it's necessary to update the field value 2023-09-19 19:04:43 -07:00
Arun
55b41d8fa6
Introduce clear flag on 'project item-edit' command to remove field value 2023-09-19 19:03:57 -07:00
Sam Coe
94fbbdf9b5
Cleanup release create around new --notes-from-tag flag (#8016) 2023-09-19 08:26:52 +00:00
Keith Bailey
97755c6bf0
Document when gh auth login writes oauth token to plain text (#7781) 2023-09-18 11:34:13 +02:00
Andy Feller
abc282d3f2
Merge branch 'trunk' into git-tag-release-notes 2023-09-13 08:19:15 -04:00
Keith Bailey
f02cbf36d1
Merge branch 'git-tag-release-notes' of github.com:kbailey4444/cli into git-tag-release-notes 2023-09-12 21:36:39 -04:00
Josh Gross
c5f88bb551
Show full permissions URL in gh cs create (#7983)
* Show full permissions URL in `gh cs create`

* Validate that full permissions URL is displayed
2023-09-12 10:12:53 -07:00
Andy Feller
28746d8f60
Merge branch 'trunk' into git-tag-release-notes 2023-09-12 08:10:53 -04:00
Keith Bailey
be41a9bd20
moved remoteTagExists under if NotesFromTag exists and added three tests 2023-09-11 14:17:49 -04:00
Nick Alteen
7e7391bf88
Clarify list repo behavior (#7964)
Co-authored-by: William Martin <williammartin@github.com>
2023-09-11 17:28:14 +02:00
Keith Bailey
9f68a49304
Merge branch 'cli:trunk' into git-tag-release-notes 2023-09-07 17:31:20 -04:00
Keming
ba60f89f42
Delete local tag when running gh release delete --cleanup-tag (#7884) 2023-09-07 12:04:15 +00:00
Jun Nishimura
925473eeb1
Add --all flag to alias delete command (#7900) 2023-09-07 10:56:44 +00:00