Small utility to track the dependencies of the Salt Bundle.
VERSION=1.0
python3 -m venv .venv
. .venv/bin/activate
pip install https://github.com/openSUSE/lubed/releases/download/v$VERSION/lubed-$VERSION-py3-none-any.whl
lubed --helpzypper install python3-uv
git clone git@github.com:openSUSE/lubed
cd lubed
uv venv
uv sync --dev
uv run lubed --helplubed 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_executionlubed updates-> list packages that have been updated in their origin since the timestamp in.last_execution.lubed subprojects-containing saltbundlepy-> list all subprojects that containsaltbundlepylubed not-in-conf-> list packages in the bundle project that are not in theoriginstable inconfig.toml.lubed create-issue-> create a GitHub issue with the list of all packages that need an update