Need generic reusable command-line to for downloading license-protected files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linaro-license-protection |
Fix Released
|
High
|
Paul Sokolovsky |
Bug Description
It has been confirmed that we still have more than client for (semi)unattended (better term: mediated) download of license-protected files. We used to have multiple duplicated, adhoc solutions to handle that. They all are known to break after latest linaro-
Proposal:
1. To have a tool called "linaro-download".
2. Basic idea of the tool is work the same as wget, except for at most one file at a time.
3. If passed just a URL, it will download that URL, if it has open license.
4. Otherwise, it will present user with a license text on stdout and will wait for acceptance on interactive terminal. Non-availability of interactive terminal will be treated as declining of license (not proceeding with download).
5. Alternatively, if --accept-
6. Finally, if --accept-license is specified without argument, a license-protected file will be downloaded, with the same notice as for p.5. Usage of --accept-license without argument is however discouraged (expected to require approval for each case).
7. For cases of p.5, 6 it's imperative that any product, derivative, or deliverable produced from a downloaded file with restricted license, to be available with the same restricted license (unless license itself calls for usage of another licensing variant for any derivative work).
Other requirements:
1. Should be easy to get (standalone project for small/quick checkout, single file for direct file downloading).
1. Should have minimal dependencies (Python with stdlib, no 3rd party modules).
Changed in linaro-license-protection: | |
status: | Triaged → In Progress |
description: | updated |
This is needed for lava soon.