-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rewrite depsolve external #196
Commits on Sep 16, 2024
-
test: add a new
normalize_rpm_refs
helperThis commit adds a new `normalize_rpm_refs()` helper that will normalize the rpm file inputs for comparison, i.e. it will sort the hashes and remove duplicates. This is important because the "images" library writes duplicated input rpm packages from the inputs as duplicated hashes into the references. But in our test we only need to worry about that exactly the right rpm files got included, the order is not important.
Configuration menu - View commit details
-
Copy full SHA for acdfea1 - Browse repository at this point
Copy the full SHA acdfea1View commit details -
external: remove unused subcommands
Remove unused subcommands of the `osbuild_external`. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c12c626 - Browse repository at this point
Copy the full SHA c12c626View commit details -
Externals no longer receive their name within the tree structure that they get from `otk`. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7707e6 - Browse repository at this point
Copy the full SHA b7707e6View commit details -
external: split out the depsolve external
This splits out the depsolve external along the lines of the previously written partition externals. Using the external is now a two-step process where you run one external in a define and then use its output to generate stages and sources. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5284567 - Browse repository at this point
Copy the full SHA 5284567View commit details -
example: centos9-qcow/ami with depsolve
Use depsolver for the CentOS 9 QCOW and AMI omnifests Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2e61cf - Browse repository at this point
Copy the full SHA d2e61cfView commit details -
In `images` we mock depsolves so we can run them very fast under test. This introduces the same functionality to the depsolve external. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c1ac86 - Browse repository at this point
Copy the full SHA 1c1ac86View commit details -
Use a `const.internal` subkey for the dnf4 depsolving external. This follows the ideas set forth in the partition tables. `.const` means that the format can be considered un-changing and `.internal` means that this shouldn't be used directly but only through other externals in the same group. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24645b4 - Browse repository at this point
Copy the full SHA 24645b4View commit details -
external: rename depsolve externals
Renames the depsolve externals to fit into the partition externals naming scheme. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 364d4f3 - Browse repository at this point
Copy the full SHA 364d4f3View commit details -
test: copy python externals into externals
Bit of a hacky way to copy the (installed) Python externals into the search path for the manifest tests. Also sets testing environment to True. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64ce109 - Browse repository at this point
Copy the full SHA 64ce109View commit details -
Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e660454 - Browse repository at this point
Copy the full SHA e660454View commit details -
Properly output the RPM stage. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 53eb4b2 - Browse repository at this point
Copy the full SHA 53eb4b2View commit details -
Drop the second GPG key as they are not in the reference manifests. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd69d3e - Browse repository at this point
Copy the full SHA cd69d3eView commit details -
Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9978335 - Browse repository at this point
Copy the full SHA 9978335View commit details -
Configuration menu - View commit details
-
Copy full SHA for 569159f - Browse repository at this point
Copy the full SHA 569159fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4428e7e - Browse repository at this point
Copy the full SHA 4428e7eView commit details -
external: provide package information
Provide a map keyed by package name of the depsolve result that can be used by omnifests to look up package information. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3810989 - Browse repository at this point
Copy the full SHA 3810989View commit details -
chore: remove warning comments
With the rewrite of the depsolver these are not extremely poc anymore. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b734b2 - Browse repository at this point
Copy the full SHA 6b734b2View commit details -
external: exception contains stderr and stdout
Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14967a7 - Browse repository at this point
Copy the full SHA 14967a7View commit details -
external: remove a line of code
Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c141f07 - Browse repository at this point
Copy the full SHA c141f07View commit details -
external/example: use solved kernel version
Use the depsolved kernel version and release for grub. Note that this assumes there is a `packages.os` which might not be true for all situations. Perhaps this should be a separate define in the examples. Signed-off-by: Simon de Vlieger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7b8a91 - Browse repository at this point
Copy the full SHA a7b8a91View commit details