~slyon/snappy-hwe-snaps/+git/network-manager:slyon/netplan-0104-compat

Last commit made on 2022-02-16
Get this branch:
git clone -b slyon/netplan-0104-compat https://git.launchpad.net/~slyon/snappy-hwe-snaps/+git/network-manager
Only Lukas Märdian can upload to this branch. If you are Lukas Märdian please log in for upload directions.

Branch merges

Branch information

Name:
slyon/netplan-0104-compat
Repository:
lp:~slyon/snappy-hwe-snaps/+git/network-manager

Recent commits

e8ed6a5... by Lukas Märdian

Update netplan integration for v0.104 compatibility

netplan_clear_netdefs() is being called to early, therefore netdef_id is
undefined/garbage and can not be used to calculate a path.

This did work in netplan <= 0.103 as there was a memory leak and netdef_id
was not actually cleared, starting with 0.104 the memory leak is fixed and
we need to adopt the NetworkManager integration accordingly.

This change is compatible with old and new versions of libnetplan.

859f160... by System Enablement CI Bot <email address hidden>

Open development for 1.22.10-11-dev

0b9bcdf... by System Enablement CI Bot <email address hidden>

Bump version to 1.22.10-10

9addaf2... by System Enablement CI Bot <email address hidden>

Update manifests to 1.22.10-10

81a1c2e... by System Enablement CI Bot <email address hidden>

Update ChangeLog for 1.22.10-10

ecc97ba... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch slyon/drop-vendorized-netplan

Merge-Proposal: https://code.launchpad.net/~slyon/snappy-hwe-snaps/+git/network-manager/+merge/412634

Author: Lukas Märdian <email address hidden>

Drop vendorized netplan

All required changes landed:
- https://github.com/snapcore/snapd/pull/10212
- https://github.com/canonical/netplan/pull/208
- https://bugs.launchpad.net/snappy/+bug/1926442

Refresh 0002-nm-netplan-keyfile.patch

netplan 0.103 compat changes are now integrated with the original patch, as
that version landed in UC20, changes to NM's unit-tests are not needed anymore.

Also, avoid calling into the netplan_generate() libnetplan API, this would just
execute the 'netplan generate' CLI, which would then call the
io.netplan.Netplan.Generate() DBus API in snap environments.
We can avoid this additional redirection and be independent from deprecation
or changes that are incompatible with the snap environment in the
netplan_generate() API, by calling the 'netplan generate' CLI directly.
Ideally, in the future we would avoid this redirection as well and call into
the io.netplan.Netplan.Generate() DBus method directly. But we need to pass a
--root-dir argument during the execution of NM's unit-tests, that is currently
not supported by the DBus method, so let's stick with the CLI for now.

This depends on the snapd snap to be >= 2.53.2+git864.g5823952 (currently in snapd/edge).

b302930... by Lukas Märdian

snapcraft: cleanup extra PPA repository

bbd4457... by Lukas Märdian

Refresh 0002-nm-netplan-keyfile.patch

netplan 0.103 compat changes are now integrated with the original patch, as
that version landed in UC20, changes to NM's unit-tests are not needed anymore.

Also, avoid calling into the netplan_generate() libnetplan API, this would just
execute the 'netplan generate' CLI, which would then call the
io.netplan.Netplan.Generate() DBus API in snap environments.
We can avoid this additional redirection and be independent from deprecation
or changes that are incompatible with the snap environment in the
netplan_generate() API, by calling the 'netplan generate' CLI directly.
Ideally, in the future we would avoid this redirection as well and call into
the io.netplan.Netplan.Generate() DBus method directly. But we need to pass a
--root-dir argument during the execution of NM's unit-tests, that is currently
not supported by the DBus method, so let's stick with the CLI for now.

6ed1b52... by Lukas Märdian

Drop vendorized netplan

All required changes landed:
- https://github.com/snapcore/snapd/pull/10212
- https://github.com/canonical/netplan/pull/208
- https://bugs.launchpad.net/snappy/+bug/1926442

b8e38c3... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch add-remove-hook

Merge-Proposal: https://code.launchpad.net/~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager/+merge/414094

Author: Alfonso Sanchez-Beato <email address hidden>

Add remove hook

Remove the netplan configuration that might have been created by the
snap on removal.