Closed
Bug 1067409
Opened 10 years ago
Closed 10 years ago
Check for more cases where we should be filtering by |active_status='active'|
Categories
(Tree Management :: Treeherder, defect, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
In bug 1065659 there was already once instance of us using the full repos list rather than the active repos only, when we shouldn't have done.
A quick search shows there may be some more cases, eg in calculate-eta.
Comment 1•10 years ago
|
||
git grep can be really helpful for this kind of task.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → emorley
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Summary: Check for uses of Repository.objects.all() that should be Repository.objects.filter(active_status='active') → Check for more cases where we should be filtering by |active_status='active'|
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8550714 [details] [review]
Filter on repository active_status in more cases
Found these two, think that's it.
Attachment #8550714 -
Flags: review?(mdoglio)
Updated•10 years ago
|
Attachment #8550714 -
Flags: review?(mdoglio) → review+
Comment 4•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-service
https://github.com/mozilla/treeherder-service/commit/96d5d4255457c2ce7b052432aa591b2e419cad93
Bug 1067409 - Filter on repository active_status in more cases
We should only include active repositories when performing
init_datasources or calculating job etas.
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•