Skip to content

manifest: Add lockfile-repos field#2058

Merged
openshift-merge-robot merged 1 commit intocoreos:masterfrom
jlebon:pr/lockfile-repos
Apr 19, 2020
Merged

manifest: Add lockfile-repos field#2058
openshift-merge-robot merged 1 commit intocoreos:masterfrom
jlebon:pr/lockfile-repos

Conversation

@jlebon
Copy link
Copy Markdown
Member

@jlebon jlebon commented Apr 14, 2020

In Fedora CoreOS, we have a "coreos-pool" repo from which all packages
in lockfiles are tagged for reproducible builds. This repo is shared
across all streams, including those on f31 and f32.

Thus, it makes no sense for composes to ever pick packages unconstrained
from the pool without being guided by a lockfile. Otherwise, one can
easily end up with e.g. f32 packages in an f31 compose.

Add a new lockfile-repos for this which is only used for fetching
lockfile packages and nothing else. This for example will also allow
e.g. cosa fetch --update-lockfile to Just Work as expected by only
fetching new packages from regular yum repos.

@jlebon
Copy link
Copy Markdown
Member Author

jlebon commented Apr 14, 2020

Requires: #1858.

@jlebon
Copy link
Copy Markdown
Member Author

jlebon commented Apr 17, 2020

OK, rebased this!

@jlebon
Copy link
Copy Markdown
Member Author

jlebon commented Apr 17, 2020

/test sanity

@jlebon
Copy link
Copy Markdown
Member Author

jlebon commented Apr 17, 2020

Example of this being used: coreos/fedora-coreos-config#355. Where this is going: coreos/fedora-coreos-tracker#293 (comment)

@cgwalters
Copy link
Copy Markdown
Member

Missing an update in treefile.md, otherwise LGTM.

In Fedora CoreOS, we have a "coreos-pool" repo from which all packages
in lockfiles are tagged for reproducible builds. This repo is shared
across all streams, including those on f31 and f32.

Thus, it makes no sense for composes to ever pick packages unconstrained
from the pool without being guided by a lockfile. Otherwise, one can
easily end up with e.g. f32 packages in an f31 compose.

Add a new `lockfile-repos` for this which is only used for fetching
lockfile packages and nothing else. For example, this will allow
`cosa fetch --update-lockfile` to Just Work as expected by only fetching
new packages from regular yum repos.
@jlebon jlebon force-pushed the pr/lockfile-repos branch from fec25d5 to 242b6f4 Compare April 18, 2020 14:06
@cgwalters
Copy link
Copy Markdown
Member

/lgtm

@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 3ec5e28 into coreos:master Apr 19, 2020
@jlebon jlebon deleted the pr/lockfile-repos branch April 23, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants