Skip to content

Commit 1cd2d5a

Browse files
Updated README.md with new instructions
Signed-off-by: Natalia Luzuriaga <[email protected]>
1 parent d9e84a0 commit 1cd2d5a

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

README.md

+26-15
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,42 @@
11
# codejson-index-generator
2+
23
Script to create an indexed code.json for agencies.
34

45
## About the Project
6+
57
The GitHub Code.json Index Generator is a Python-based tool that helps federal agencies compile and maintain their code.json files for code.gov compliance. It automatically scans specified GitHub organizations, finds repositories containing code.json files, and combines them into a single indexed file.
68

79
### Project Vision
10+
811
To streamline the process of code.gov compliance for federal agencies by automating the collection and aggregation of code.json files across multiple GitHub organizations.
912

1013
### Project Mission
14+
1115
To provide agencies with a reliable, efficient tool for maintaining their code.gov inventory while reducing manual effort and potential for errors in the process.
1216

1317
## Core Team
1418

1519
An up-to-date list of core team members can be found in [MAINTAINERS.md](MAINTAINERS.md). At this time, the project is still building the core team and defining roles and responsibilities. We are eagerly seeking individuals who would like to join the community and help us define and fill these roles.
1620

17-
<!--
18-
## Documentation Index
21+
<!--
22+
## Documentation Index
1923
2024
TODO: This is a like a 'table of contents" for your documentation. Tier 0/1 projects with simple README.md files without many sections may or may not need this, but it is still extremely helpful to provide "bookmark" or "anchor" links to specific sections of your file to be referenced in tickets, docs, or other communication channels.
2125
22-
**{list of .md at top directory and descriptions}**
26+
**{list of .md at top directory and descriptions}**
2327
-->
2428

25-
<!--
29+
<!--
2630
## Repository Structure
2731
2832
TODO: Using the "tree -d" command can be a helpful way to generate this information, but, be sure to update it as the project evolves and changes over time.
2933
30-
**{list directories and descriptions}**
34+
**{list directories and descriptions}**
3135
3236
-->
3337

34-
<!--
35-
# Development and Software Delivery Lifecycle
38+
<!--
39+
# Development and Software Delivery Lifecycle
3640
The following guide is for members of the project team who have access to the repository as well as code contributors. The main difference between internal and external contributions is that external contributors will need to fork the project and will not be able to merge their own pull requests. For more information on contributing, see: [CONTRIBUTING.md](./CONTRIBUTING.md).
3741
-->
3842

@@ -42,26 +46,30 @@ The following guide is for members of the project team who have access to the re
4246

4347
- Python 3.x
4448
- GitHub Personal Access Token (optional, but highly recommended for higher rate limits)
45-
> **_Create a PAT:_** GitHub -> Settings -> Developer Settings -> Personal Access Tokens
49+
> **_Create a PAT:_** GitHub -> Settings -> Developer Settings -> Personal Access Tokens
4650
4751
### Installation
4852

4953
1. Clone the repository:
54+
5055
```bash
5156
git clone ...
5257
cd codejson-index-generator
5358
```
5459

5560
2. Install required dependencies:
61+
5662
```bash
57-
pip install PyGithub
63+
pip install -r requirements.txt
5864
```
5965

6066
1. Set up your GitHub Personal Access Token:
67+
6168
```bash
6269
export GITHUB_KEY="your-token-here"
6370
```
64-
> **_NOTE:_** _Use of GitHub PAT is highly recommened due to rate limiting._
71+
72+
> **_NOTE:_** _Use of GitHub PAT is highly recommened due to rate limiting._
6573
6674
### Usage
6775

@@ -71,17 +79,20 @@ The script can be run from the command line with the following options:
7179
python main.py --agency AGENCY_NAME --orgs "org1,org2" --output code.json --version VERSION_NUMBER
7280
```
7381

74-
> **_NOTE:_** _Seperate organizations by comma without any spaces!_
82+
> **_NOTE:_** _Seperate organizations by comma without any spaces!_
7583
7684
##### Required arguments:
85+
7786
- `--agency`: The name of your agency
7887
- `--orgs`: Comma-separated list of GitHub organizations to scan
7988

8089
##### Optional arguments:
90+
8191
- `--output`: Output filename (default: code.json)
8292
- `--version`: Code.json file version (default: 1.0.0)
8393

8494
##### Example:
95+
8596
```bash
8697
python3 main.py --agency CMS --orgs "DSACMS,CMSgov,CMS-Enterprise" --output code.json --version 1.0.0
8798
```
@@ -123,11 +134,11 @@ The codejson-index-generator team is taking a community-first and open source ap
123134

124135
We know that we can learn from a wide variety of communities, including those who will use or will be impacted by the tool, who are experts in technology, or who have experience with similar technologies deployed in other spaces. We are dedicated to creating forums for continuous conversation and feedback to help shape the design and development of the tool.
125136

126-
We also recognize capacity building as a key part of involving a diverse open source community. We are doing our best to use accessible language, provide technical and process documents, and offer support to community members with a wide variety of backgrounds and skillsets.
137+
We also recognize capacity building as a key part of involving a diverse open source community. We are doing our best to use accessible language, provide technical and process documents, and offer support to community members with a wide variety of backgrounds and skillsets.
127138

128139
### Community Guidelines
129140

130-
Principles and guidelines for participating in our open source community are can be found in [COMMUNITY_GUIDELINES.md](COMMUNITY_GUIDELINES.md). Please read them before joining or starting a conversation in this repo or one of the channels listed below. All community members and participants are expected to adhere to the community guidelines and code of conduct when participating in community spaces including: code repositories, communication channels and venues, and events.
141+
Principles and guidelines for participating in our open source community are can be found in [COMMUNITY_GUIDELINES.md](COMMUNITY_GUIDELINES.md). Please read them before joining or starting a conversation in this repo or one of the channels listed below. All community members and participants are expected to adhere to the community guidelines and code of conduct when participating in community spaces including: code repositories, communication channels and venues, and events.
131142

132143
<!--
133144
## Governance
@@ -151,13 +162,13 @@ questions, just [shoot us an email](mailto:[email protected]).
151162

152163
### Security and Responsible Disclosure Policy
153164

154-
*Submit a vulnerability:* Vulnerability reports can be submitted through [Bugcrowd](https://bugcrowd.com/cms-vdp). Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days.
165+
_Submit a vulnerability:_ Vulnerability reports can be submitted through [Bugcrowd](https://bugcrowd.com/cms-vdp). Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days.
155166

156167
For more information about our Security, Vulnerability, and Responsible Disclosure Policies, see [SECURITY.md](SECURITY.md).
157168

158169
### Software Bill of Materials (SBOM)
159170

160-
A Software Bill of Materials (SBOM) is a formal record containing the details and supply chain relationships of various components used in building software.
171+
A Software Bill of Materials (SBOM) is a formal record containing the details and supply chain relationships of various components used in building software.
161172

162173
In the spirit of [Executive Order 14028 - Improving the Nation’s Cyber Security](https://www.gsa.gov/technology/it-contract-vehicles-and-purchasing-programs/information-technology-category/it-security/executive-order-14028), a SBOM for this repository is provided here: https://github.com/DSACMS/codejson-index-generator/network/dependencies.
163174

0 commit comments

Comments
 (0)