8000 Hash tune files to avoid unnecessary re-fetch when configuring by vrn-sn · Pull Request #326 · luau-lang/lute · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hash tune files to avoid unnecessary re-fetch when configuring #326

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

Merged
merged 3 commits into from
Jun 5, 2025

Conversation

vrn-sn
Copy link
Member
@vrn-sn vrn-sn commented Jun 5, 2025

When we call configure in both versions of luthier, we now check if our .tune files are out-of-date and re-fetch only if necessary. The fetch subcommand always performs a fetch.

In the process, I also discovered why luthier.luau and luthier.py were spitting out different hashes. It wasn't a discrepancy in the order of files being processed—it was the digest size. I've made these equal now, so both tools should be compatible again.

Resolves #226.

@vrn-sn vrn-sn marked this pull request as ready for review June 5, 2025 21:00
@vrn-sn vrn-sn requested a review from aatxe June 5, 2025 21:00
@aatxe aatxe merged commit 81315ef into primary Jun 5, 2025
7 checks passed
@aatxe aatxe deleted the vrn-sn/avoid-refetch branch June 5, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

luthier: detect if tune files change and force refetch.
2 participants
0