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] Improve robustness for handing index.pidx file #358

Open
ReinhardKeil opened this issue Oct 14, 2024 · 0 comments
Open

[cpackget] Improve robustness for handing index.pidx file #358

ReinhardKeil opened this issue Oct 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ReinhardKeil
Copy link

The Problem To Be Solved

The index.pidx file is the central file for pack management. I recommend the following improvements:

  • Make error message a bit more descriptive when index.pidx file is missing. Currently cpackget update-index --sparse reports:
    cpackget update-index --sparse
    I: Updating public index
    E: file not found
    
    Improved message suggestion:
    E: index.pdix file not found; use cpackget init command to retrieve it
    
  • Update index.pidx even when the local time stamp is newer. This may need a bit more work, as it effectivly requires a checksum or equivalent in the index.pidx file.
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
Status: Backlog
Development

No branches or pull requests

2 participants