department-of-veterans-affairs / acronyms

A list of VA acronyms
44 stars 47 forks source link

Acronym CI

Overview

This is a list of acronyms in VA today.

Among other things, this list powers a DSVA and Lighthouse Slack bot.

Contributing

  1. Edit the acronyms.csv file.
    • When adding a definition, please add a concise blurb in the context column about how this term is relevant to our work. You can wrap text in quotes to avoid punctuation breaking the CSV.
  2. Commit your changes.
  3. Create a pull request; if the CI tests pass you can merge it yourself. The tests may take a a few minutes to complete.

The @all-va github team should have write access.

CI

Any changes to the acronyms file will trigger a CI job that will run lint on the acronyms file to check for errors. Any other changes will trigger a scripts-CI job that will run unit tests on scripts in this repository used to cleanup the acronyms file.

Clean up

The terms can be cleaned up for duplicates and sorted via the cleanup script.

Run it via cd scripts && ./clean.sh. An output.csv file will be generated that you can replace the acronyms.csv file with.

csvlint

You can (optionally) install csvlint to check the format of the acronyms file. You can install it with make csvlint-install and then run it with make csvlint

Other cleanup scripts