Skip to content

Commit

Permalink
snake caseify cookiecutter fields
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Zamora <[email protected]>
  • Loading branch information
RicardoZamora01 committed Aug 15, 2024
1 parent caf57e0 commit a64b50a
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion code.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"projectType": "Tools",
"userInput": "No",
"projectFismaLevel": "Low",
"fismaLevel": "Low",
"group": "CMS/OA/DSAC",
"subsetInHealthcare": "Operational",
"userType": "Government",
Expand Down
20 changes: 10 additions & 10 deletions tier1/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"projectType" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"userInput": ["Yes", "No"],
"projectFismaLevel": ["Low", "Moderate", "High"],
"project_type" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"user_input": ["Yes", "No"],
"fisma_level": ["Low", "Moderate", "High"],
"group": "CMS/OA/DSAC",
"subsetInHealthcare": "Policy, Operational",
"userType": "Providers, Patients, Government",
"repositoryHost": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"subset_in_healthcare": "Policy, Operational",
"user_type": "Providers, Patients, Government",
"repository_host": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"__prompts__": {
"group": "Which group is the project part of?",
"subsetInHealthcare": "Which subset of healthcare does the project belong to?",
"userType": "Who are the intended users?",
"userInput": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repositoryHost": "Where is the repository hosted?"
"subset_in_healthcare": "Which subset of healthcare does the project belong to?",
"user_type": "Who are the intended users?",
"user_input": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repository_host": "Where is the repository hosted?"
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"projectType": "{{ cookiecutter.projectType }}",
"userInput": "{{ cookiecutter.userInput }}",
"projectFismaLevel": "{{ cookiecutter.projectFismaLevel }}",
"projectType": "{{ cookiecutter.project_type }}",
"userInput": "{{ cookiecutter.user_nput }}",
"fismaLevel": "{{ cookiecutter.fisma_level }}",
"group": "{{ cookiecutter.group }}",
"subsetInHealthcare": "{{ cookiecutter.subsetInHealthcare }}",
"userType": "{{ cookiecutter.userType }}",
"repositoryHost": "{{ cookiecutter.repositoryHost }}",
"maturity_model_tier": "1"
"subsetInHealthcare": "{{ cookiecutter.subset_in_healthcare }}",
"userType": "{{ cookiecutter.user_ype }}",
"repositoryHost": "{{ cookiecutter.repository_host }}",
"maturityModelTier": "1"
}
20 changes: 10 additions & 10 deletions tier2/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"projectType" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"userInput": ["Yes", "No"],
"projectFismaLevel": ["Low", "Moderate", "High"],
"project_type" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"user_input": ["Yes", "No"],
"fisma_level": ["Low", "Moderate", "High"],
"group": "CMS/OA/DSAC",
"subsetInHealthcare": "Policy, Operational",
"userType": "Providers, Patients, Government",
"repositoryHost": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"subset_in_healthcare": "Policy, Operational",
"user_type": "Providers, Patients, Government",
"repository_host": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"__prompts__": {
"group": "Which group is the project part of?",
"subsetInHealthcare": "Which subset of healthcare does the project belong to?",
"userType": "Who are the intended users?",
"userInput": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repositoryHost": "Where is the repository hosted?"
"subset_in_healthcare": "Which subset of healthcare does the project belong to?",
"user_type": "Who are the intended users?",
"user_input": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repository_host": "Where is the repository hosted?"
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"projectType": "{{ cookiecutter.projectType }}",
"userInput": "{{ cookiecutter.userInput }}",
"projectFismaLevel": "{{ cookiecutter.projectFismaLevel }}",
"projectType": "{{ cookiecutter.project_type }}",
"userInput": "{{ cookiecutter.user_nput }}",
"fismaLevel": "{{ cookiecutter.fisma_level }}",
"group": "{{ cookiecutter.group }}",
"subsetInHealthcare": "{{ cookiecutter.subsetInHealthcare }}",
"userType": "{{ cookiecutter.userType }}",
"repositoryHost": "{{ cookiecutter.repositoryHost }}",
"maturity_model_tier": "2"
"subsetInHealthcare": "{{ cookiecutter.subset_in_healthcare }}",
"userType": "{{ cookiecutter.user_ype }}",
"repositoryHost": "{{ cookiecutter.repository_host }}",
"maturityModelTier": "2"
}
20 changes: 10 additions & 10 deletions tier3/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"projectType" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"userInput": ["Yes", "No"],
"projectFismaLevel": ["Low", "Moderate", "High"],
"project_type" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"user_input": ["Yes", "No"],
"fisma_level": ["Low", "Moderate", "High"],
"group": "CMS/OA/DSAC",
"subsetInHealthcare": "Policy, Operational",
"userType": "Providers, Patients, Government",
"repositoryHost": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"subset_in_healthcare": "Policy, Operational",
"user_type": "Providers, Patients, Government",
"repository_host": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"__prompts__": {
"group": "Which group is the project part of?",
"subsetInHealthcare": "Which subset of healthcare does the project belong to?",
"userType": "Who are the intended users?",
"userInput": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repositoryHost": "Where is the repository hosted?"
"subset_in_healthcare": "Which subset of healthcare does the project belong to?",
"user_type": "Who are the intended users?",
"user_input": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repository_host": "Where is the repository hosted?"
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"projectType": "{{ cookiecutter.projectType }}",
"userInput": "{{ cookiecutter.userInput }}",
"projectFismaLevel": "{{ cookiecutter.projectFismaLevel }}",
"projectType": "{{ cookiecutter.project_type }}",
"userInput": "{{ cookiecutter.user_nput }}",
"fismaLevel": "{{ cookiecutter.fisma_level }}",
"group": "{{ cookiecutter.group }}",
"subsetInHealthcare": "{{ cookiecutter.subsetInHealthcare }}",
"userType": "{{ cookiecutter.userType }}",
"repositoryHost": "{{ cookiecutter.repositoryHost }}",
"subsetInHealthcare": "{{ cookiecutter.subset_in_healthcare }}",
"userType": "{{ cookiecutter.user_ype }}",
"repositoryHost": "{{ cookiecutter.repository_host }}",
"maturityModelTier": "3"
}
20 changes: 10 additions & 10 deletions tier4/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"projectType" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"userInput": ["Yes", "No"],
"projectFismaLevel": ["Low", "Moderate", "High"],
"project_type" : ["Package", "Website", "Standards", "Libraries", "Data", "Apps", "Tools", "APIs", "Docs"],
"user_input": ["Yes", "No"],
"fisma_level": ["Low", "Moderate", "High"],
"group": "CMS/OA/DSAC",
"subsetInHealthcare": "Policy, Operational",
"userType": "Providers, Patients, Government",
"repositoryHost": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"subset_in_healthcare": "Policy, Operational",
"user_type": "Providers, Patients, Government",
"repository_host": ["Github.com", "GitHub ENT", "GitHub Cloud", "GitLab.com", "GitLab ENT", "GitLab ENT CCSQ"],
"__prompts__": {
"group": "Which group is the project part of?",
"subsetInHealthcare": "Which subset of healthcare does the project belong to?",
"userType": "Who are the intended users?",
"userInput": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repositoryHost": "Where is the repository hosted?"
"subset_in_healthcare": "Which subset of healthcare does the project belong to?",
"user_type": "Who are the intended users?",
"user_input": "Does the project accept user input? (e.g. allows user to query a database, allows login by users, upload files, etc.)",
"repository_host": "Where is the repository hosted?"
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"projectType": "{{ cookiecutter.projectType }}",
"userInput": "{{ cookiecutter.userInput }}",
"projectFismaLevel": "{{ cookiecutter.projectFismaLevel }}",
"projectType": "{{ cookiecutter.project_type }}",
"userInput": "{{ cookiecutter.user_nput }}",
"fismaLevel": "{{ cookiecutter.fisma_level }}",
"group": "{{ cookiecutter.group }}",
"subsetInHealthcare": "{{ cookiecutter.subsetInHealthcare }}",
"userType": "{{ cookiecutter.userType }}",
"repositoryHost": "{{ cookiecutter.repositoryHost }}",
"subsetInHealthcare": "{{ cookiecutter.subset_in_healthcare }}",
"userType": "{{ cookiecutter.user_ype }}",
"repositoryHost": "{{ cookiecutter.repository_host }}",
"maturityModelTier": "4"
}

0 comments on commit a64b50a

Please sign in to comment.