Browse files

Compare checksum counts directly in redis_verify

Moved shas_to_redis_sadd.rb to redis_sha_import.rb since it no longer
uses redis sets.

Used HINCRBY with gem name and SHA checksum to store a checksum count
for a name, checksum pair.

Count number of matching checksums for the S3 checksum directly instead
of indirectly.

This removes 1984 prerelease gems from the
unverified.2_or_fewer_checksums.txt list while adding four:

    bundler-1.2.0.pre.gem 2
    feedzirra-0.2.0.rc1.gem 2
    railties-3.0.0.beta3.gem 2
    rhodes-3.1.0.beta.4.gem 1

All gems in the list are according to the updated command in #1.

Thanks to David Heath for checking my work.

Fixes #1
  • Loading branch information...
drbrain committed Feb 6, 2013
1 parent 74d289d commit 9dda726a317466ad23a6a1cfbde5cf49cb91866b
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
@@ -3,7 +3,7 @@ at least one third-party mirror or excluding gems that have been yanked.
Gems that have been yanked are not installable with rubygems or bundler.
-Using rubygems_verify.rb 13689 gems were found with 2 or fewer checksums from
+Using rubygems_verify.rb 11798 gems were found with 2 or fewer checksums from
third-party mirrors or caches, again excluding gems that have been yanked.
These can be found in unverified.2_or_fewer_checksums.txt

0 comments on commit 9dda726

Please sign in to comment.