Small utility to track the dependencies of the Salt Bundle.
zypper install python3-poetry libffi-devel
git clone [email protected]:openSUSE/lubed
cd lubed
poetry install
poetry shell
lubed
needs to know where to find the origin of the dependencies.
config.toml
must include an origins
table of tables, e.g.
[origins]
[origins.saltbundlepy]
project = "SUSE:SLE-15-SP4:Update"
package = "python310"
Keep in mind that the name is the OBS Package name, and that the OBS API resolves project inheritance.
lubed init
-> saves the current time in.last_execution
lubed updates
-> list packages that have been updated in their origin since the timestamp in.last_execution
.lubed subprojects-containing saltbundlepy
-> list all subprojects that containsaltbundlepy
lubed not-in-conf
-> list packages in the bundle project that are not in theorigins
table inconfig.toml
.lubed create-issue
-> create a GitHub issue with the list of all packages that need an update
- list of bundled packages api /source/<project-name>
- mapping bundled package -> origin (project/package) (project one of: openSUSE:Factory or SUSE:SLE-15-SP4:Update)
- for all origins: save revision id
- for all origins: check if revision id changed, produce diff between old and new revision