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

Use hash of repo path, ref and entrypath as cache key #12151

Merged

Conversation

lafriks
Copy link
Member

@lafriks lafriks commented Jul 5, 2020

Fixes #12149

If repository contains long file names it could error out currently that cache key is too long

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 5, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 5, 2020
@lafriks
Copy link
Member Author

lafriks commented Jul 5, 2020

🚀

@lafriks lafriks merged commit 4384320 into go-gitea:master Jul 5, 2020
@lafriks lafriks deleted the fix/last_cache_cachekey_length branch July 5, 2020 22:40
lafriks added a commit to lafriks-fork/gitea that referenced this pull request Jul 6, 2020
@lafriks lafriks added the backport/done All backports for this PR have been created label Jul 6, 2020
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project mirror isn't workin
4 participants