PlanktoScope / forklift

Composable, reprovisionable, decentralized management of apps & configs on Raspberry Pis and other embedded Linux systems
Apache License 2.0
7 stars 0 forks source link

Allow exporting files from HTTP URLs by downloading them #195

Closed ethanjli closed 4 months ago

ethanjli commented 4 months ago

This PR makes progress on https://github.com/PlanktoScope/PlanktoScope/issues/349 by making it possible to export files from HTTP(S) URLs (Forklift downloads and caches those files before exporting them) and to export certain files from .tar.gz archives at HTTP(S) URLs. This makes it possible to export binaries such as those published on https://github.com/jqlang/jq/releases or https://github.com/PlanktoScope/machine-name/releases . Note that Forklift currently does not provide any functionality for automatically selecting the download URL based on CPU architecture, so for now that will have to be done manually through a Forklift package's feature flags.