Skip to content

CLI commands should not require workspace to update user-level registries config #6812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Aug 15, 2023

Motivation:
Certain package-registry subcommands, such as set --global and login, work with user-level registries.json only and therefore should not require workspace to run.

Modifications:
In those subcommands, do not read local registries.json.

rdar://113875867

…ries config

Motivation:
Certain `package-registry` subcommands, such as `set --global` and `login`, work
with user-level `registries.json` only and therefore should not require workspace
to run.

Modifications:
In those subcommands, do not read local `registries.json`.

rdar://113875867
@yim-lee
Copy link
Contributor Author

yim-lee commented Aug 15, 2023

@swift-ci please smoke test

@yim-lee yim-lee merged commit ddb3968 into swiftlang:main Aug 15, 2023
@yim-lee yim-lee deleted the global-registries-config branch August 15, 2023 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants