Skip to content

Compiles a list of Open Source libraries used by your project(s)

Notifications You must be signed in to change notification settings

adorableio/oss-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSS Inventory CircleCI

Compiles a list of Open Source libraries used by your project(s).

Setup

# clone this repo
git clone [email protected]:adorableio/oss-inventory.git
cd oss-inventory

# install dependencies
bundle install

# create configuration file
cp config.yml{.example,}

Configuration

After setting up the project, you should now have a file called config.yml. This is where you list the repositories that you care to inventory, along with where you wish the inventory files to be located. Delete the existing examples and replace them with your own.

Generating your inventory

Once you've listed your repositories in config.yml, it's time to run this tool:

bundle exec rake build_inventory

Depending on the number/size of your repositories, this may take a while. When the task has finished, you'll be left with a bunch of .tsv files in the folder you specified (in config.yml). Each one contains a list of the names, versions, and licenses used by the libraries on which your project depends. That's it! Use these text files however you need.

Running Tests

We have a test suite that outlines the project's basic functionality. You can run it with the following:

bundle exec rspec

About

Compiles a list of Open Source libraries used by your project(s)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages