Skip to main content

fedmsg consumer that extracts hashes of source files

Project description

A fedmsg consumer that extracts and stores hashes of source files.

summershum is composed of two components:

  • A fedmsg consumer plugin that listens for messages. Whenever a contributor uploads a new source tarball to the lookaside cache, summershum will download that tarball, unpack it, and calculate the sha1 sum of every file in the tarball. Those hashes are then stored in a database to be queried later.

  • A cli tool summershum-cli that queries datagrepper for the fedmsg history. It then crawls through old lookaside messages to fill in data where it was missed.

With the summershum database, we can then make some interesting queries in short time:

  • how many files have this hash sum in all of fedora? and for which packages ?

  • we can easily find what is bundling what and generate a programatic list

  • we could check the db in taskotron tests

  • we could check to see how many packages include the full GPL license

  • how many packages have that license but with the old FSF address

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

summershum-0.1.5.tar.gz (18.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page