-
Notifications
You must be signed in to change notification settings - Fork 198
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
Support dumping the treefile with exact package versions being. #1670
Comments
Yeah, we can do this. There was recent discussion about this here: https://mail.gnome.org/archives/ostree-list/2018-October/msg00005.html |
@cgwalters - would you say this is a medium difficulty task? |
In addition to this, being able to know which repo the package came from as well would be useful. |
Strawman: A new
Basically a list of repos, each of which contains an exact NEVRA plus the repodata sha256sum (not the rpm checksum). When provided with Probably the sanest is that if |
(Also worthwhile to look at Rust's |
Fixes coreos#1670 This patch introduces a new `compose tree --write-lockfile-to=manifest.lock` argument and a new `compose tree --lockfile=manifest.lock` to read it back for subsequent invocations. Signed-off-by: Rafael Fonseca <[email protected]>
Fixes coreos#1670 This patch introduces a new `compose tree --write-lockfile-to=manifest.lock` argument and a new `compose tree --lockfile=manifest.lock` to read it back for subsequent invocations. Signed-off-by: Rafael Fonseca <[email protected]>
Fixes coreos#1670 This patch introduces a new `compose tree --write-lockfile-to=manifest.lock` argument and a new `compose tree --lockfile=manifest.lock` to read it back for subsequent invocations. Signed-off-by: Rafael Fonseca <[email protected]>
Fixes #1670 This patch introduces a new `compose tree --write-lockfile-to=manifest.lock` argument and a new `compose tree --lockfile=manifest.lock` to read it back for subsequent invocations. Signed-off-by: Rafael Fonseca <[email protected]> Closes: #1745 Approved by: jlebon
Fixes coreos#1670 This patch introduces a new `compose tree --ex-write-lockfile-to=manifest.lock` argument and a new `compose tree --ex-lockfile=manifest.lock` to read it back for subsequent invocations. Signed-off-by: Rafael Fonseca <[email protected]>
Fixes coreos#1670 This patch introduces a new `compose tree --ex-write-lockfile-to=manifest.lock` argument and a new `compose tree --ex-lockfile=manifest.lock` to read it back for subsequent invocations. Signed-off-by: Rafael Fonseca <[email protected]>
I know we can dump the treefile with by resolving the includes before building the tree. But it would be really useful to be able to dump the treefile replacing each package with its exact name if not already specified. Doing this we can version control the dumped treefile and then use the treefile with the corresponding versions of treecompose-post.sh and repo files to regenerate the exact same build.
This will be very useful to people maintaining their own custom trees. I think this would the first step for #122.
The text was updated successfully, but these errors were encountered: