Skip to content

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 force-pushed the cli_namespace_refactor branch from 8e18e0a to 13fd7b3 Compare August 1, 2023 08:29
@slyon slyon changed the title CLI: namespace refactoring CLI: Refactoring to avoid namespace clash with public bindings Aug 1, 2023
@slyon slyon force-pushed the cli_namespace_refactor branch from 13fd7b3 to 0a8ec63 Compare August 1, 2023 08:49
@slyon slyon force-pushed the cli_namespace_refactor branch from 0a8ec63 to 42a1cdc Compare August 1, 2023 08:54
@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
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.

2 participants