You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry should have checked back on this before - the recent addition to add the <date: tag in (coreos/rpm-ostree#1721) was constrained in maintaining the "always appending an increment" behaviour. Right now - this increment is always appended as .x with x being the build number.
We could add in options to allow a plus sign to be appended (e.g. <increment_separator:+> somewhere in the prefix would mean +x gets appended instead of .x). To have zero padding, a <zero_padding:3> tag could be supported to pad the appended version number with zeroes to 3 digits (e.g. 00x).
If these options would be good to have, the logic for them would fit in cleanly along with the current <date: tag.
@rfairley thanks! Personally, I don't think it's worth updating rpm-ostree, getting new builds available for use, and then referencing them just for the + -> . but it is a fair conversation to have :-)
Are we planning to have more than 99 builds per day? That sounds unlikely. :)
Otherwise, . vs + sounds kinda bikesheddy. 🏠 🖌️ I personally prefer dots, but if we feel strongly about it, sure, we could add a knob to change the separator.
from #259 i thought we were trying to keep our version string to comply with semver, but we weren't necessarily making the same guarantees that semver does regarding API etc...
Activity
ashcrow commentedon Oct 30, 2018
Looking at the pipeline output in v2 this looks like it's done. Does that sound accurate @cgwalters?
ashcrow commentedon Nov 7, 2018
Never mind, verified this morning this is NOT done.
ashcrow commentedon Jan 16, 2019
It looks like the treefile syntax doesn't support increment builds without the dot. Any objection to replacing the end
+with a.like $OCPMAJORMINORPATH.$RHELMAJOR.$DATE.$BUILD?EG:
Outputing:
400.7.20180116.1ashcrow commentedon Jan 16, 2019
/cc @dustymabe @miabbott @lucab @cgwalters
rfairley commentedon Jan 16, 2019
Sorry should have checked back on this before - the recent addition to add the
<date:tag in (coreos/rpm-ostree#1721) was constrained in maintaining the "always appending an increment" behaviour. Right now - this increment is always appended as.xwith x being the build number.We could add in options to allow a plus sign to be appended (e.g.
<increment_separator:+>somewhere in the prefix would mean+xgets appended instead of.x). To have zero padding, a<zero_padding:3>tag could be supported to pad the appended version number with zeroes to 3 digits (e.g.00x).If these options would be good to have, the logic for them would fit in cleanly along with the current
<date:tag./cc @jlebon
ashcrow commentedon Jan 16, 2019
@rfairley thanks! Personally, I don't think it's worth updating
rpm-ostree, getting new builds available for use, and then referencing them just for the+->.but it is a fair conversation to have :-)jlebon commentedon Jan 16, 2019
Are we planning to have more than 99 builds per day? That sounds unlikely. :)
Otherwise,
.vs+sounds kinda bikesheddy. 🏠 🖌️ I personally prefer dots, but if we feel strongly about it, sure, we could add a knob to change the separator.dustymabe commentedon Jan 16, 2019
ehh. seems fine to me.
one of the reasons we went with
+I think was to try to comply with semver, but I don't think it really matters that much.rfairley commentedon Jan 16, 2019
Alright - SGTM to leave it at dots :) . Just wanted to make sure we weren't limited in case there was a strong preference for
+.ashcrow commentedon Jan 16, 2019
OK perfect. I'll pick this back up with
..miabbott commentedon Jan 29, 2019
Super late to the conversation here, but just wanted to ask this:
My memory might be failing, but I thought we weren't trying to comply to semver?
dustymabe commentedon Jan 30, 2019
from #259 i thought we were trying to keep our version string to comply with semver, but we weren't necessarily making the same guarantees that semver does regarding API etc...
At this point let's go with
.as suggested above.ashcrow commentedon Jan 30, 2019
PR submitted
ashcrow commentedon Feb 27, 2019
This has been implemented in the v3 pipeline and is currently pumping out images.