Closed runejuhl closed 3 years ago
Is anybody listening? :smile:
it would be a very nice way of greatly improving performance.. in repos with just 50+ .deb's - it really starts to take time :( and createrepo for yum has had that for ages..
@runejuhl Hi, sorry for the delay. :bowing_man: If you could do testing on your end and best also add BATS tests we would of course merge it. :+1:
@mmoll great, I'll find some time to do that and submit a proper PR
Hi,
We have a repo that's slowly growing in size, and freight is starting to take a long time to run. By far most of the time seems to be spent here:
Would it be acceptable to place a dot-file along with the repo files with the computed hashes, so that this piece can do a lookup in a file instead of computing the hash?
I've got a fork with a simple (and yet untested) implementation: https://github.com/freight-team/freight/compare/master...runejuhl:avoid-rehashing . If you feel like this is a good way of doing it I'll be glad to do some testing and submit a PR.