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

[Request] Cache downloaded sources #4

Open
xiota opened this issue Feb 15, 2024 · 0 comments
Open

[Request] Cache downloaded sources #4

xiota opened this issue Feb 15, 2024 · 0 comments

Comments

@xiota
Copy link

xiota commented Feb 15, 2024

Some packages have very large source downloads. Caching sources would save significant bandwidth on rebuilds.

Example packages include chromium-based browsers, firefox-based browsers, and many -git packages.

Instead of entirely clearing cache, problem files could be deleted:

  • When the hash changes. Check .SRCINFO
  • The git repo is out of sync. Compare .SRCINFO with .git/config

Full cache clear could be triggered manually. Since each builder may have its own cache, maybe a variable in .CI/config could store a timestamp that forces a cache clear if any files/folders are older.

@xiota xiota changed the title [Request] Cache sources [Request] Cache downloaded sources Feb 15, 2024
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

1 participant