maven.mozilla.org: Make beetmover fail whenever an invalid MavenVersion is passed
Categories
(Release Engineering :: Release Automation, enhancement)
Tracking
(firefox84 fixed)
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: jlorenzo, Assigned: alex.lopez.zorzano, Mentored)
References
Details
(Keywords: good-first-bug)
Attachments
(4 files)
In order to prevent bug 1600914 from happening again, we need beetmover to error out whenever MavenVersion
cannot parse the version. In fact, maven-lambda uses this parser to process the functions. Therefore, it's a matter of using it in beetmover too. We may need to parse the path defined in declarative artifacts.
Comment 1•5 years ago
|
||
Comment 2•4 years ago
|
||
Found in triaging, not actively working on this bug, returning to the pool.
Happy to mentor someone to finish. It's a matter of re-doing the logic from https://github.com/mozilla-releng/scriptworker-scripts/blob/e57086624a11d3d58878f18e7664dd6416c0091c/beetmoverscript/src/beetmoverscript/utils.py#L190 in a slightly different place in beetmoverscript (parsing paths from the payload somewhere around or so https://github.com/mozilla-releng/scriptworker-scripts/blob/e57086624a11d3d58878f18e7664dd6416c0091c/beetmoverscript/src/beetmoverscript/task.py#L112 that is used called
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
I can try to help with this but I'll probably need some help getting started since I'm not familiar with the code. I'll read around and see if I can figure things out.
Reporter | ||
Comment 4•4 years ago
•
|
||
Hi Alex!
Thank you very much for your interest! Mihai is on vacation this week, but I can help you out in the meantime. Comment 2 contains the main pointers, but I understand if you'd need more context. I'm happy to provide answers either here on this bug or on chat.mozilla.org. On the latter, you can find me under the nickname jlorenzo
.
Looking forward to hearing from you soon!
Assignee | ||
Comment 5•4 years ago
|
||
Under Johan's guidance I've made a first attempt at solving this. I don't know how to attach pull requests here, so I'll simply post the link for reference: https://github.com/mozilla-releng/scriptworker-scripts/pull/277.
Comment 6•4 years ago
|
||
Thanks a lot for working on this Alex!
Adjusting the bug fields to reflect reality. Thanks Johan for picking this up from our side!
Comment 7•4 years ago
|
||
(In reply to alex.lopez.zorzano from comment #5)
Under Johan's guidance I've made a first attempt at solving this. I don't know how to attach pull requests here, so I'll simply post the link for reference: https://github.com/mozilla-releng/scriptworker-scripts/pull/277.
Dropping this in the comments works as well, no worries! If you wanted to attach to the bug, one should
attach new file
- put the PR URL https://github.com/mozilla-releng/scriptworker-scripts/pull/277 under the
File
section - tick
enter manually
and set it totext/x-github-pull-request
(should be auto-populated at this point with this)
But again, this is not a requirement, a comment suffices too.
Assignee | ||
Comment 8•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Thanks for adding that! I missed to mention to add the description as well, usually as the PR title. I did that just now.
Assignee | ||
Comment 10•4 years ago
|
||
Assignee | ||
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
bugherder |
Reporter | ||
Comment 15•4 years ago
|
||
Amazing job, Alex! This bug turned out to be much harder than a simple "good first bug" and you nailed it! I see today's geckoview nightly is green[1]. I'm glad we now have this check, thanks to you! It bit us in the past, and we now have a way to explicitly error out on it. Thank you!
Comment 16•4 years ago
|
||
bugherder |
Updated•3 months ago
|
Description
•