From 4246f78e8c4d91bece06bafb619f1f55eb15a11b Mon Sep 17 00:00:00 2001 From: J Robert Ray Date: Mon, 26 Feb 2024 14:42:48 -0800 Subject: [PATCH 1/2] Fix spelling errors / add words to dictionary Signed-off-by: J Robert Ray --- cspell.json | 3 +++ docs/use/spec.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cspell.json b/cspell.json index f4420572e..a47a04622 100644 --- a/cspell.json +++ b/cspell.json @@ -363,6 +363,7 @@ "filesequence", "filesystems", "filesytem", + "flatbuffers", "flifetime", "fowner", "freetype", @@ -617,6 +618,7 @@ "repr", "reqby", "reqs", + "respecifying", "retpoline", "retryable", "rhelversion", @@ -706,6 +708,7 @@ "tempfile", "tempfs", "templating", + "tera", "testcase", "testname", "testpackage", diff --git a/docs/use/spec.md b/docs/use/spec.md index 3b5c16323..7e2f13750 100644 --- a/docs/use/spec.md +++ b/docs/use/spec.md @@ -476,9 +476,9 @@ requirements: - pkg: imath ``` -The `base:` field indicates which platform this platform spec is based on (inherits the requiremented from). +The `base:` field indicates which platform this platform spec is based on (inherits the requirements from). -Specifying a requirement drectly with `- ` is the same as specifying it with `add:`, but is a shorthand for convienence. +Specifying a requirement directly with `- ` is the same as specifying it with `add:`, but is a shorthand for convenience. The `add:` and `remove:` entries indicate changes to the requirements inherited from the base platform. `add:` means "add or replace". `remove:` means remove entirely. `remove:` will work on components of packages, if they are specified, as well as full packages. Removing requirement is done before adding when determining the platform's final requirements. From 0b18c86c6b1e4d4fb9b6eda4f8bedca96f600646 Mon Sep 17 00:00:00 2001 From: J Robert Ray Date: Mon, 26 Feb 2024 14:38:35 -0800 Subject: [PATCH 2/2] Add github workflow to run spellcheck Signed-off-by: J Robert Ray --- .github/workflows/cspell.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/cspell.yml diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml new file mode 100644 index 000000000..c3fad1c4d --- /dev/null +++ b/.github/workflows/cspell.yml @@ -0,0 +1,12 @@ +name: Spellcheck + +on: + pull_request: + push: + +jobs: + spellcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: streetsidesoftware/cspell-action@v5