Merge https://github.com/sfrancus/drat into merge-proteus
tree: 02b63edf8a83d683ac72043c2766e278fd8545e8
  1. .gitignore
  2. LICENSE
  3. README.md
  4. Vagrantfile
  5. crawler/
  6. distribution/
  7. docs/
  8. extensions/
  9. filemgr/
  10. pcs/
  11. pge/
  12. pom.xml
  13. proteus/
  14. provision.sh
  15. rat/
  16. resmgr/
  17. solr/
  18. webapps/
  19. workflow/
README.md

Distributed Release Audit Tool (DRAT)

A distributed, parallelized (Map Reduce) wrapper around Apache™ RAT (Release Audit Tool). RAT is used to check for proper licensing in software projects. However, RAT takes a prohibitively long time to analyze large repositories of code, since it can only run on one JVM. Furthermore, RAT isn't customizable by file type or file size and provides no incremental output. This wrapper dramatically speeds up the process by leveraging Apache™ OODT to parallelize and workflow the following components:

  1. Apache™ Solr based exploration of a CM repository (e.g., Git, SVN, etc.) and classification of that repository based on MIME type using Apache™ Tika.
  2. A MIME partitioner that uses Apache™ Tika to automatically deduce and classify by file type and then partition Apache™ RAT jobs based on sets of 100 files per type (configurable) -- the M/R “partitioner”
  3. A throttle wrapper for RAT to MIME targeted Apache™ RAT. -- the M/R “mapper”
  4. A reducer to “combine” the produced RAT logs together into a global RAT report that can be used for stats generation. -- the M/R “reducer”

See the wiki for more information on installing and running DRAT:

You can clone the wiki by running
git clone https://github.com/chrismattmann/drat.wiki.git