traveling-ruby icon indicating copy to clipboard operation
traveling-ruby copied to clipboard

Deduplication

Open FooBarWidget opened this issue 4 years ago • 0 comments

There may be duplicate files in the Traveling Ruby package tree. Native extensions are the biggest offenders. For example, when it comes to the Nokogumbo gem, its native extension is placed in 3 different places:

63b2684637708171436446e85846e94b  ./lib/ruby/gems/2.4.0/extensions/x86_64-darwin-19/2.4.0-static/nokogumbo-1.5.0/nokogumboc.bundle
63b2684637708171436446e85846e94b  ./lib/ruby/gems/2.4.0/gems/nokogumbo-1.5.0/ext/nokogumboc/nokogumboc.bundle
63b2684637708171436446e85846e94b  ./lib/ruby/gems/2.4.0/gems/nokogumbo-1.5.0/lib/nokogumboc.bundle

It would be great if there's a tool to automatically deduplicate duplicate files, by turning duplicates into symlinks.

FooBarWidget avatar Jan 14 '21 12:01 FooBarWidget