Done
Details
Details
Assignee
Charles Oliveira
Charles OliveiraReporter
Charles Oliveira
Charles OliveiraOriginal estimate
1w
Time tracking
Priority
Checklist
Checklist
Sentry
Sentry
Created June 21, 2021 at 1:38 PM
Updated August 17, 2021 at 5:55 PM
Resolved August 17, 2021 at 5:54 PM
Implement
cpackget install
command.It consists of:
downloading/copying a pack version to <cmsis-pack-root>/.Download
extract files into <cmsis-pack-root>/<vendor>/<packname>/<version>/
save a copy of pdsc file as versioned pdsc file in .Download (<vendor>.<packagename>.<version>.pdsc)
NOTES
If a pack (<vendor>.<packagename>) is not listed in <cmsis-pack-root>/.Web/index.pidx it is treated as “local pack”. A copy of the pdsc file is stored in <cmsis-pack-root>/.Local
<package> can be a versioned CMSIS-Pack file:
from the file-system (file://localhost/.../)
from the web (URL: https://.../)
<pdsc> is a CMSIS-Pack description file inside of an ‘extracted’ CMSIS-Pack from the file-system.
In this case the pack content is not stored within the <cmsis-pack-root> itself but a reference to the pdsc file is stored in <cmsis-pack-root>/.Local/local_repository.pidx
The file complies to the PIDX schema <pdsc vendor="...” name="..." url=file://localhost/.../ version="..."/>
The installation shall be gated by the license specified by the PDSC file
The installation should be optionally gated by a validation of a digital signature (to be defined in a new epic)