add iso3166 enforced whitelist
Bug #1006570 reported by
Michael Vogt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
Fix Released
|
Medium
|
Danny Tamez | ||
software-center (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The current way to restrict by region is the blacklist-iso3166:: tag. If a developer wants to restrict to a specific country only (e.g. US) this is not ideal. We need "restrict-
TEST CASE:
1. use precise in a non-spanish speaking country (like germany or the UK)
2. run software-center search:Comentarios
3. verify that it exists
4. install software-center from precise-proposed
5. repeat (2) and verify that its no longer found (may need some seconds to clean the result)
REGRESSION POTENTIAL: low as its a new feature and in the worst case the whitelist does not work and therefore the user sees all apps which is exactly the current behavior.
Related branches
lp://staging/~mvo/software-center/region-whitelist-lp1006570
- Gary Lasker (community): Approve
-
Diff: 217 lines (+93/-28)4 files modifiedsoftwarecenter/db/update.py (+29/-10)
softwarecenter/region.py (+2/-0)
tests/test_database.py (+60/-17)
tests/utils.py (+2/-1)
Changed in software-center (Ubuntu): | |
milestone: | none → ubuntu-12.10 |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu): | |
status: | Triaged → Confirmed |
Changed in software-center-agent: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Danny Tamez (zematynnad) |
Changed in software-center-agent: | |
status: | In Progress → Fix Committed |
Changed in software-center-agent: | |
status: | Fix Committed → Fix Released |
Changed in software-center-agent: | |
milestone: | none → 12.07 |
Changed in software-center (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in software-center (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
To post a comment you must log in.
This is targeted for 12.10 so I add a ca-escalated tag now as we are getting late.