snapd:master

Last commit made on 2024-05-08
Get this branch:
git clone -b master https://git.launchpad.net/snapd

Branch merges

Branch information

Name:
master
Repository:
lp:snapd

Recent commits

c1cf798... by Andrew Phelps <email address hidden>

many: generate security profiles from component hooks (#13686)

* interfaces: add method to SnapAppSet for getting list of runnable entities

* interfaces: replace references to hooks/apps in backends with usage of SnapAppSet.Runnables

* interfaces: rename SecurityTagGlob to SecurityTagGlobs and make it handle component hooks

* snap: add method for getting component hooks for a specific plug

* interfaces: add component hooks to output of SecurityTagsForConnectedPlug

* snapstate: add methods for getting components installed for the current and arbitrary revisions of a snap

* o/ifacestate: properly set up SnapAppSets with components prior to passing them off to security backends

* o/snapstate: create setup-profiles task when installing a component

* many: add side info param to snaptest.MockComponent

* many: fix failing tests caused by changes in rebase

* snap: add ComponentHookSecurityTag for getting a component hook's security tag

* interfaces: implement SecurityTagGlobs with snap.ComponentHookSecurityTag

* interfaces: move some helper functions to helpers.go

* o/snapstate: add functions that are useful when operating on component-related tasks

* o/ifacestate: use functions from snapstate rather than local functions

* i/apparmor: cleanup comment and whitespace

* o/snapstate: replace some speculative code with TODOs for now

* interfaces, o/ifacestate: remove Type from interfaces.Runnable and do not sort the result of SnapAppSet.Runnables()

* o/snapstate: remove unused variable

277fbc2... by Andrew Phelps <email address hidden>

many: add components to interfaces.SnapAppSet (#13837)

58dfc18... by Maciej Borzecki

packaging: do not require fakeroot on Amazon Linux 2

Do not require fakeroot on Amazon Linux 2, as we do not run unit tests there
anyway, and it's not available in the repositories.

Signed-off-by: Maciej Borzecki <email address hidden>

febc165... by Maciej Borzecki

spread: enable EPEL on CentOS 9

How come it wasn't enabled yet?

Signed-off-by: Maciej Borzecki <email address hidden>

1ce896a... by Maciej Borzecki

packaging/fedora: disable logging of executed commands

The amount of logs produced by this is staggering and it's near impossible to
locate errors.

Signed-off-by: Maciej Borzecki <email address hidden>

8accae8... by Maciej Borzecki

packaging: make sure that /var/lib/snapd/environment exists (#13944)

Have the snapd packaging helper create /var/lib/snapd/environment. This fixes
RPM build on openSUSE:

```
RPM build errors:
    Directory not found: /usr/src/packages/BUILDROOT/snapd-1337.2.63-0.x86_64/var/lib/snapd/environment
```

Signed-off-by: Maciej Borzecki <email address hidden>

0dbb838... by Sergio Cazzolato

tests: test details part 15 (#13941)

* tets: test details part 15

This is the last set of test details

* Update tests/main/snapshot-basic/task.yaml

Co-authored-by: Andrew Phelps <email address hidden>

---------

Co-authored-by: Andrew Phelps <email address hidden>

894084e... by Oliver Calder

tests: add test details for services-related spread tests, and a few others (#13942)

Signed-off-by: Oliver Calder <email address hidden>

af79129... by Valentin David

tests: add details for some snap-confine relate tests (#13934)

399a770... by Zeyad Gouda

tests/main: add missing test details (#13935)

* tests/main: add missing test details

affected tests:
- tests/main/snap-sign/task.yaml
- tests/main/snap-system-key/task.yaml
- tests/main/snap-user-service-socket-activation/task.yaml
- tests/main/snap-user-service-start-on-install/task.yaml
- tests/main/snap-user-service-upgrade-failure/task.yaml
- tests/main/snap-userd-desktop-app-autostart/task.yaml
- tests/main/snap-userd-reexec/task.yaml

Signed-off-by: Zeyad Gouda <email address hidden>

* Update task.yaml

---------

Signed-off-by: Zeyad Gouda <email address hidden>
Co-authored-by: Sergio Cazzolato <email address hidden>