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

fix(remote): use launchpad credentials from legacy location #4762

Closed
wants to merge 1 commit into from

Conversation

mr-cal
Copy link
Collaborator

@mr-cal mr-cal commented Apr 26, 2024

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox run -m lint?
  • Have you successfully run tox run -e test-py310? (supported versions: py39, py310, py311, py312)

If launchpad credentials do not exist in the new location ($XDG_DATA_HOME/snapcraft/launchpad-credentials) but exist in the legacy location ($XDG_DATA_HOME/snapcraft/provider/launchpad/credentials), then emit a deprecation warning and copy the credentials to the new location.

@mr-cal mr-cal force-pushed the work/launchpad-credentials branch 3 times, most recently from 9c6ab5a to d93de7a Compare April 26, 2024 17:16
If launchpad credentials do not exist in the new location
($XDG_DATA_HOME/snapcraft/launchpad-credentials) but exist in the legacy
location ($XDG_DATA_HOME/snapcraft/provider/launchpad/credentials), then
emit a deprecation warning and copy the credentials to the new location.

Signed-off-by: Callahan Kovacs <[email protected]>
@mr-cal mr-cal force-pushed the work/launchpad-credentials branch from d93de7a to 83b6792 Compare April 26, 2024 18:53
@mr-cal
Copy link
Collaborator Author

mr-cal commented Apr 26, 2024

I'm not going to do this because we've given notice in the changelogs and call for testing

@mr-cal mr-cal closed this Apr 26, 2024
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.

1 participant