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
William Martin
b9cbee0462
Remove incorrect comment about HasEnvToken
2023-10-19 12:39:31 +02:00
William Martin
3c3fbcdb66
Remove Login branch that handles empty username
2023-10-19 12:35:43 +02:00
William Martin
aa8848471f
Remove Logout branch that handles empty hostname
2023-10-19 12:33:15 +02:00
William Martin
c430da7329
Ensure all AuthConfig tests are isolated on disk
2023-10-19 12:31:41 +02:00
William Martin
c9de817865
Avoid using keyring unnecessarily in AuthConfig tests
...
This is to avoid the impression that the keyring matters, when the test
is actually about general auth behaviour
2023-10-19 12:26:52 +02:00
William Martin
fa80802c81
Add tests for AuthConfig DefaultHost
2023-10-19 12:24:25 +02:00
William Martin
07f5ca48d8
Share config.Read setup in AuthConfig tests
2023-10-19 12:24:05 +02:00
William Martin
e0bc2ff0ca
Add test that host is added on Login
2023-10-19 12:08:03 +02:00
William Martin
cb7672e573
Add additional comment on Logout ignoring errors
2023-10-19 12:05:40 +02:00
William Martin
3380831672
Rewrite AuthConfig User and GitProtocol tests
2023-10-19 12:05:14 +02:00
William Martin
e011633cdc
Add tests for AuthConfig HasEnvToken
2023-10-18 18:10:00 +02:00
William Martin
465474ec5b
Mod tidy go-md2man
2023-10-18 17:52:00 +02:00
William Martin
07110eca33
Add tests for AuthConfig Token
2023-10-18 17:51:53 +02:00
William Martin
52ba99ebab
Update AuthConfig to use default fn
2023-10-18 17:51:41 +02:00
William Martin
614e49296b
Add tests for AuthConfig Login and Logout
2023-10-18 17:09:20 +02:00
William Martin
34b0b33f24
Add initial AuthConfig tests
2023-10-18 16:31:13 +02:00
William Martin
5f645eaded
Add tests for config GetOrDefault
2023-10-18 16:10:53 +02:00
William Martin
b94f458950
Add initial tests for config Get
2023-10-18 15:51:46 +02:00
Sam Coe
59e84dd069
Remove crypto fork ( #8204 )
2023-10-18 11:19:03 +02:00
Mikel Olasagasti Uranga
46a7042b88
Bump cpuguy83/go-md2man from 2.0.1 to 2.0.3 ( #8209 )
...
Version 2.0.3 introduces a fix in PR
https://github.com/cpuguy83/go-md2man/pull/105 that breaks a test for
gen-doc, thus requires a small change in the test.
2023-10-18 07:17:20 +00:00
EBIBO
8e8e6d9ac6
gh browse subdirectory path problem with repo flag (#8141 )
2023-10-17 09:01:51 +00:00
EBIBO
fd8bbf0be5
gh pr create duplicates targets if there are duplicate remotes (#8184 )
...
* `gh pr create` duplicates targets if there are duplicate remotes
* De-duplicate the same remote
2023-10-17 08:21:35 +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
bc0f63b043
Merge pull request #8179 from dmgardiner25/poll-codespace-permissions
...
Poll permission acceptance endpoint on codespace creation
2023-10-16 11:42:59 -07:00
David Gardiner
135c56aead
Fix linting error
2023-10-16 10:09:04 -07:00
dependabot[bot]
7d558edd12
build(deps): bump github.com/gabriel-vasile/mimetype from 1.4.2 to 1.4.3 ( #8185 )
...
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases )
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.2...v1.4.3 )
---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 17:15:54 +02: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
Sam Coe
776fdf5bb2
Update dependencies to fix security vulnerability ( #8176 )
2023-10-12 14:06:20 +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
Andy Feller
7a68d19c40
Merge pull request #8116 from cli/andyfeller/7718-homebrew-bump
...
Update deployment.yml
2023-10-10 08:29:40 -04: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
80e46cabeb
Update deployment.yml
...
Update release job to use repository environment needed for homebrew secret
2023-10-03 11:28:58 -04:00
Andy Feller
aefecbab65
Update homebrew-bump.yml
...
Adding missing input needed for testing
2023-10-03 10:54:44 -04:00
William Martin
49ec484211
Add homebrew-bump-debug workflow ( #8114 )
2023-10-03 16:45:44 +02: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