Code-dot-mil / Code-dot-mil/code.mil

Allow Project Owners to submit projects for code inventory file

Open
#231 0 comments 0 reactions 2 assignees Claimed by @jordangov View on GitHub
[effort] large [issue-type] enhancement [skill-level] advanced code.gov help wanted website
Dominant language
JavaScript
Stars
1.3k
Forks
144
PR merge metrics
No merged PRs in 30d

Description

We should consider creating a form on the code.mil website that allows project owners to submit details of their projects for the purposes of generating the `code.json` inventory file.

The steps toward this goal might involve…

- [x] breaking the existing `code.json` file into project-specific data files (e.g. `src/_data/code_json/move-mil.json` (or YAML…?) (#232)
- [x] add small Jekyll plugin to generate `code.json` file from data files (#232)
- [ ] determine a means of validating individual project data files and the resultant `code.json` file
- [ ] create the necessary pages on code.mil website to accept these submissions (this one's worth its own issue for sorting out design, implementation, etc.)
- [ ] form submission could/should create a pull request on this project's repository for evaluation and inform the user of the PR's URL (on say, a "thanks!" page)

Possibly useful Netlify documentation:

- https://www.netlify.com/docs/form-handling/
- https://www.netlify.com/docs/functions/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.