[cpackget] exclude pdsc files from deprecated packs to be downloaded and present in the .Web
folder
#246
Labels
enhancement
New feature or request
.Web
folder
#246
Describe The Problem To Be Solved
Any processing involving all pdsc files listed in the
index.pidx
and stored in the .Web folder are unnecessarily burdened by packs that have been deprecated.As of 2024-01-23 out of the total of 1359 public packs 339 are deprecated
The meaning of deprecation is two fold
a) this pack is no longer maintained and as other components and apis evolve, the pack looses applicability
b) the vendor of devices / boards discourages to start new projects with this described hardware.
** Suggest A Solution**
Modify
cpackget
to ignore any<pdsc>
element in the.Web/index.pidx
that has the attributedeprecated
set to a validDATE
when running the commandSee #247:
Proposal:
Modify the
cpackget list --public
command to list also deprecated public packs only if the command line option--deprecated
/-d
is added. The list should then clearly indicate the deprecated status and propose a replacement pack if available.Note: It is still possible to install a deprecate pack when specifying the packID (
cpackget add <packID>
).The text was updated successfully, but these errors were encountered: