Closed
Bug 1310210
Opened 8 years ago
Closed 8 years ago
create Required Signoffs tables
Categories
(Release Engineering Graveyard :: Applications: Balrog (backend), defect, P1)
Release Engineering Graveyard
Applications: Balrog (backend)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
(Whiteboard: [lang=python][ready])
Attachments
(1 file)
Required Roles will be two data tables that store the type and number of Signoffs required for different types of changes. We will need two tables:
1) product_channel_required_signoffs, which will track Required Signoffs for different product+channel combinations. It will need a primary key of product, channel, and role as well as a signoffs_required column which will track the number of signoffs needed from the given role for the given product_channel
2) permissions_required_signoffs, which will track Required Signoffs needed for changes to Permissions. It will need a primary key of product and role as well as a signoffs_required column.
Both tables will require Signoff when certain changes are made to them. That is to say, if changes to Firefox release channel Rules requires 2 relman Signoffs, changing the number of Required Signoffs for Firefox release channel rules will require 2 relman Signoff. This means that Scheduled Changes must be enabled for both of these tables.
Assignee | ||
Comment 1•8 years ago
|
||
When new Required Signoffs are added, we must ensure the signoffs_required does not exceed the number of users who hold the given Role. Eg: if we required 10 Signoffs from the “releng” Role, but only 5 Users held that Role, making that change (or even removing that Signoff requirement) would be impossible.
Assignee | ||
Updated•8 years ago
|
Summary: create Required Roles tables → create Required Signoffs tables
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 2•8 years ago
|
||
I'll be looking at this in the near future.
Assignee: nobody → bhearsum
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Ben Hearsum (:bhearsum) from comment #1)
> When new Required Signoffs are added, we must ensure the signoffs_required
> does not exceed the number of users who hold the given Role. Eg: if we
> required 10 Signoffs from the “releng” Role, but only 5 Users held that
> Role, making that change (or even removing that Signoff requirement) would
> be impossible.
Similarly, we should probably look at Required Signoffs when removing a Role from a User to make sure we don't get into situation where we can't Signoff.
Assignee | ||
Comment 4•8 years ago
|
||
Details in PR.
Attachment #8825173 -
Flags: review?(nthomas)
Attachment #8825173 -
Flags: review?(jlorenzo)
Updated•8 years ago
|
Attachment #8825173 -
Flags: review?(jlorenzo) → review+
Updated•8 years ago
|
Attachment #8825173 -
Flags: review?(nthomas) → review+
Comment 8•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/balrog
https://github.com/mozilla/balrog/commit/8990958d7ca1c035f4b07f2a3089565584fed830
bug 1310210: Implement Required Signoffs tables (#208). r=nthomas,jlorenzo
Assignee | ||
Updated•8 years ago
|
Priority: -- → P1
Whiteboard: [lang=python][ready]
Assignee | ||
Comment 9•8 years ago
|
||
This is in production now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Release Engineering → Release Engineering Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•