Skip to content
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] exclude pdsc files from deprecated packs to be downloaded and present in the .Web folder #246

Open
jkrech opened this issue Jan 19, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jkrech
Copy link
Member

jkrech commented Jan 19, 2024

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

@jkrech jkrech added the enhancement New feature or request label Jan 19, 2024
@ReinhardKeil
Copy link

ReinhardKeil commented Jan 19, 2024

Created a duplicate #247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

4 participants