Skip to content

[cpackget] exclude pdsc files from deprecated packs to be downloaded and present in the .Web folder #246

@jkrech

Description

@jkrech

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 attribute deprecated set to a valid DATE when running the command

  cpackget init -a 
  or
  cpackget update-index

See #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>).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions