Code-dot-mil / code.mil

An experiment in open source at the Department of Defense.
https://www.code.mil
MIT License
1.28k stars 121 forks source link

Add json for multiple prior released packages from AFRL/Quantum groups #270

Open olsonse opened 3 years ago

olsonse commented 3 years ago

Thanks for submitting a pull request! Below are a few things you can do to help us more quickly review your changes.

Checklist

I have…

Summary of Changes

This pull request adds several json blocks for previously released/open-sourced code that was posted at @afrl-quantum.

Testing

To verify the changes proposed in this pull request, I used the ./scripts/serve script to ensure that the blocks were properly inserted into the aggregate code.json file.

david-saeger commented 10 months ago

Greetings, apologies for the delay in pulling these changes into code.mil. I reviewed these changesets and the only changes that need to be made to conform with version 2.0.0 of the code.gov code inventory schema is to add a usageType. In earlier versions of the spec these were boolean values which is how they are specified in these changesets. Please see https://github.com/GSA/code-gov-data/blob/master/schemas/schema-2.0.0.json

      "usageType": {
                "type": "string",
                "description": "A list of enumerated values which describes the usage permissions for the release: (1) openSource: Open source; (2) governmentWideReuse: Government-wide reuse; (3) exemptByLaw: The sharing of the source code is restricted by law or regulation, including—but not limited to—patent or intellectual property law, the Export Asset Regulations, the International Traffic in Arms Regulation, and the Federal laws and regulations governing classified information; (4) exemptByNationalSecurity: The sharing of the source code would create an identifiable risk to the detriment of national security, confidentiality of Government information, or individual privacy; (5) exemptByAgencySystem: The sharing of the source code would create an identifiable risk to the stability, security, or integrity of the agency’s systems or personnel, (6) exemptByAgencyMission: The sharing of the source code would create an identifiable risk to agency mission, programs, or operations; (7) exemptByCIO: The CIO believes it is in the national interest to exempt sharing the source code; (8) exemptByPolicyDate: The release was created prior to the M-16-21 policy (August 8, 2016)",
                "enum": [
                  "openSource",
                  "governmentWideReuse",
                  "exemptByLaw",
                  "exemptByNationalSecurity",
                  "exemptByAgencySystem",
                  "exemptByAgencyMission",
                  "exemptByCIO",
                  "exemptByPolicyDate"
                ],
                "additionalProperties": false
              },

It should be a relatively small change. I'll pull this in once completed.