-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/composer/va-gov/content-build-0.0…
….3408
- Loading branch information
Showing
18 changed files
with
168 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
name: "Taxonomy - Update Term" | ||
description: "Use this template when updating an existing terms in the Service or Benefit taxonomy." | ||
title: "[UPDATE] (Term name) in (taxonomy name)" | ||
labels: Content, Content governance | ||
|
||
body: | ||
|
||
- type: dropdown | ||
id: which-taxonomy | ||
attributes: | ||
label: Which Taxonomy is this term for? | ||
multiple: false | ||
options: | ||
- VA Benefits taxonomy | ||
- VA services taxonomy | ||
- Other | ||
validations: | ||
required: true | ||
- type: input | ||
id: term-link | ||
attributes: | ||
label: Link to existing term | ||
description: e.g. https://prod.cms.va.gov/health-care/medical-records | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: rationale | ||
attributes: | ||
label: Rationale for updating this term | ||
description: Write a short explanation of why this term needs to be updated. Include links to any relevant issues, research findings, etc. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: products | ||
attributes: | ||
label: Which products will this term impact? | ||
multiple: true | ||
options: | ||
- VAMCs | ||
- Vet Centers | ||
- VBA Regional Office | ||
- Benefit hubs | ||
- Other | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: stakeholders | ||
attributes: | ||
label: Have stakeholders from impacted products been consulted? | ||
multiple: false | ||
options: | ||
- 'Yes' | ||
- 'No' | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: subfields | ||
attributes: | ||
label: Have you drafted content for all the relevant subfields? | ||
multiple: false | ||
options: | ||
- 'Yes' | ||
- 'No' | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: acceptance-critera | ||
attributes: | ||
label: Acceptance Criteria | ||
description: Customize the Acceptance Critera or use the default | ||
value: | | ||
- [ ] Content for subfields is drafted in Drupal by Product team | ||
- [ ] Content is reviewed by relevant taxonomy governance body | ||
- [ ] Content is reviewed by relevant stakeholders | ||
- [ ] (List any necessary review and approval steps here) | ||
- [ ] Term is published | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,31 +13,12 @@ See [the Codespaces README](./codespaces.md) to get a fully functional cloud-bas | |
|
||
## Step 1: Get Source Code / Git Setup | ||
|
||
- Fork the repo by pressing the "Fork" button: [github.com/department-of-veterans-affairs/va.gov-cms](https://github.com/department-of-veterans-affairs/va.gov-cms) | ||
- Clone your fork. | ||
- Clone the repo: [github.com/department-of-veterans-affairs/va.gov-cms](https://github.com/department-of-veterans-affairs/va.gov-cms) | ||
```sh | ||
$ git clone [email protected]:YOUR-GITHUB-USERNAME/va.gov-cms.git | ||
$ git clone [email protected]:department-of-veterans-affairs/va.gov-cms.git | ||
$ cd va.gov-cms | ||
``` | ||
|
||
* Add upstream repo (Recommended): | ||
|
||
```sh | ||
$ git remote add upstream [email protected]:department-of-veterans-affairs/va.gov-cms.git | ||
``` | ||
* Optionally rename your fork so its name is more meaningful and ensures your upstream and origin are not misnamed. | ||
```sh | ||
$ git remote rename origin myfork | ||
``` | ||
* Verify your remotes, it should list upstream and myfork/origin as remotes. | ||
```sh | ||
$ git remote -v | ||
|
||
myfork [email protected]:YOUR_GIT_USERNAME/va.gov-cms.git (fetch) | ||
myfork [email protected]:YOUR_GIT_USERNAME/va.gov-cms.git (push) | ||
upstream [email protected]:department-of-veterans-affairs/va.gov-cms.git (fetch) | ||
upstream [email protected]:department-of-veterans-affairs/va.gov-cms.git (push) | ||
``` | ||
* Make sure your local repo is aware of what's on the remotes. | ||
```sh | ||
$ git fetch --all | ||
|
@@ -55,35 +36,35 @@ See [the Codespaces README](./codespaces.md) to get a fully functional cloud-bas | |
$ git config --global branch.main.rebase true | ||
``` | ||
|
||
* Make branch main always pulls from the remote: upstream. | ||
```sh | ||
$ git checkout main | ||
$ git branch --set-upstream-to upstream/main | ||
``` | ||
|
||
* Make changes to simplesaml storage not be tracked locally. | ||
|
||
```sh | ||
git update-index --skip-worktree samlsessiondb.sq3 | ||
``` | ||
|
||
You should periodically update your branch from `upstream main` branch: | ||
You should periodically update your branch from `origin main` branch. This will rebase your current branch on top of new commits in main: | ||
|
||
```sh | ||
$ git pull upstream main | ||
$ git pull origin main | ||
``` | ||
|
||
## Step 2: Launch development environment | ||
|
||
1. [Install ddev](https://ddev.readthedocs.io/en/stable/#installation) | ||
2. Change into the project directory and run `ddev start`: | ||
1. Set ddev environment variables: | ||
|
||
```bash | ||
$ cd va.gov-cms | ||
$ ddev start | ||
``` | ||
```bash | ||
$ cd va.gov-cms | ||
$ cp .env.example .env | ||
``` | ||
|
||
2. [Install ddev](https://ddev.readthedocs.io/en/stable/#installation) | ||
3. Change into the project directory and run `ddev start`: | ||
|
||
```bash | ||
$ ddev start | ||
``` | ||
|
||
The `ddev start` command will include the `composer install` command. | ||
The `ddev start` command will include the `composer install` command. Ensure that a CMS account is created and [Step 3](#step-3-sync-your-local-site-with-production-data) is run to sync login information before logging into the local CMS environment. | ||
|
||
See [Environments: Local](./local.md) for more information on ddev. | ||
|
||
|
@@ -96,7 +77,7 @@ correct locations in your local development environment. | |
|
||
- `ddev pull va ` or `ddev pull va --skip-files` | ||
|
||
NOTE: This command downloads and impoorts the db followed by any configuration import. | ||
NOTE: This command downloads and imports the db followed by any configuration import. | ||
|
||
If you are not using ddev, the scripts will | ||
fail, but the files will still be available. The `sync-db.sh` script downloads the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.