Skip to content
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

scripts: add versionary.py to drive FCOS versioning #50

Merged
merged 1 commit into from
Dec 17, 2019

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Oct 21, 2019

This script implements the versioning scheme as described in:
coreos/fedora-coreos-tracker#211

The next step is to use this in the FCOS pipeline to drive versioning.

@jlebon
Copy link
Member Author

jlebon commented Oct 21, 2019

Marking as draft for now since the strategy used for the Y component is still being discussed. @bgilbert had a proposal of instead making the timestamp an explicit separate file instead which sits alongside the lockfile.

jlebon added a commit to jlebon/fedora-coreos-pipeline that referenced this pull request Oct 22, 2019
This uses the new `versionary.py` script which implements the new
versioning scheme:

coreos/fedora-coreos-releng-automation#50
@dustymabe
Copy link
Member

@bgilbert had a proposal of instead making the timestamp an explicit separate file instead which sits alongside the lockfile.

This seems like the option with the least "magic".

@jlebon
Copy link
Member Author

jlebon commented Nov 4, 2019

Hmm, we could also just make rpm-ostree inject a timestamp key in the lockfile itself and base versioning off of that. Probably something it should do anyway.

I'd like to avoid two separate files that can go out of sync if possible.

@jlebon
Copy link
Member Author

jlebon commented Nov 8, 2019

@bgilbert Thoughts on #50 (comment) ?

@bgilbert
Copy link
Contributor

bgilbert commented Nov 9, 2019

Works for me.

jlebon added a commit to jlebon/rpm-ostree that referenced this pull request Nov 11, 2019
E.g. the generation timestamp, repos that were enabled, and their
generation timestamps.

This is just generally useful, though specifically the
`metadata.generated` timestamp I'd like to make use in FCOS to drive
versioning:

coreos/fedora-coreos-releng-automation#50
jlebon added a commit to jlebon/rpm-ostree that referenced this pull request Nov 11, 2019
E.g. the generation timestamp, repos that were enabled, and their
generation timestamps.

This is just generally useful, though I'd like to make use specifically
of the new `metadata.generated` key in FCOS to drive versioning:

coreos/fedora-coreos-releng-automation#50
@jlebon
Copy link
Member Author

jlebon commented Nov 11, 2019

OK, reworked this! Now requires coreos/rpm-ostree#1938.
Will lift WIP once I've tested it some more.

openshift-merge-robot pushed a commit to coreos/rpm-ostree that referenced this pull request Nov 12, 2019
E.g. the generation timestamp, repos that were enabled, and their
generation timestamps.

This is just generally useful, though I'd like to make use specifically
of the new `metadata.generated` key in FCOS to drive versioning:

coreos/fedora-coreos-releng-automation#50
@jlebon jlebon marked this pull request as ready for review December 11, 2019 22:07
@jlebon
Copy link
Member Author

jlebon commented Dec 11, 2019

OK, this is ready to go!

jlebon added a commit to jlebon/fedora-coreos-pipeline that referenced this pull request Dec 11, 2019
This uses the new `versionary.py` script which implements the new
versioning scheme:

coreos/fedora-coreos-releng-automation#50
jlebon added a commit to jlebon/fedora-coreos-pipeline that referenced this pull request Dec 11, 2019
This uses the new `versionary.py` script which implements the new
versioning scheme:

coreos/fedora-coreos-releng-automation#50
This script implements the versioning scheme as described in:
coreos/fedora-coreos-tracker#211

The next step is to use this in the FCOS pipeline to drive versioning.
jlebon added a commit to jlebon/fedora-coreos-pipeline that referenced this pull request Dec 17, 2019
This uses the new `versionary.py` script which implements the new
versioning scheme:

coreos/fedora-coreos-releng-automation#50
Copy link

@lucab lucab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

@jlebon
Copy link
Member Author

jlebon commented Dec 17, 2019

Thanks for the review!

@jlebon jlebon merged commit d53ac5c into coreos:master Dec 17, 2019
@jlebon jlebon deleted the pr/versionary branch December 17, 2019 15:28
jlebon added a commit to jlebon/fedora-coreos-pipeline that referenced this pull request Dec 17, 2019
This uses the new `versionary.py` script which implements the new
versioning scheme:

coreos/fedora-coreos-releng-automation#50
jlebon added a commit to coreos/fedora-coreos-pipeline that referenced this pull request Dec 17, 2019
This uses the new `versionary.py` script which implements the new
versioning scheme:

coreos/fedora-coreos-releng-automation#50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants