Closed
Bug 1088208
Opened 10 years ago
Closed 10 years ago
Allow tooltool.py to fetch files by using an authentication file
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: armenzg, Assigned: armenzg)
References
Details
Attachments
(1 file, 4 obsolete files)
3.67 KB,
patch
|
rail
:
review+
|
Details | Diff | Splinter Review |
This is useful for fetching files from a developer's machine.
Assignee | ||
Comment 1•10 years ago
|
||
I would not land as-is; I would like the previous patch to land first.
Attachment #8510511 -
Flags: review?(catlee)
Comment 2•10 years ago
|
||
Comment on attachment 8510511 [details] [diff] [review]
mh.tooltool.diff
Review of attachment 8510511 [details] [diff] [review]:
-----------------------------------------------------------------
good idea, re-work it a bit?
::: configs/developer_config.py
@@ +16,5 @@
> "tooltool_servers": ["https://secure.pub.build.mozilla.org/tooltool/pvt/build"],
> + "tooltool_cache": os.path.join(os.getenv("HOME"), ".mozilla/releng/builds/tooltool_cache"),
> + "tooltool_cache_path": os.path.join(os.getenv("HOME"), ".mozilla/releng/builds/tooltool_cache"),
> + #"tooltool_py": "https://raw.githubusercontent.com/mozilla/build-tooltool/master/tooltool.py",
> + "tooltool_py": "http://people.mozilla.org/~armenzg/incoming/tooltool.py.txt",
I'd name this 'tooltool_py_url' or something.
::: mozharness/mozilla/tooltool.py
@@ +30,5 @@
> + ))
> + if not os.path.exists(file_path):
> + self.fatal("We can't get tooltool.py")
> + self.chmod(file_path, 0755)
> + tooltool = [file_path]
move most of this into a separate function?
if not os.path.exists(str(tooltool))...:
tooltool = self.fetch_remote_tooltool()
Attachment #8510511 -
Flags: review?(catlee)
Assignee | ||
Comment 3•10 years ago
|
||
Not working yet.
Attachment #8510511 -
Attachment is obsolete: true
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8510510 -
Attachment is obsolete: true
Attachment #8536093 -
Flags: review?(catlee)
Assignee | ||
Comment 5•10 years ago
|
||
A run to try will be needed to make sure nothing is regressed.
Assignee: nobody → armenzg
Attachment #8535861 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8536094 -
Flags: review?(catlee)
Assignee | ||
Comment 6•10 years ago
|
||
Adding jlund since he is working on tooltool for desktop so he can be in the loop.
Adding gbrown since we both originally worked on the android scripts and I want him to know that developer mode is coming to this script.
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8536094 [details] [diff] [review]
[mozharness] allow to run android jobs for a developer and use authenticated tooltool
I will put the final patch in bug 1086672.
Attachment #8536094 -
Attachment is obsolete: true
Attachment #8536094 -
Flags: review?(catlee)
Assignee | ||
Updated•10 years ago
|
Attachment #8536093 -
Flags: review?(catlee) → review?(rail)
Comment 8•10 years ago
|
||
Comment on attachment 8536093 [details] [diff] [review]
[tooltool] allow for authenticated file retrievals
lgtm
Attachment #8536093 -
Flags: review?(rail) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
Assignee | ||
Comment 11•10 years ago
|
||
You're da bomb! Thank you, thank you!
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
•