Closed Bug 462433 Opened 16 years ago Closed 15 years ago

Update blocklist schema to support severities

Categories

(Toolkit :: Blocklist Policy Requests, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mossop, Assigned: morgamic)

References

Details

Attachments

(1 file, 1 obsolete file)

We're going to need to update the blocklist database and script to support the severities for bug 455906. Technically it wouldn't be necessary to rev the url for this change, the new xml would get accepted by old clients.
We'll probably also need to revisit the existing blocklist entries and assign severities to them
where is support for this on the roadmap?  when would you need this schema change?
Dave?  Could you comment on timing?
mconnor was supposed to be working on the policy changes, we basically need the server side stuff done whenever that comes into place
Oh hey, someone should fix this!
Assignee: nobody → morgamic
Status: NEW → ASSIGNED
Blocks: 494374
Dave - I'm assuming policy and client support are in place now?   Ready to move forward?

What happens to pre 3.5 clients when a blocklist entry has a severity?  Don't they just see it as a regular entry?  That could have some consequences we're not anticipating?
I'm not sure whether a policy was ever drafted, mconnor?

Yes, the one backwards compatibility issue we must consider is that old clients will see a low severity blocklist entry as just a regular block so we need to decide whether that is ok, or whether the service needs to leave out low severity entries from the returned xml based on the client version that is sent along with the request.
I think the policy itself needs some looking, can do that this week.

I assumed that we'd serve different data to 3.5 clients than 3.0 clients, but I haven't looked at the blocklist code recently...
Seems like the right thing to do would be to either backport everything or just have 3.0.x clients ignore entries with a severity set.  Other way to do it is exclude 3.0.x clients via the app version.
Blocks: 502305, 502306
What are we going to do here?  Does this even affect the client and what are our plans for 3.6?
We were so close!

Connor: did we get to policy that week?
No, we didn't, from digging into mail archives.  Though, tbh, I don't remember what policy was needed here, at this point!  Or, for that matter, why we blocked implementation on the policy.

What can I do to unblock this?  There was a lot of discussion around 12-18 months back, so I could write something useful/provisional today/this morning if needed.
(In reply to comment #12)
> No, we didn't, from digging into mail archives.  Though, tbh, I don't remember
> what policy was needed here, at this point!  Or, for that matter, why we
> blocked implementation on the policy.

The policy needed was to essentially decide what we would use the different severities for. We should have an open process for deciding what to block and how hard to do it rather than deciding on a case by case basis.
So in cases where all we have is this:
<emItem id="{20a82645-c095-46ed-80e3-08825760534b}"/>

Do I have to add a versionrange even though there aren't any versions?  Can I add:
<versionRange serverity="1"/>

Or will that confuse Firefox?
It's be nice if we could just do this in this case:
<emItem id="{20a82645-c095-46ed-80e3-08825760534b}" severity="1"/>
(In reply to comment #14)
> So in cases where all we have is this:
> <emItem id="{20a82645-c095-46ed-80e3-08825760534b}"/>
> 
> Do I have to add a versionrange even though there aren't any versions?  Can I
> add:
> <versionRange serverity="1"/>

Yes a versionRange element is needed to give a severity, but no minVersion or maxVersion will not confuse anything it will just leave the block affecting all versions. The idea was to allow for different block levels depending on the version of the item being blocked.
Ok - so if both min and max versions for that versionRange are NULL we'll end up with:
<versionRange serverity="1"/>

Otherwise it'll just contain the versions as usual.  I will avoid the severity in an emItem or anything that isn't a versionRange.
Attachment #406934 - Flags: review?
Attachment #406934 - Attachment is obsolete: true
Attachment #406934 - Flags: review?
Checking in at r53641.
Blocks: 522975
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
(In reply to comment #13)
> The policy needed was to essentially decide what we would use the different
> severities for. We should have an open process for deciding what to block and
> how hard to do it rather than deciding on a case by case basis.

We should have a policy/plan for how we'll use it, but we already have defined the various behaviours available, in the client, so it doesn't make sense to have blocked implementation on knowing how we'd make use of that.  My mistake for not stating that clearly in May.
Product: addons.mozilla.org → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: