install_mobile_android_sdk_or_ndk relies on wget
Categories
(Firefox Build System :: Bootstrap Configuration, task, P3)
Tracking
(firefox96 fixed)
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: glandium, Assigned: ahochheiden)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(4 files, 2 obsolete files)
We should avoid relying on wget, which is not available on macOS by default. We currently do install it via homebrew or macports, but it would be better if we didn't need that.
Assuming we run the code after the virtualenv is created, we should have the requests module available anyways, so there isn't really a reason to use an external program to download stuff.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 1•3 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Comment 2•3 years ago
|
||
This is a little bit non-trivial, since we probably want to keep wget
's --continue
behaviour.
As part of re-implementing this with requests
, we should intelligently continue interrupted downloads.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
By using requests we remove an external dependency (wget) that may not always be
available. The '--continue' functionality from wget is implemented via pathlib.
Assignee | ||
Comment 4•3 years ago
|
||
By using requests we remove an external dependency (wget) that may not always be
available. The '--continue' functionality from wget is implemented via pathlib.
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
Source here: https://github.com/tqdm/tqdm
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Source here: https://github.com/tqdm/tqdm
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
Colorama enables colored text on terminal windows.
'tqdm' depends on Colorama on Windows.
Project Link: https://pypi.org/project/colorama/
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D130121
Updated•3 years ago
|
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/493626d35826 Vendor 'tqdm' progress bar library r=mhentges https://hg.mozilla.org/integration/autoland/rev/bfe4d253ce87 Vendor 'colorama' library r=mhentges, g?firefox-build-system-reviewers https://hg.mozilla.org/integration/autoland/rev/3bf13dec098d Replace 'wget' with 'requests' in install_mobile_android_sdk_or_ndk to remove the external dependency on 'wget' r=mhentges,firefox-build-system-reviewers g=firefox-build-system-reviewers
Comment 10•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/493626d35826
https://hg.mozilla.org/mozilla-central/rev/bfe4d253ce87
https://hg.mozilla.org/mozilla-central/rev/3bf13dec098d
Description
•