-
Notifications
You must be signed in to change notification settings - Fork 107
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
[RFC] cmd: remove gen-manifests
in favor of the images
version
#4152
Conversation
Ok, this idea did not pan out - the format between osbuild-composer and images has changed for the gen-manifests command and they are no longer compatible:
|
I'd still like to remove the command here. Maybe we can update the docs to instruct people to clone We should also delete |
This is a result of the outcome of osbuild#4124 Achilleas suggested that instead of having a copy of `gen-manifests` in osbuild-composer we could use the one from images. AFAICT nothing in the code references `gen-manifests` except the `test/README` so it seems safe to remove and just use images. The README got updated to point to `images` and we will also need to remove `test/data/manifest` at a later point (after checking that nothing else depends on this anymore).
79a03a0
to
9eb3e82
Compare
Thanks! I reworked the README changes based on your feedback and reopened. I also added Alexander as the last two commits in |
Let me dig around the various repositories and test suites a bit more to remind myself what was there. I remember we analyzed this at the beginning of the year, removed some test scenarios which were duplicate b/w osbuild-composer and images repositories and kept the rest (there is a ticket with more details, I'll find it and we can talk it through on Monday). My only concern ATM is that if we happen to need to update I'll get back to you with more details. |
in `tools/test-case-generators/repos.json`. | ||
Those are legacy now and all manifest testing is happening in | ||
github.com/osbuild/images - there is a similar `test/data/manifest` directory | ||
in this repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see #3967 and the corresponding COMPOSER-2127 and COMPOSER-2122.
From what I am reading on the above 2 tickets + 1 PR there are still multiple image types which aren't covered by osbuild/images and it is unclear (as of now) when they will be fully covered.
Based on this we've removed duplicate test scenarios and kept ones which were only covered in the osbuild-composer repository. Based on this and the fact that the format between the 2 repositories has changed I cannot approve this PR.
Let's discuss it more before introducing any more changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. I admit, I lost track of how the manifests in osbuild-composer were being used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Based on this I will close this PR for now until the tests are really fully transferred into a single repository.
This is a result of the outcome of
#4124
Achilleas suggested that instead of having a copy of
gen-manifests
in osbuild-composer we could use the one from images. AFAICT nothing
in the code references
gen-manifests
except thetest/README
soit seems safe to remove and just use images.
The README got updated to point to
images
and we will alsoneed to remove
test/data/manifest
at a later point (afterchecking that nothing else depends on this anymore).