-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cpackget] Explicit installation may fail #357
Comments
When installing a public pack, the index.pidx needs to be opened. |
Validating nightly build of CMSIS-Toolbox from 2024-12-09:
Also in case the CMSIS_PACK_ROOT folder is empty, the |
Describe the bug
When installing a newly published pack, an error like this may appear.
It works fine after the execution of
cpackget update-index
as covered in the documentation. However the UX experience could be better.To Reproduce
Remove in the CMSIS_PACK_ROOT folder:
<pdsc url
reference toB-U585I-IOT02A_BSP
.Execute:
cpackget add Keil::[email protected]
As a user you get this line from the web portal, and you perhaps don't know that
cpackget update-index
should be executed first.Expected Behavior
Execute:
cpackget add Keil::[email protected]
should install a published pack without errors.This may require some changes.
update-index --sparse
once a day. This should be also executed when an explicit pack version is given and this pack version is not found inindex.pidx
as--sparse
effectively only updates this file.*.PDSC
file of a pack is missing, but theindex.pidx
indicates the availablity, only this*.PDSC
should be downloaded.Envrionment:
The text was updated successfully, but these errors were encountered: