Skip to content
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

Add ApiVersion when 'Import-PSGetRepository' calls 'Register-PSResourceRepository' #1430

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

alerickson
Copy link
Member

@alerickson alerickson commented Oct 3, 2023

PR Summary

When porting PowerShellGet v2 repositories to PSResourceGet (via Import-PSGetRepository), all repositories should be considered 'v2' repositories because PowerShellGet v2 only handled v2 endpoints.

PR Context

Resolves #1425

PR Checklist

@alerickson alerickson changed the title WIP: Add ApiVersion when 'Import-PSGetRepository' calls 'Register-PSResourceRepository' Add ApiVersion when 'Import-PSGetRepository' calls 'Register-PSResourceRepository' Oct 4, 2023
@alerickson alerickson merged commit bf37fdb into PowerShell:master Oct 4, 2023
3 checks passed
@alerickson alerickson deleted the importRepoUpdates branch October 4, 2023 01:22
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.

We should automatically set the API version to v2 for repositories imported from PowerShellGet
2 participants