Closed
Bug 1378935
Opened 8 years ago
Closed 8 years ago
auth/test_backends.py taskcluster scope_match is deprecated warning
Categories
(Tree Management :: Treeherder, defect, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: omakkila, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=py])
Attachments
(1 file)
Seen in warnings output when a test fails in Vagrant:
tests/auth/test_backends.py::test_find_user_by_email[mozilla-ldap/dude@lebowski.net-dude@lebowski.net-scopes0-user0-False]
/home/vagrant/python/lib/python2.7/site-packages/taskcluster/utils.py:250: UserWarning: NOTE: scope_match is deprecated. Use scopeMatch
warnings.warn('NOTE: scope_match is deprecated. Use scopeMatch')
| Reporter | ||
Comment 1•8 years ago
|
||
Example warning on Travis:
https://travis-ci.org/mozilla/treeherder/jobs/250458786#L707
The offending code can be found here:
https://github.com/mozilla/treeherder/search?q=scope_match&type=
Hi! I would like to use this to learn the process of submitting patches. Can I help?
| Reporter | ||
Comment 3•8 years ago
|
||
(The account in comment 2 has been disabled)
For anyone else wanting to work on this, please see:
https://treeherder.readthedocs.io/installation.html
Then replace usages of `scope_match` (search link in comment 1) with `scopeMatch`, run the tests locally, and then open a PR.
| Assignee | ||
Comment 4•8 years ago
|
||
Hello, Ed! I'm new to OSS and looking for a simple bug to work on to get started. I believe solving this is straightforward, so I'll most likely open up a PR in the treeherder repo later this weekend. Thanks!
Comment 5•8 years ago
|
||
Hello, I have been developing web apps for last 2 years and I would like to be a part of open source community.Could you please help me get started.
Thank you!
Comment 6•8 years ago
|
||
Updated•8 years ago
|
Assignee: nobody → omakkila
Comment 7•8 years ago
|
||
Comment on attachment 8892066 [details] [review]
[treeherder] omakk:fix-warning > mozilla:master
Hey Omar, usually you need to flag someone for review with these patches/pr's. I assigned this one to :camd.
Attachment #8892066 -
Flags: review?(cdawson)
Comment 8•8 years ago
|
||
(In reply to Rupanshu Verma from comment #5)
> Hello, I have been developing web apps for last 2 years and I would like to
> be a part of open source community.Could you please help me get started.
> Thank you!
Hi Rupanshu, looks like this one already has a patch. Hopefully you can find something else to work on. :)
| Assignee | ||
Comment 9•8 years ago
|
||
(In reply to William Lachance (:wlach) (use needinfo!) from comment #7)
> Comment on attachment 8892066 [details] [review]
> [treeherder] omakk:fix-warning > mozilla:master
>
> Hey Omar, usually you need to flag someone for review with these
> patches/pr's. I assigned this one to :camd.
Sorry about that, William - I wasn't aware of the procedure. Hopefully everything else is in order. Thanks for letting me know :)
Comment 10•8 years ago
|
||
Comment on attachment 8892066 [details] [review]
[treeherder] omakk:fix-warning > mozilla:master
Omak-- Just need the commit message fixed. Otherwise, this will be good to merge. Thanks for the patch! Please reassign to me once fixed.
Attachment #8892066 -
Flags: review?(cdawson) → review-
| Assignee | ||
Comment 11•8 years ago
|
||
Comment on attachment 8892066 [details] [review]
[treeherder] omakk:fix-warning > mozilla:master
Should be good now. Thanks for reviewing!
Attachment #8892066 -
Flags: review- → review?(cdawson)
Comment 12•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/73a7770a7fd01ab6dbf2571ad1eb0551312fea4c
Bug 1378935 - Replace deprecated scope_match with scopeMatch (#2671)
Comment 13•8 years ago
|
||
Comment on attachment 8892066 [details] [review]
[treeherder] omakk:fix-warning > mozilla:master
Thank you!!
Attachment #8892066 -
Flags: review?(cdawson) → review+
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•