From cd04244dc884151038de1f85bf0db848a1c93380 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Thu, 25 Aug 2022 22:02:54 +0200 Subject: [PATCH 1/2] Added: regex test case info - Added: regex test case info, from now on when updating or adding a new CF the test case url needs to be added to the json. --- .github/CONTRIBUTING.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 1068b9997..8a64dc171 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -22,6 +22,22 @@ These are mostly guidelines, not rules. Use your best judgment, and feel free to - When adding the hashcode for Sonarr Anime use the following naming `Sonarr Anime CF_name` on the following [link+example](https://md5.gromweb.com/?string=Sonarr+Anime+BR-DISK). - Provide a link to your regex example of your Custom Format using the following [Template](https://regex101.com/r/fXmQQm/1). +When adding a regex test case +- Replace the actual movie name with `Movie`. +- Replace the actual series name with `Series`. +- Remove the actual Series title. +- Replace the actual group name with `RlsGrp` + +When updating or adding a new CF the test case url needs to be added to the json. + +```json +{ + "trash_id": "hashcode", + "trash_score": "score", + "trash_regex": "https://regex101.com/r/pADWJD/5", + "name": "CF_name", +``` + ## Recommendations - use [VSCode](https://code.visualstudio.com/) for editing with the following extension [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint) From 32c0ad66466e329feaaeffcacd65928c1ac3e067 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Thu, 25 Aug 2022 22:05:26 +0200 Subject: [PATCH 2/2] Fix: MD032 --- .github/CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8a64dc171..404ceac4f 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -23,6 +23,7 @@ These are mostly guidelines, not rules. Use your best judgment, and feel free to - Provide a link to your regex example of your Custom Format using the following [Template](https://regex101.com/r/fXmQQm/1). When adding a regex test case + - Replace the actual movie name with `Movie`. - Replace the actual series name with `Series`. - Remove the actual Series title.