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

Prefer using a commit hash over a branch name #14

Open
sr229 opened this issue Oct 3, 2024 · 1 comment
Open

Prefer using a commit hash over a branch name #14

sr229 opened this issue Oct 3, 2024 · 1 comment

Comments

@sr229
Copy link

sr229 commented Oct 3, 2024

Tracking a cache by commit hash is much more consistent caching-wise and wouldn't require the system to constantly pull data every time a reload is needed since you only need to check for the latest commit every time.

@Earu
Copy link
Owner

Earu commented Oct 3, 2024

It wouldn't change anything from what's already happening really, just a different hash.

If I wanted to do this I would probably have to do another request during init towards the GitHub API, and let's just say the less requests are done the better.

There are also other considerations,
Like what if I wanted to add a source that's not GitHub ?

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

2 participants