From a64b50a3e2730515b3e01495f5b1c4638ed5f414 Mon Sep 17 00:00:00 2001 From: Ricardo Zamora Date: Thu, 15 Aug 2024 10:38:17 -0700 Subject: [PATCH] snake caseify cookiecutter fields Signed-off-by: Ricardo Zamora --- code.json | 2 +- .../repometrics/cookiecutter.json | 20 +++++++++---------- .../{{cookiecutter.project_type}}/code.json | 14 ++++++------- .../repometrics/cookiecutter.json | 20 +++++++++---------- .../{{cookiecutter.project_type}}/code.json | 14 ++++++------- .../repometrics/cookiecutter.json | 20 +++++++++---------- .../{{cookiecutter.project_type}}/code.json | 12 +++++------ .../repometrics/cookiecutter.json | 20 +++++++++---------- .../{{cookiecutter.project_type}}/code.json | 12 +++++------ 9 files changed, 67 insertions(+), 67 deletions(-) diff --git a/code.json b/code.json index 92c2e80..ba78aa0 100644 --- a/code.json +++ b/code.json @@ -1,7 +1,7 @@ { "projectType": "Tools", "userInput": "No", - "projectFismaLevel": "Low", + "fismaLevel": "Low", "group": "CMS/OA/DSAC", "subsetInHealthcare": "Operational", "userType": "Government", diff --git a/tier1/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json b/tier1/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json index 0ee507e..461520e 100644 --- a/tier1/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json +++ b/tier1/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json @@ -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?" } } \ No newline at end of file diff --git a/tier1/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json b/tier1/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json index 809d9bc..0fc7628 100644 --- a/tier1/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json +++ b/tier1/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json @@ -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" } \ No newline at end of file diff --git a/tier2/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json b/tier2/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json index 0ee507e..461520e 100644 --- a/tier2/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json +++ b/tier2/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json @@ -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?" } } \ No newline at end of file diff --git a/tier2/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json b/tier2/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json index 82de1fd..bbdf0ec 100644 --- a/tier2/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json +++ b/tier2/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json @@ -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" } \ No newline at end of file diff --git a/tier3/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json b/tier3/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json index 0ee507e..461520e 100644 --- a/tier3/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json +++ b/tier3/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json @@ -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?" } } \ No newline at end of file diff --git a/tier3/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json b/tier3/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json index a2f36de..9e04f7c 100644 --- a/tier3/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json +++ b/tier3/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json @@ -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" } \ No newline at end of file diff --git a/tier4/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json b/tier4/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json index 0ee507e..461520e 100644 --- a/tier4/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json +++ b/tier4/{{cookiecutter.project_slug}}/repometrics/cookiecutter.json @@ -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?" } } \ No newline at end of file diff --git a/tier4/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json b/tier4/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json index 2baf87e..7efbb97 100644 --- a/tier4/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json +++ b/tier4/{{cookiecutter.project_slug}}/repometrics/{{cookiecutter.project_type}}/code.json @@ -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" } \ No newline at end of file