You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
Jeff Fredrickson edited this page Nov 18, 2016
·
6 revisions
CodeInventory is a Ruby gem designed to automate the task of collecting source code metadata from various sources in order to build a code.json file in accordance with the federal source code policy.
Some agencies may have source code stored in multiple disparate locations. CodeInventory helps agencies automatically harvest metadata from these locations and output it in one consistent format (e.g., a code.json file).
How it Works
You provide CodeInventory with a list of sources. A source is essentially a plugin to CodeInventory that knows how to harvest source code metadata from a specific place and return it to CodeInventory.
CodeInventory goes through each source you give it, pulling metadata from the source.
CodeInventory assembles a list of all your agency's source code projects based on all the metadata it collects.
You can use this resulting list to create a code.json file.