Closed Bug 1473356 Opened 6 years ago Closed 6 years ago

Script the creation of a WNP blob (schema 9)

Categories

(Release Engineering :: Release Automation: Updates, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlorenzo, Assigned: jlorenzo)

References

Details

Attachments

(2 files, 1 obsolete file)

Manual steps are documented at: https://github.com/mozilla-releng/releasewarrior-2.0/blob/master/docs/release-promotion/desktop/howto-rc.md#wnp Callek had scripted the old way of doing WNP. Let's update these scripts to let it do it for us.
I'm updating the script, and I'd like to make the script default to the previous release. To do so, mozilla-version should extract versions from a release name like "Firefox-60.0-build3". What do you think, Tom?
Assignee: nobody → jlorenzo
Attachment #8989941 - Flags: review?(mozilla)
(In reply to Johan Lorenzo [:jlorenzo] from comment #1) > To do so, mozilla-version should extract versions from a > release name like "Firefox-60.0-build3". What do you think, Tom? I think mozilla-version should be able to extract a name from a release identifier like that *if* you ask to, but not when you just ask it to parse a version number.
This probably requires some changes after we changed the API of mozilla-version, but the algorithm should be about the same. I'm also feeling less comfortable having this live in braindump because of the lack of automated testing. I only manually tested it :jlund, do you think this can live in releasewarrior-2.0?
Flags: needinfo?(jlund)
Attachment #8990272 - Flags: review?(bugspam.Callek)
(In reply to Johan Lorenzo [:jlorenzo] from comment #3) > I'm also feeling less comfortable having this live in braindump because of > the lack of automated testing. I only manually tested it :jlund, do you > think this can live in releasewarrior-2.0? Please, yes let's use rw/scripts/. I imagine it was only in braindump initially as callek was using it as a personal tool and wanted to share it. Much like all braindump things. But now it's probably right for it to graduate :)
Flags: needinfo?(jlund)
Comment on attachment 8990272 [details] [diff] [review] [build/braindump] Update create_wnp_blob.py to support new balrog schema Review of attachment 8990272 [details] [diff] [review]: ----------------------------------------------------------------- I did write the original stuff here, but I know little about the Schema 9, and I haven't yet investigated mozilla-version all that well, so I'm tossing this over to tom who's already flagged in this bug (and is releaseduty).
Attachment #8990272 - Flags: review?(bugspam.Callek) → review?(mozilla)
Comment on attachment 8990272 [details] [diff] [review] [build/braindump] Update create_wnp_blob.py to support new balrog schema There was a WNP request today. I used that script to generate it. I seize this occasion to move the script to releasewarrior.
Attachment #8990272 - Attachment is obsolete: true
Attachment #8990272 - Flags: review?(mozilla)
Comment on attachment 8989941 [details] [mozilla-version] PR: Add support for balrog release names Was r+'d by Tom at https://github.com/mozilla-releng/mozilla-version/pull/5#pullrequestreview-145046422 Released as part of mozilla-version 0.2.0
Attachment #8989941 - Flags: checked-in+
Attachment #8989941 - Flags: review?(mozilla) → review+
This PR automates the creation of the blog locally. Yesterday, Mihai, Tom, and I thought of a way of implementing this in-tree. I'll file a follow up bug for this. In the meantime, I suggest we use this script. An early revision of it helped me publish the 61.0.2 blob.
Attachment #8999141 - Flags: review?(mozilla)
Attachment #8999141 - Flags: review?(jlund)
Attachment #8999141 - Flags: review?(mozilla)
Attachment #8999141 - Flags: review?(jlund)
Attachment #8999141 - Flags: review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: