Skip to content

Scripts and tools to gather information about git repositories.

License

Notifications You must be signed in to change notification settings

DSACMS/repodive-tools

repodive-tools

Scripts and tools to gather information about git repositories.

About the Project

This repository is a collection of scripts and tools for a given repodiving effort. Repodiving in this context means going through a git repository and gathering relevant information for a specific purpose.

Core Team

A full list of contributors can be found on https://github.cms.gov/DSACMS/repodive-tools/graphs/contributors.

Usage

Run SCC on repos:

1. Make sure that scc is installed on your machine
2. Set valid environment variables including GitHub token
3. `./run-scc-on-repos.sh <Directory to store GitHub code>`

Note: The SCC script will clone the repositories in the directory that you specify. If the repository already exists in the directory then it will not download it again. This is useful for if you want to re-use this directory to run the other scripts on it.

Gen Gource logs on repos:

1. Make sure that gource is installed on your machine
2. Set valid environment variables including GitHub token
3. `./gen-gource-logs-on-repos.sh <Directory to store GitHub code`

Note: The gource script will clone the repositories in the directory that you specify. If the repository already exists in the directory then it will not download it again. This is useful for if you want to re-use this directory to run the other scripts on it.

Run contributor resolution (rough):

1. `./run-contrib-resolution.sh <Directory with the GitHub Code already there>`
3. Enter ctrl+d for any empty records that appear
4. `./concat.sh`
5. Look at merged_output.txt and enjoy!

Note: this script assumes that all of the repositories have been cloned already.

Policies

Open Source Policy

We adhere to the CMS Open Source Policy. If you have any questions, just shoot us an email.

Security and Responsible Disclosure Policy

Submit a vulnerability: Unfortunately, we cannot accept secure submissions via email or via GitHub Issues. Please use our website to submit vulnerabilities at https://hhs.responsibledisclosure.com. HHS maintains an acknowledgements page to recognize your efforts on behalf of the American public, but you are also welcome to submit anonymously.

For more information about our Security, Vulnerability, and Responsible Disclosure Policies, see SECURITY.md.

Public domain

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication as indicated in LICENSE.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request or issue, you are agreeing to comply with this waiver of copyright interest.

About

Scripts and tools to gather information about git repositories.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published