Open joonas-fi opened 9 months ago
It is not built for current revision
OTOH the approach is ok for https://github.com/docker/metadata-action so could be OK for us until we have time to implement more robust way?
This is being worked on in branch: https://github.com/function61/turbobob/tree/feature/license-metadata-and-detector
The above mentioned autodetection adds ~ 12 MB to binary size.
=> make license autodetection a container and only have container launch interface between Turbo Bob and the detector so we don't have to force-ship something that gets ran relatively rarely.
Cannot take this from GitHub's API because:
Idea: have this knowledge be stored in
turbobob.json
(based on autodetection?) along with some digest of theLICENSE
file so we could detect if info is outdated.