-
Notifications
You must be signed in to change notification settings - Fork 17
Beetmoverscript needs to handle better the MavenVersions #196
Comments
Thank you for filing this bug! To me solution c) is the way to go. This way, there is less surprise when someone look at the payload, then at the final results. I'm not sure how feasible solution a) is, but that could be an okay solution. Solution b) doesn't sound great. I remember checking if I could let |
I fully agree with you. Let's address c) once we have snapshots rolled-out. |
@MihaiTabara - this seems like post-snapshots work. Do we still want it? Should it be tracked on the pipeline board? |
Yes, we should look at this. |
MavenVersion doesn't support beta numbers yet, but we've improved the situation in #228 |
@JohanLorenzo While working on https://bugzilla.mozilla.org/show_bug.cgi?id=1567124 I realized we no longer use templates for any of the mobile world, including GeckoView. I think we can trim that logic altogether from the beetmoverscript repo. What say you? |
FTR, more cleanup related to this issue is coming in #233. |
That sounds great! Let's remove it! |
Currently we're reading all the
payload_version
withFirefoxVersion
. That includes both classic cases (gecko) but also maven counterparts (mobile products). Sincemozilla-version==0.3.1
was rolled-out, there's a more specialized classMavenVersion
to handle the latter specific cases. However, there's an interesting caveat here.In geckoview beetmover jobs, we have
payload_version
likeXX.0bY
which we validate and then parse to infer the major, minor, etc. However,MavenVersion
no longer supports this format in its regexes. On the other hand, if we keep the old format,FirefoxVersion
, we don't have thesnapshot
support.Solution:
a) temporarily hack beetmoverscript to handle both for formats for now to unblock snapshots roll-out to production
b) enrich regex in
MavenVersion
to enable gecko beta / nightly versions? (Not sure we actually want to relax that regex just so that we could parse the values)c) modify in-tree the way we transmit the
payload_version
in beetmover jobs.The text was updated successfully, but these errors were encountered: