Add a way to update spec files without needing to reindex all gems
Closed this issue · 4 comments
It seems that the Gem::Indexer class provides functions to update specs/indices so that older gems that are already indexed are skipped over. This would be very useful, since indexing 580k gems takes upwards of 4 hours. Can this functionality be added to gemirro, possibly via a gemirro index --update
command? I could work on the implementation if you'd be okay with adding this functionality.
Yes sur, I will have a look as soon as possible :)
My bad don't see the last line, if you want to work on it, sure you can 👍
Same on https://github.com/PierreRambaud/gemirro/blob/master/lib/gemirro/server.rb#L150 it index all the gems instead of only the fetched gem.
I added a --update
for gemirro index
command.
it should fix the problem.