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

CLI: Refactoring to avoid namespace clash with public bindings #387

Merged
merged 2 commits into from Aug 1, 2023

Conversation

slyon
Copy link
Collaborator

@slyon slyon commented Aug 1, 2023

Description

Prerequisite to #385 due to the duplicated netplan module namespace (public vs private module).

Our private/internal module in /usr/share/netplan/netplan/ has a namespace clash with the new public bindings module (#385), supposed to be in /usr/lib/python3/dist-packages/netplan/. So let's rename the internal module and adopt our testing infrastructure to the new name, to make room for the public bindings.

Checklist

  • Runs make check successfully.
  • Retains 100% code coverage (make check-coverage).
  • New/changed keys in YAML format are documented.
  • (Optional) Adds example YAML for new feature.
  • (Optional) Closes an open bug in Launchpad.

@slyon slyon changed the title CLI: namespace refactoring CLI: Refactoring to avoid namespace clash with public bindings Aug 1, 2023
@slyon slyon marked this pull request as ready for review August 1, 2023 09:56
@slyon slyon requested a review from daniloegea August 1, 2023 09:57
@slyon slyon merged commit 2d23707 into canonical:main Aug 1, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants