quixote icon indicating copy to clipboard operation
quixote copied to clipboard

Use content hash for prefix of StaticBundle.

Open nascheme opened this issue 7 months ago • 3 comments

We previously used the modification time of the file. Change to use the content hash since it is more reliable and works better with reproducable build systems.

nascheme avatar May 27 '25 01:05 nascheme

Is this going into main anytime soon? Will this have any ramifications for existing code? We use StaticDirectory in a few places.

cthart avatar Oct 16 '25 10:10 cthart

I'm not sure what to do with this. To solve my own issue, I created a similar kind of class within the application. However, it would seem useful that Quixote itself would get the same feature. I think most applications using using StaticDirectory shouldn't break but that's always a risk. I could add this as an alternative class, and keep StaticDirectory working as it is.

nascheme avatar Oct 20 '25 18:10 nascheme

This change got merged into "main" (after a few modifications). Note that only StaticBundle got changed, not StaticDirectory. I hope that doesn't cause you any issues @cthart.

nascheme avatar Nov 07 '25 21:11 nascheme