Andy Feller
|
b442a1b4d2
|
Fix run exported jobs error for completedAt
|
2023-12-11 08:42:43 -05:00 |
|
Andy Feller
|
385bb48f21
|
Merge pull request #8428 from cli/dependabot/github_actions/actions/setup-go-5
build(deps): bump actions/setup-go from 4 to 5
|
2023-12-08 13:49:23 -05:00 |
|
Andy Feller
|
85c09b9e06
|
Merge pull request #8432 from mateusmarquezini/fix/issue_8397
Removed repository requirement language from
|
2023-12-08 09:50:11 -05:00 |
|
Mateus Marquezini
|
8fed4e7270
|
small improvement
|
2023-12-07 18:20:40 +00:00 |
|
Mateus Marquezini
|
9b1c490f77
|
Removed repository requirement language from
documentation #8397
|
2023-12-07 18:15:43 +00:00 |
|
William Martin
|
54d56cab3a
|
Merge pull request #8425 from cli/wm/multi-account-ux-rebase
Support multiple accounts on a single host
|
2023-12-07 15:41:58 +01:00 |
|
dependabot[bot]
|
5d780dabf1
|
build(deps): bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-12-07 14:29:50 +00:00 |
|
William Martin
|
c243f31a6c
|
Add home-manager issue link to multi account doc
|
2023-12-07 15:12:43 +01:00 |
|
William Martin
|
b281269052
|
Fix affect effect typo in login cmd
|
2023-12-07 15:03:26 +01:00 |
|
Sam Coe
|
94de5290e0
|
Auth switch special case one host with two users to avoid unnecessary prompting
|
2023-12-07 09:44:07 -04:00 |
|
William Martin
|
5b9d56a6e4
|
Tweak docs for multi-account
|
2023-12-07 13:52:31 +01:00 |
|
William Martin
|
21d94165bb
|
Add documentation for multiple accounts
|
2023-12-07 13:39:19 +01:00 |
|
William Martin
|
0763c1d4a7
|
Locally prevent mixup of username and token in refresh
|
2023-12-07 11:43:05 +01:00 |
|
William Martin
|
16cfe5f21a
|
Fix token username return ordering in auth refresh
|
2023-12-07 11:35:02 +01:00 |
|
Sam Coe
|
fd7dc25e2a
|
Add error to auth refresh when active user does not match newly authenticated token user
|
2023-12-06 16:51:48 -04:00 |
|
Sam Coe
|
80fc413592
|
Polish auth status timeout error message
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
024cb939af
|
Rename authCfg.Token to authCfg.ActiveToken and authCfg.SetToken to authCfg.SetActiveToken
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
1a3392a379
|
Rename authCfg.User to authCfg.ActiveUser
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
8cdbc1a8ca
|
Refactor authCfg.UsersForHost to not return an error
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
92a902e453
|
Add context to auth token command error message
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
af8bcd3ed2
|
Print useful error when switch fails outside user control
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
dbff555835
|
Update auth token short and long
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
2c72647cf7
|
Update git protocol login prompt to indicate it is host level
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
4e04b98f6f
|
Add user flag to auth token command
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
7106129f65
|
Restore previous happy state on Switch failure
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
ecfb226d5d
|
Fix linting errors
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
8d53c9e55e
|
Only migrate oauth token under new user
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
ab5103f061
|
Don't set user level git protocol and don't switch
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
08c659bdf8
|
Document that git protocol during login is host level
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
553b89f30c
|
Add tests for AuthConfig TokenForUser
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
587007a562
|
Additional auth status tests
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
15ba536317
|
Ensure subtests use the right t during setup
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
c165d5ccc0
|
Use isolated config in logout cmd tests
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
c9a6b7cc00
|
Always mock the keyring in NewIsolatedTestConfig
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
0a7871c6d3
|
Use real config in setupgit cmd tests
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
20dd95b88d
|
Use real config in token cmd tests
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
748d59ec64
|
Use real config in auth refresh tests
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
239f983ad4
|
Use real config in auth check tests
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
dc0f6d55e2
|
Use real config in fork cmd tests
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
5b3e7290be
|
Use real config and env in login cmd tests
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
e806664ef7
|
New UX for auth status
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
8e89af96e8
|
Write tests for SwitchUser
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
a0e5e4c709
|
Use NewIsolatedTestConfig in AuthConfig tests
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
760dc91faa
|
Include environment variable users in auth status output
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
b2997cc7bd
|
Handle multi account golden path in auth status
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
e4ed4041cd
|
Use auth config and only print stdout in status
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
5d10beb60a
|
Use config to look up user for status
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
08c7bd1df2
|
Use real config and login in status tests
|
2023-12-06 14:06:28 +01:00 |
|
Sam Coe
|
eca5f72328
|
UX polish and standardization of language
|
2023-12-06 14:06:28 +01:00 |
|
William Martin
|
98381e63c9
|
Refactor switch test to be more structural
|
2023-12-06 14:06:28 +01:00 |
|