Lindley Werner 8022697b60 Add "components" to apt-ostree
Adds support to apt-ostree to manage the Debian packages in logically
separated components. With that, the apt-ostree can manage packages
from different release versions without mixing them.

Changed "add", "list" and "remove" repo commands to have an optional
argument "--component". If passed, the package will be added, list or
removed from the specified component, if not the package will be added,
listed or removed from the default component, created on the apt-ostree
setup with the "--origin" argument (e.g. updates).

Pinned pytest to a specific version to fix py3 job.

Test plan:
PASS Installed apt-ostree from git repo
PASS Run to initialize the repo "apt-ostree repo init \
--feed <feed_dir> --release bookworm --origin updates"

Test plan add:
PASS Download the desired Debian package
PASS Run "apt-ostree repo add --feed <feed_dir> \
--release bookworm --component 24.03.01 <package.deb>"

Test plan list
PASS Run "apt-ostree repo list --feed <feed_dir> \
--release bookworm --component 24.03.01"

Test plan remove:
PASS Run "sudo apt-ostree repo remove --feed <feed_dir> \
--release bookworm --component 24.03.01 <package>"
PASS Run list command to check if the package was removed

Story: 2010867
Task: 50118

Change-Id: I4c6e0df5fccd29e2b3b9a7932932c008f2fe0386
Signed-off-by: Lindley Werner <Lindley.Vieira@windriver.com>
2024-05-29 11:29:02 -03:00
2024-05-29 11:29:02 -03:00
2024-01-31 14:16:45 +00:00
2023-08-18 09:10:14 -04:00
2024-02-23 17:16:42 +00:00
2023-10-26 08:03:46 -04:00
2023-07-19 09:14:36 -04:00
2023-09-25 15:00:09 +00:00
2023-07-18 12:06:07 -04:00
2023-07-26 08:10:12 -04:00
2023-07-18 12:06:07 -04:00
2023-07-18 12:06:07 -04:00
2023-07-18 12:06:07 -04:00
2023-07-18 12:06:07 -04:00
2024-01-09 19:23:58 +00:00
2023-10-23 14:02:10 -04:00
2023-07-18 12:06:07 -04:00
2023-07-18 12:06:07 -04:00
2023-07-18 12:06:07 -04:00
2023-07-18 12:06:07 -04:00
2023-08-08 16:24:38 +00:00
2023-12-15 11:23:45 -05:00
2023-08-08 16:24:38 +00:00
2023-07-18 12:06:07 -04:00
2024-05-29 11:29:02 -03:00

apt-ostree

Hybrid image/package manager for Debian and Debian deriatives.

Description
StarlingX image/package management system
Readme 1.5 MiB
Languages
Python 94.7%
Shell 4.8%
Dockerfile 0.5%