mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* i/b/custom_device: add new custom-device interface * tests: spread tests for the custom-device interface * tests: remove unused variable * tests: add custom-device plug to interfaces-many-core-provided * i/b/custom-device: fix base declaration * i/b/custom-devices: error reporting, pattern handling * i/b/custom_device: add unit test for ** check * i/b/custom_device: add support for read-devices attribute * i/b/custom_device: revert change on ** in paths It's safer to be restrictive and keep the globbing to "*". * i/b/custom_device: update comment on AppArmor globbing * i/b/custom_device: minor formatting change * i/b/custom_device: improve logic of slot attribute naming * i/b/custom_device_test: add tests * i/b/custom_device: update interface declaration * interfaces/custom-device: mv read/write under a files key As suggested by Samuele. Also update all the tests. Signed-off-by: Ian Johnson <ian.johnson@canonical.com> * i/b/custom_device: remove leftover comments * i/b/custom_device: remove unneeded function parameter * i/b/custom-devices: improve validation, error handling and tests * i/b/custom_device: test more invalid characters Co-authored-by: Michael Vogt <mvo@ubuntu.com> Co-authored-by: Ian Johnson <ian.johnson@canonical.com>