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

Need check for when repo is no longer available #124

Open
2 tasks
Wajinn opened this issue Sep 14, 2024 · 3 comments
Open
2 tasks

Need check for when repo is no longer available #124

Wajinn opened this issue Sep 14, 2024 · 3 comments

Comments

@Wajinn
Copy link

Wajinn commented Sep 14, 2024

Describe the feature

Should be doing periodic check to see if listed repo is still available. At least once a week check, though once a day would be preferable.

Use Case

To avoid attempting to download repos that are no longer available.

Proposed Solution

Conduct periodic checks to make sure repo is not 404 or private.

Other Information

Example of this problem is https://vpm.vlang.io/packages/lv37.utils. Clicking on link to repo displays 404. However, VPM site shows lv37's Utility functions for V as 2nd most downloaded. This can cause disappointment for new users seeking it out.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

V 0.4.7

Environment details (OS name and version, etc.)

V full version: V 0.4.7

@medvednikov
Copy link
Member

I think VPM should do backups via git clone + periodic git pulls.

@JalonSolov
Copy link

Or use the github webhook if possible, so it can back things up when they're changed, instead of wasting time with periodic git pull if they haven't been updated in a long time.

@Wajinn
Copy link
Author

Wajinn commented Sep 16, 2024

@medvednikov and @JalonSolov
Whichever way works best. Thanks. Just wanted to remind that newbies and casuals are going to visit the VPM site and likely click links. If things like no stars or broken links are present, it may not be given the benefit of the doubt (because of project's age) or it may sway overall opinions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants