From 086e87b00a91e95d593e774346f351ba3a739e65 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 13:29:08 +0800 Subject: [PATCH 01/52] test --- .github/workflows/rename-folder.yml | 65 ++++++++++++++++++ .../3StepsToAPBI.jpg | Bin .../KB-customize-board-columns.png | Bin .../Testing-task.png | Bin .../rule.md | 3 +- 5 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/rename-folder.yml rename rules/{3-steps-to-a-pbi => 3-steps-to-a-pbi1}/3StepsToAPBI.jpg (100%) rename rules/{3-steps-to-a-pbi => 3-steps-to-a-pbi1}/KB-customize-board-columns.png (100%) rename rules/{3-steps-to-a-pbi => 3-steps-to-a-pbi1}/Testing-task.png (100%) rename rules/{3-steps-to-a-pbi => 3-steps-to-a-pbi1}/rule.md (98%) diff --git a/.github/workflows/rename-folder.yml b/.github/workflows/rename-folder.yml new file mode 100644 index 00000000000..24bc38f2050 --- /dev/null +++ b/.github/workflows/rename-folder.yml @@ -0,0 +1,65 @@ +name: Rename Folder + +on: + pull_request: + paths: + - '**/rule.md' + types: [opened, synchronize] + +jobs: + rename-folder: + runs-on: ubuntu-latest + permissions: + contents: write + issues: write + repository-projects: read + pull-requests: write + + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} + + - name: Check for modified rule.md + id: check_modified + run: | + if git diff --name-only $(git merge-base origin/main HEAD) | grep -q 'rule.md'; then + echo "modified=true" >> "$GITHUB_OUTPUT" + else + echo "modified=false" >> "$GITHUB_OUTPUT" + fi + + # - name: Rename folder if necessary + # id: rename_folder + # if: steps.check_modified.outputs.modified == 'true' + # run: | + # folder_name=$(dirname $(git diff --name-only $(git merge-base origin/main HEAD) | grep 'rule.md' | head -n 1)) + # uri=$(grep -m 1 '^uri:' ${{ github.workspace }}/$folder_name/rule.md | awk '{print $2}') + # if [ "$folder_name" != "$uri" ]; then + # mv $folder_name $uri + # echo "rename=true" >> "$GITHUB_OUTPUT" + # else + # echo "rename=false" >> "$GITHUB_OUTPUT" + # fi + + - name: Rename folders if necessary + id: rename_folders + if: steps.check_modified.outputs.modified == 'true' + run: | + # chmod +x .workflow/rename-folders.sh + sh .workflow/rename-folders.sh + + - name: Commit and push changes + if: steps.rename_folders.outputs.rename == 'true' + run: | + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git add . + git commit -m "Rename folder to match URI" + git push || true + echo "Auto-fix applied" + diff --git a/rules/3-steps-to-a-pbi/3StepsToAPBI.jpg b/rules/3-steps-to-a-pbi1/3StepsToAPBI.jpg similarity index 100% rename from rules/3-steps-to-a-pbi/3StepsToAPBI.jpg rename to rules/3-steps-to-a-pbi1/3StepsToAPBI.jpg diff --git a/rules/3-steps-to-a-pbi/KB-customize-board-columns.png b/rules/3-steps-to-a-pbi1/KB-customize-board-columns.png similarity index 100% rename from rules/3-steps-to-a-pbi/KB-customize-board-columns.png rename to rules/3-steps-to-a-pbi1/KB-customize-board-columns.png diff --git a/rules/3-steps-to-a-pbi/Testing-task.png b/rules/3-steps-to-a-pbi1/Testing-task.png similarity index 100% rename from rules/3-steps-to-a-pbi/Testing-task.png rename to rules/3-steps-to-a-pbi1/Testing-task.png diff --git a/rules/3-steps-to-a-pbi/rule.md b/rules/3-steps-to-a-pbi1/rule.md similarity index 98% rename from rules/3-steps-to-a-pbi/rule.md rename to rules/3-steps-to-a-pbi1/rule.md index f1a4e5dac08..d64e4bcdafe 100644 --- a/rules/3-steps-to-a-pbi/rule.md +++ b/rules/3-steps-to-a-pbi1/rule.md @@ -5,7 +5,7 @@ seoDescription: Master the 3 essential steps of PBI management with SSW's expert guide. From readiness to coding and finalization, streamline your Agile processes for maximum efficiency. Learn more and enhance your project management skills today. -uri: 3-steps-to-a-pbi +uri: 3-steps-to-a-pbi1 authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan @@ -26,6 +26,7 @@ related: redirects: - do-you-know-the-3-steps-to-completing-a-pbi - do-you-know-the-3-steps-to-a-pbi + - 3-steps-to-a-pbi created: 2013-08-30T06:33:21.000Z archivedreason: null guid: 1de9df77-9b69-4242-b648-e08e5980e9a6 From ccc84234e3bc749be62865bf8a9d9b08a2d49738 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 13:37:17 +0800 Subject: [PATCH 02/52] add shell --- .workflow/rename-folders.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .workflow/rename-folders.sh diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh new file mode 100644 index 00000000000..545bb86dbb2 --- /dev/null +++ b/.workflow/rename-folders.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +is_rename=false +for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | grep 'rule.md'); do + folder_path=$(dirname $rule_file) + folder_name=${folder_path#rules/} + echo "Folder path: $folder_path" + echo "Folder name: $folder_name" + + uri=$(grep -m 1 '^uri:' "${GITHUB_WORKSPACE}/$rule_file" | awk '{print $2}') + echo "URI: $uri" + + if [ "$folder_name" != "$uri" ]; then + mv "${GITHUB_WORKSPACE}/$folder_name" "${GITHUB_WORKSPACE}/$uri" + is_rename=true + + if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if grep -q "\b$folder_name\b" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + echo "Old folder name is already in redirects" + else + sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" + fi + else + sed -i "/uri:.*/a\\redirects:\\n - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" + fi + fi +done +echo "$GITHUB_WORKSPACE" +echo "rename=$is_rename" >> "$GITHUB_OUTPUT" From ff1fb422ab63a90de4e0e2aad10181bd29fd38d2 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 13:44:31 +0800 Subject: [PATCH 03/52] test --- rules/3-steps-to-a-pbi1/rule.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/3-steps-to-a-pbi1/rule.md b/rules/3-steps-to-a-pbi1/rule.md index d64e4bcdafe..cfff2167697 100644 --- a/rules/3-steps-to-a-pbi1/rule.md +++ b/rules/3-steps-to-a-pbi1/rule.md @@ -5,7 +5,7 @@ seoDescription: Master the 3 essential steps of PBI management with SSW's expert guide. From readiness to coding and finalization, streamline your Agile processes for maximum efficiency. Learn more and enhance your project management skills today. -uri: 3-steps-to-a-pbi1 +uri: 3-steps-to-a-pbi12 authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan @@ -27,6 +27,7 @@ redirects: - do-you-know-the-3-steps-to-completing-a-pbi - do-you-know-the-3-steps-to-a-pbi - 3-steps-to-a-pbi + - 3-steps-to-a-pbi1 created: 2013-08-30T06:33:21.000Z archivedreason: null guid: 1de9df77-9b69-4242-b648-e08e5980e9a6 From 4873bef9a404716d9afe544a71f50f9f93c560e8 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 14:03:52 +0800 Subject: [PATCH 04/52] fix shell - round 1 --- .workflow/rename-folders.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 545bb86dbb2..e1e0e1fb1d9 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -2,8 +2,8 @@ is_rename=false for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | grep 'rule.md'); do - folder_path=$(dirname $rule_file) - folder_name=${folder_path#rules/} + folder_name=$(dirname $rule_file) + # folder_name=${folder_path#rules/} echo "Folder path: $folder_path" echo "Folder name: $folder_name" @@ -21,7 +21,7 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" fi else - sed -i "/uri:.*/a\\redirects:\\n - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" + sed -i "/uri:.*/a\\redirects:\\n - $folder_name#rules/" "${GITHUB_WORKSPACE}/$uri/rule.md" fi fi done From 915567fffe3740ca9b66daa172bc57eaf58c6d8e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 06:04:53 +0000 Subject: [PATCH 05/52] Rename folder to match URI --- .../3StepsToAPBI.jpg | Bin .../KB-customize-board-columns.png | Bin .../Testing-task.png | Bin .../rule.md | 1 + 4 files changed, 1 insertion(+) rename {rules/3-steps-to-a-pbi1 => 3-steps-to-a-pbi12}/3StepsToAPBI.jpg (100%) rename {rules/3-steps-to-a-pbi1 => 3-steps-to-a-pbi12}/KB-customize-board-columns.png (100%) rename {rules/3-steps-to-a-pbi1 => 3-steps-to-a-pbi12}/Testing-task.png (100%) rename {rules/3-steps-to-a-pbi1 => 3-steps-to-a-pbi12}/rule.md (99%) diff --git a/rules/3-steps-to-a-pbi1/3StepsToAPBI.jpg b/3-steps-to-a-pbi12/3StepsToAPBI.jpg similarity index 100% rename from rules/3-steps-to-a-pbi1/3StepsToAPBI.jpg rename to 3-steps-to-a-pbi12/3StepsToAPBI.jpg diff --git a/rules/3-steps-to-a-pbi1/KB-customize-board-columns.png b/3-steps-to-a-pbi12/KB-customize-board-columns.png similarity index 100% rename from rules/3-steps-to-a-pbi1/KB-customize-board-columns.png rename to 3-steps-to-a-pbi12/KB-customize-board-columns.png diff --git a/rules/3-steps-to-a-pbi1/Testing-task.png b/3-steps-to-a-pbi12/Testing-task.png similarity index 100% rename from rules/3-steps-to-a-pbi1/Testing-task.png rename to 3-steps-to-a-pbi12/Testing-task.png diff --git a/rules/3-steps-to-a-pbi1/rule.md b/3-steps-to-a-pbi12/rule.md similarity index 99% rename from rules/3-steps-to-a-pbi1/rule.md rename to 3-steps-to-a-pbi12/rule.md index cfff2167697..5f6436ff8da 100644 --- a/rules/3-steps-to-a-pbi1/rule.md +++ b/3-steps-to-a-pbi12/rule.md @@ -24,6 +24,7 @@ related: - done-do-you-know-when-to-send-a-done-email-in-scrum - close-pbis-with-context redirects: + - rules/3-steps-to-a-pbi1 - do-you-know-the-3-steps-to-completing-a-pbi - do-you-know-the-3-steps-to-a-pbi - 3-steps-to-a-pbi From 057899c63d4ee1eed842f9bf85f2287692a09f93 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 14:14:30 +0800 Subject: [PATCH 06/52] f a t --- .workflow/rename-folders.sh | 9 ++++----- 3-steps-to-a-pbi12/rule.md | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index e1e0e1fb1d9..50b816ac1e0 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -2,8 +2,8 @@ is_rename=false for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | grep 'rule.md'); do - folder_name=$(dirname $rule_file) - # folder_name=${folder_path#rules/} + folder_path=$(dirname $rule_file) + folder_name=${folder_path#rules/} echo "Folder path: $folder_path" echo "Folder name: $folder_name" @@ -11,7 +11,7 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre echo "URI: $uri" if [ "$folder_name" != "$uri" ]; then - mv "${GITHUB_WORKSPACE}/$folder_name" "${GITHUB_WORKSPACE}/$uri" + mv "${GITHUB_WORKSPACE}/$folder_path" "${GITHUB_WORKSPACE}/$uri" is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then @@ -21,9 +21,8 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" fi else - sed -i "/uri:.*/a\\redirects:\\n - $folder_name#rules/" "${GITHUB_WORKSPACE}/$uri/rule.md" + sed -i "/uri:.*/a\\redirects:\\n - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" fi fi done -echo "$GITHUB_WORKSPACE" echo "rename=$is_rename" >> "$GITHUB_OUTPUT" diff --git a/3-steps-to-a-pbi12/rule.md b/3-steps-to-a-pbi12/rule.md index 5f6436ff8da..d8831670d25 100644 --- a/3-steps-to-a-pbi12/rule.md +++ b/3-steps-to-a-pbi12/rule.md @@ -5,7 +5,7 @@ seoDescription: Master the 3 essential steps of PBI management with SSW's expert guide. From readiness to coding and finalization, streamline your Agile processes for maximum efficiency. Learn more and enhance your project management skills today. -uri: 3-steps-to-a-pbi12 +uri: 3-steps-to-a-pbi123 authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan @@ -28,7 +28,7 @@ redirects: - do-you-know-the-3-steps-to-completing-a-pbi - do-you-know-the-3-steps-to-a-pbi - 3-steps-to-a-pbi - - 3-steps-to-a-pbi1 + - 3-steps-to-a-pbi12 created: 2013-08-30T06:33:21.000Z archivedreason: null guid: 1de9df77-9b69-4242-b648-e08e5980e9a6 From 8124016cc97351dbade035956bb6ff597256290b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 06:15:35 +0000 Subject: [PATCH 07/52] Rename folder to match URI --- .../3StepsToAPBI.jpg | Bin .../KB-customize-board-columns.png | Bin .../Testing-task.png | Bin {3-steps-to-a-pbi12 => 3-steps-to-a-pbi123}/rule.md | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename {3-steps-to-a-pbi12 => 3-steps-to-a-pbi123}/3StepsToAPBI.jpg (100%) rename {3-steps-to-a-pbi12 => 3-steps-to-a-pbi123}/KB-customize-board-columns.png (100%) rename {3-steps-to-a-pbi12 => 3-steps-to-a-pbi123}/Testing-task.png (100%) rename {3-steps-to-a-pbi12 => 3-steps-to-a-pbi123}/rule.md (100%) diff --git a/3-steps-to-a-pbi12/3StepsToAPBI.jpg b/3-steps-to-a-pbi123/3StepsToAPBI.jpg similarity index 100% rename from 3-steps-to-a-pbi12/3StepsToAPBI.jpg rename to 3-steps-to-a-pbi123/3StepsToAPBI.jpg diff --git a/3-steps-to-a-pbi12/KB-customize-board-columns.png b/3-steps-to-a-pbi123/KB-customize-board-columns.png similarity index 100% rename from 3-steps-to-a-pbi12/KB-customize-board-columns.png rename to 3-steps-to-a-pbi123/KB-customize-board-columns.png diff --git a/3-steps-to-a-pbi12/Testing-task.png b/3-steps-to-a-pbi123/Testing-task.png similarity index 100% rename from 3-steps-to-a-pbi12/Testing-task.png rename to 3-steps-to-a-pbi123/Testing-task.png diff --git a/3-steps-to-a-pbi12/rule.md b/3-steps-to-a-pbi123/rule.md similarity index 100% rename from 3-steps-to-a-pbi12/rule.md rename to 3-steps-to-a-pbi123/rule.md From d95f4a3e38f71fdd89f2ebe0a0bcede6cecae547 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 15:01:53 +0800 Subject: [PATCH 08/52] test 3 --- rules/a-b-testing/rule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/a-b-testing/rule.md b/rules/a-b-testing/rule.md index e9675f214a9..27972c63bd1 100644 --- a/rules/a-b-testing/rule.md +++ b/rules/a-b-testing/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you know the best way to do A/B testing? -uri: a-b-testing +uri: a-b-testing1 authors: - title: Piers Sinclair url: https://www.ssw.com.au/people/piers-sinclair From ff6cd61d88d49f63aaeb92c6ac235bbe040f7812 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 07:02:55 +0000 Subject: [PATCH 09/52] Auto-fix Markdown files --- rules/a-b-testing/rule.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rules/a-b-testing/rule.md b/rules/a-b-testing/rule.md index 27972c63bd1..f1f653d0b48 100644 --- a/rules/a-b-testing/rule.md +++ b/rules/a-b-testing/rule.md @@ -8,13 +8,13 @@ authors: created: 2022-04-20T05:56:17.498Z guid: bb49a520-59fa-4190-b19e-b70a6b450975 --- -A/B Testing is the process of testing different versions of an application on different users to gather empirical evidence to learn which version is better. +A/B Testing is the process of testing different versions of an application on different users to gather empirical evidence to learn which version is better. Using A/B Testing enables you to get features tested and when used effectively means that **a bug will never be deployed to 100% of users.** Generally, new features should be tested on 20% of users and rolled out to others once they are reliable. `youtube: https://www.youtube.com/embed/v=zFMgpxG-chM` -**Video: What is A/B Testing? | Data Science in Minutes** +**Video: What is A/B Testing? | Data Science in Minutes** There are several ways this can be done... @@ -25,13 +25,14 @@ There are several ways this can be done... Feature flags are a modern way to toggle features for users. They are essentially a little bit of code that can be turned on and off at will. That means you can choose, when features are deployed and who gets them. Feature flags are often implemented by developers writing their own code. However, there are better solutions today: -* [LaunchDarkly](https://launchdarkly.com/) - * [Video interview](https://tv.ssw.com/ndc-sydney-2017-ask-me-anything-with-adam-cogan-and-edith-harbaugh-launchdarkly-tripit-devops/) of LaunchDarkly CEO Edith Harbaugh +* [LaunchDarkly](https://launchdarkly.com/) + + * [Video interview](https://tv.ssw.com/ndc-sydney-2017-ask-me-anything-with-adam-cogan-and-edith-harbaugh-launchdarkly-tripit-devops/) of LaunchDarkly CEO Edith Harbaugh * [Azure App Configuration](https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview) is the recommended solution and there are some great tutorials that help developers get up and running in minutes: - * [Use feature filters to enable conditional feature flags](https://docs.microsoft.com/en-us/azure/azure-app-configuration/howto-feature-filters-aspnet-core) - * [Tutorial: Use feature flags in an ASP.NET Core app](https://docs.microsoft.com/en-us/azure/azure-app-configuration/use-feature-flags-dotnet-core) + * [Use feature filters to enable conditional feature flags](https://docs.microsoft.com/en-us/azure/azure-app-configuration/howto-feature-filters-aspnet-core) + * [Tutorial: Use feature flags in an ASP.NET Core app](https://docs.microsoft.com/en-us/azure/azure-app-configuration/use-feature-flags-dotnet-core) ## Azure Deployment Slots @@ -39,4 +40,4 @@ Feature flags are often implemented by developers writing their own code. Howeve ## Azure FrontDoor -[Azure FrontDoor](https://docs.microsoft.com/en-us/azure/frontdoor/front-door-overview) is an offering that lets developers direct traffic to different versions of an app. \ No newline at end of file +[Azure FrontDoor](https://docs.microsoft.com/en-us/azure/frontdoor/front-door-overview) is an offering that lets developers direct traffic to different versions of an app. From f2d8cec3c7078f81fe31272d4fcc23493fe1768c Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 15:05:29 +0800 Subject: [PATCH 10/52] test 3 --- rules/a-b-testing/rule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/a-b-testing/rule.md b/rules/a-b-testing/rule.md index 27972c63bd1..0bfe4c82f51 100644 --- a/rules/a-b-testing/rule.md +++ b/rules/a-b-testing/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you know the best way to do A/B testing? -uri: a-b-testing1 +uri: a-b-testing12 authors: - title: Piers Sinclair url: https://www.ssw.com.au/people/piers-sinclair From e161002c094d207d59a7d4f41b52aa1df26a9ded Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 07:06:42 +0000 Subject: [PATCH 11/52] Rename folder to match URI --- {rules/a-b-testing => a-b-testing12}/rule.md | 2 ++ 1 file changed, 2 insertions(+) rename {rules/a-b-testing => a-b-testing12}/rule.md (98%) diff --git a/rules/a-b-testing/rule.md b/a-b-testing12/rule.md similarity index 98% rename from rules/a-b-testing/rule.md rename to a-b-testing12/rule.md index d47bfca4edf..bb5130d1e5d 100644 --- a/rules/a-b-testing/rule.md +++ b/a-b-testing12/rule.md @@ -2,6 +2,8 @@ type: rule title: Do you know the best way to do A/B testing? uri: a-b-testing12 +redirects: + - a-b-testing authors: - title: Piers Sinclair url: https://www.ssw.com.au/people/piers-sinclair From 54bd53ac7dcff6a99a5245eb0712ef233c321711 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 15:08:56 +0800 Subject: [PATCH 12/52] test 2 --- rules/8-steps-to-scrum/rule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/8-steps-to-scrum/rule.md b/rules/8-steps-to-scrum/rule.md index fffb3848569..d7a304c6c10 100644 --- a/rules/8-steps-to-scrum/rule.md +++ b/rules/8-steps-to-scrum/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you know the 8 Steps to Scrum? -uri: 8-steps-to-scrum +uri: 8-steps-to-scrum-test authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan From d43d268c8653f44b56fac0f0747b3bb7759cb44c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 07:09:50 +0000 Subject: [PATCH 13/52] Rename folder to match URI --- .../8StepstoScrum-V5-1.pdf | Bin .../8StepstoScrum-V5-2.pdf | Bin .../8StepstoScrum-v2.pdf | Bin .../8StepstoScrum.png | Bin .../8stepstoscrum-v5-1.jpg | Bin .../8stepstoscrum-v5-2.jpg | Bin .../rule.md | 0 .../scrum-image.png | Bin 8 files changed, 0 insertions(+), 0 deletions(-) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/8StepstoScrum-V5-1.pdf (100%) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/8StepstoScrum-V5-2.pdf (100%) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/8StepstoScrum-v2.pdf (100%) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/8StepstoScrum.png (100%) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/8stepstoscrum-v5-1.jpg (100%) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/8stepstoscrum-v5-2.jpg (100%) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/rule.md (100%) rename {rules/8-steps-to-scrum => 8-steps-to-scrum-test}/scrum-image.png (100%) diff --git a/rules/8-steps-to-scrum/8StepstoScrum-V5-1.pdf b/8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf similarity index 100% rename from rules/8-steps-to-scrum/8StepstoScrum-V5-1.pdf rename to 8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf diff --git a/rules/8-steps-to-scrum/8StepstoScrum-V5-2.pdf b/8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf similarity index 100% rename from rules/8-steps-to-scrum/8StepstoScrum-V5-2.pdf rename to 8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf diff --git a/rules/8-steps-to-scrum/8StepstoScrum-v2.pdf b/8-steps-to-scrum-test/8StepstoScrum-v2.pdf similarity index 100% rename from rules/8-steps-to-scrum/8StepstoScrum-v2.pdf rename to 8-steps-to-scrum-test/8StepstoScrum-v2.pdf diff --git a/rules/8-steps-to-scrum/8StepstoScrum.png b/8-steps-to-scrum-test/8StepstoScrum.png similarity index 100% rename from rules/8-steps-to-scrum/8StepstoScrum.png rename to 8-steps-to-scrum-test/8StepstoScrum.png diff --git a/rules/8-steps-to-scrum/8stepstoscrum-v5-1.jpg b/8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg similarity index 100% rename from rules/8-steps-to-scrum/8stepstoscrum-v5-1.jpg rename to 8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg diff --git a/rules/8-steps-to-scrum/8stepstoscrum-v5-2.jpg b/8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg similarity index 100% rename from rules/8-steps-to-scrum/8stepstoscrum-v5-2.jpg rename to 8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg diff --git a/rules/8-steps-to-scrum/rule.md b/8-steps-to-scrum-test/rule.md similarity index 100% rename from rules/8-steps-to-scrum/rule.md rename to 8-steps-to-scrum-test/rule.md diff --git a/rules/8-steps-to-scrum/scrum-image.png b/8-steps-to-scrum-test/scrum-image.png similarity index 100% rename from rules/8-steps-to-scrum/scrum-image.png rename to 8-steps-to-scrum-test/scrum-image.png From fddacdf186063a57ccf5544883dd14020a96c881 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 15:31:52 +0800 Subject: [PATCH 14/52] test 2 --- .workflow/rename-folders.sh | 2 +- 8-steps-to-scrum-test/rule.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 50b816ac1e0..c4b08070d57 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -15,7 +15,7 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then - if grep -q "\b$folder_name\b" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if grep -q "\<$folder_name\>" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" diff --git a/8-steps-to-scrum-test/rule.md b/8-steps-to-scrum-test/rule.md index d7a304c6c10..84b8c86bd2b 100644 --- a/8-steps-to-scrum-test/rule.md +++ b/8-steps-to-scrum-test/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you know the 8 Steps to Scrum? -uri: 8-steps-to-scrum-test +uri: 8-steps-to-scrum-test-double authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan From 8803c1172178d250e274d7c1c96d7cddff197250 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 07:32:50 +0000 Subject: [PATCH 15/52] Rename folder to match URI --- .../8StepstoScrum-V5-1.pdf | Bin .../8StepstoScrum-V5-2.pdf | Bin .../8StepstoScrum-v2.pdf | Bin .../8StepstoScrum.png | Bin .../8stepstoscrum-v5-1.jpg | Bin .../8stepstoscrum-v5-2.jpg | Bin .../rule.md | 0 .../scrum-image.png | Bin 8 files changed, 0 insertions(+), 0 deletions(-) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/8StepstoScrum-V5-1.pdf (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/8StepstoScrum-V5-2.pdf (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/8StepstoScrum-v2.pdf (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/8StepstoScrum.png (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/8stepstoscrum-v5-1.jpg (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/8stepstoscrum-v5-2.jpg (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/rule.md (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-double}/scrum-image.png (100%) diff --git a/8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf b/8-steps-to-scrum-test-double/8StepstoScrum-V5-1.pdf similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf rename to 8-steps-to-scrum-test-double/8StepstoScrum-V5-1.pdf diff --git a/8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf b/8-steps-to-scrum-test-double/8StepstoScrum-V5-2.pdf similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf rename to 8-steps-to-scrum-test-double/8StepstoScrum-V5-2.pdf diff --git a/8-steps-to-scrum-test/8StepstoScrum-v2.pdf b/8-steps-to-scrum-test-double/8StepstoScrum-v2.pdf similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum-v2.pdf rename to 8-steps-to-scrum-test-double/8StepstoScrum-v2.pdf diff --git a/8-steps-to-scrum-test/8StepstoScrum.png b/8-steps-to-scrum-test-double/8StepstoScrum.png similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum.png rename to 8-steps-to-scrum-test-double/8StepstoScrum.png diff --git a/8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg b/8-steps-to-scrum-test-double/8stepstoscrum-v5-1.jpg similarity index 100% rename from 8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg rename to 8-steps-to-scrum-test-double/8stepstoscrum-v5-1.jpg diff --git a/8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg b/8-steps-to-scrum-test-double/8stepstoscrum-v5-2.jpg similarity index 100% rename from 8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg rename to 8-steps-to-scrum-test-double/8stepstoscrum-v5-2.jpg diff --git a/8-steps-to-scrum-test/rule.md b/8-steps-to-scrum-test-double/rule.md similarity index 100% rename from 8-steps-to-scrum-test/rule.md rename to 8-steps-to-scrum-test-double/rule.md diff --git a/8-steps-to-scrum-test/scrum-image.png b/8-steps-to-scrum-test-double/scrum-image.png similarity index 100% rename from 8-steps-to-scrum-test/scrum-image.png rename to 8-steps-to-scrum-test-double/scrum-image.png From a178a7fed821a8cd4a31d860be6d488007d5e29d Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 15:41:13 +0800 Subject: [PATCH 16/52] test 2 --- .workflow/rename-folders.sh | 2 +- 8-steps-to-scrum-test-double/rule.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index c4b08070d57..3fa1462cc4c 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -15,7 +15,7 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then - if grep -q "\<$folder_name\>" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if grep -q "redirects:.*\<$folder_name\>" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" diff --git a/8-steps-to-scrum-test-double/rule.md b/8-steps-to-scrum-test-double/rule.md index 84b8c86bd2b..d7a304c6c10 100644 --- a/8-steps-to-scrum-test-double/rule.md +++ b/8-steps-to-scrum-test-double/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you know the 8 Steps to Scrum? -uri: 8-steps-to-scrum-test-double +uri: 8-steps-to-scrum-test authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan From 0fa253568d8c3732ba0515e690677be8cc761cd0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 07:42:08 +0000 Subject: [PATCH 17/52] Rename folder to match URI --- .../8StepstoScrum-V5-1.pdf | Bin .../8StepstoScrum-V5-2.pdf | Bin .../8StepstoScrum-v2.pdf | Bin .../8StepstoScrum.png | Bin .../8stepstoscrum-v5-1.jpg | Bin .../8stepstoscrum-v5-2.jpg | Bin .../rule.md | 1 + .../scrum-image.png | Bin 8 files changed, 1 insertion(+) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/8StepstoScrum-V5-1.pdf (100%) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/8StepstoScrum-V5-2.pdf (100%) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/8StepstoScrum-v2.pdf (100%) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/8StepstoScrum.png (100%) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/8stepstoscrum-v5-1.jpg (100%) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/8stepstoscrum-v5-2.jpg (100%) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/rule.md (99%) rename {8-steps-to-scrum-test-double => 8-steps-to-scrum-test}/scrum-image.png (100%) diff --git a/8-steps-to-scrum-test-double/8StepstoScrum-V5-1.pdf b/8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf similarity index 100% rename from 8-steps-to-scrum-test-double/8StepstoScrum-V5-1.pdf rename to 8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf diff --git a/8-steps-to-scrum-test-double/8StepstoScrum-V5-2.pdf b/8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf similarity index 100% rename from 8-steps-to-scrum-test-double/8StepstoScrum-V5-2.pdf rename to 8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf diff --git a/8-steps-to-scrum-test-double/8StepstoScrum-v2.pdf b/8-steps-to-scrum-test/8StepstoScrum-v2.pdf similarity index 100% rename from 8-steps-to-scrum-test-double/8StepstoScrum-v2.pdf rename to 8-steps-to-scrum-test/8StepstoScrum-v2.pdf diff --git a/8-steps-to-scrum-test-double/8StepstoScrum.png b/8-steps-to-scrum-test/8StepstoScrum.png similarity index 100% rename from 8-steps-to-scrum-test-double/8StepstoScrum.png rename to 8-steps-to-scrum-test/8StepstoScrum.png diff --git a/8-steps-to-scrum-test-double/8stepstoscrum-v5-1.jpg b/8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg similarity index 100% rename from 8-steps-to-scrum-test-double/8stepstoscrum-v5-1.jpg rename to 8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg diff --git a/8-steps-to-scrum-test-double/8stepstoscrum-v5-2.jpg b/8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg similarity index 100% rename from 8-steps-to-scrum-test-double/8stepstoscrum-v5-2.jpg rename to 8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg diff --git a/8-steps-to-scrum-test-double/rule.md b/8-steps-to-scrum-test/rule.md similarity index 99% rename from 8-steps-to-scrum-test-double/rule.md rename to 8-steps-to-scrum-test/rule.md index d7a304c6c10..7181616a1a6 100644 --- a/8-steps-to-scrum-test-double/rule.md +++ b/8-steps-to-scrum-test/rule.md @@ -10,6 +10,7 @@ authors: related: - backlog-refinement-meeting redirects: + - 8-steps-to-scrum-test-double - do-you-know-the-8-steps-to-scrum created: 2013-06-28T03:50:10.000Z archivedreason: null diff --git a/8-steps-to-scrum-test-double/scrum-image.png b/8-steps-to-scrum-test/scrum-image.png similarity index 100% rename from 8-steps-to-scrum-test-double/scrum-image.png rename to 8-steps-to-scrum-test/scrum-image.png From ddd52bfb923a597e4358f80e5758dfe77b6cc58c Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 15:45:17 +0800 Subject: [PATCH 18/52] test 1 --- rules/404-useful-error-page/rule.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/404-useful-error-page/rule.md b/rules/404-useful-error-page/rule.md index 6595a3e75a6..2bfe17139f1 100644 --- a/rules/404-useful-error-page/rule.md +++ b/rules/404-useful-error-page/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you have a useful 404 error page? guid: a006213a-e97b-46a7-a66b-beb52b205533 -uri: 404-useful-error-page +uri: 404-useful-error-page1 created: 2016-08-11T17:30:01.0000000Z authors: - title: Adam Cogan @@ -14,6 +14,7 @@ related: - 404-error-avoid-changing-the-url redirects: - do-you-replace-the-404-error-with-a-useful-error-page +- 404-useful-error-page --- From 20e729c87a8de8e2d0b50c126a4b056581450e72 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 07:46:13 +0000 Subject: [PATCH 19/52] Rename folder to match URI --- .../404-bad.jpg | Bin .../404-good.jpg | Bin .../rule.md | 1 + 3 files changed, 1 insertion(+) rename {rules/404-useful-error-page => 404-useful-error-page1}/404-bad.jpg (100%) rename {rules/404-useful-error-page => 404-useful-error-page1}/404-good.jpg (100%) rename {rules/404-useful-error-page => 404-useful-error-page1}/rule.md (98%) diff --git a/rules/404-useful-error-page/404-bad.jpg b/404-useful-error-page1/404-bad.jpg similarity index 100% rename from rules/404-useful-error-page/404-bad.jpg rename to 404-useful-error-page1/404-bad.jpg diff --git a/rules/404-useful-error-page/404-good.jpg b/404-useful-error-page1/404-good.jpg similarity index 100% rename from rules/404-useful-error-page/404-good.jpg rename to 404-useful-error-page1/404-good.jpg diff --git a/rules/404-useful-error-page/rule.md b/404-useful-error-page1/rule.md similarity index 98% rename from rules/404-useful-error-page/rule.md rename to 404-useful-error-page1/rule.md index 2bfe17139f1..a2e820d6b51 100644 --- a/rules/404-useful-error-page/rule.md +++ b/404-useful-error-page1/rule.md @@ -13,6 +13,7 @@ authors: related: - 404-error-avoid-changing-the-url redirects: + - 404-useful-error-page - do-you-replace-the-404-error-with-a-useful-error-page - 404-useful-error-page From 49a8cf4507bdf93fd4562cfce721ba4a87d8184a Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 15:56:57 +0800 Subject: [PATCH 20/52] test 2 --- .workflow/rename-folders.sh | 3 ++- 8-steps-to-scrum-test/rule.md | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 3fa1462cc4c..53f54aadf53 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -15,7 +15,8 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then - if grep -q "redirects:.*\<$folder_name\>" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + # if grep -q "redirects:.*\<$folder_name\>" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if awk '/redirects:/,/---/ && /\b'"$folder_name"'\b/ { found=1; exit } END { exit !found }' "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" diff --git a/8-steps-to-scrum-test/rule.md b/8-steps-to-scrum-test/rule.md index 7181616a1a6..9b8621713a0 100644 --- a/8-steps-to-scrum-test/rule.md +++ b/8-steps-to-scrum-test/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you know the 8 Steps to Scrum? -uri: 8-steps-to-scrum-test +uri: 8-steps-to-scrum-test-dou authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan @@ -10,8 +10,7 @@ authors: related: - backlog-refinement-meeting redirects: - - 8-steps-to-scrum-test-double - - do-you-know-the-8-steps-to-scrum + - 8-steps-to-scrum created: 2013-06-28T03:50:10.000Z archivedreason: null guid: 5759f753-1524-4803-869c-8b881eae28a1 From 230eeb9e65973d15e7885c63a5e9992230182fc7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 07:57:57 +0000 Subject: [PATCH 21/52] Auto-fix Markdown files --- 404-useful-error-page1/rule.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/404-useful-error-page1/rule.md b/404-useful-error-page1/rule.md index a2e820d6b51..03995aac96b 100644 --- a/404-useful-error-page1/rule.md +++ b/404-useful-error-page1/rule.md @@ -28,8 +28,9 @@ A well-designed custom error page encourages surfers to remain in your site and ```xml ``` + ::: bad -Figure: Bad example - The default code on web.config +Figure: Bad example - The default code on web.config ::: ```xml @@ -37,6 +38,7 @@ Figure: Bad example - The default code on web.config ``` + ::: good Figure: Good example - The custom code in the web.config ::: @@ -48,11 +50,11 @@ This error information is useful for the developer to do debugging. However, it ```xml ``` + ::: good Figure: Good example - Turning on "customErrors" protects sensitive information against Hacker ::: - ::: bad ![Figure: Bad example - Unhandled error](404-bad.jpg) ::: From 47347cc0dc4aed7811f69338410bdac8b112d490 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 16:50:22 +0800 Subject: [PATCH 22/52] test 2 --- 8-steps-to-scrum-test/rule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8-steps-to-scrum-test/rule.md b/8-steps-to-scrum-test/rule.md index 9b8621713a0..affd833ffdc 100644 --- a/8-steps-to-scrum-test/rule.md +++ b/8-steps-to-scrum-test/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you know the 8 Steps to Scrum? -uri: 8-steps-to-scrum-test-dou +uri: 8-steps-to-scrum-test-doub authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan From 3273787a8dd75ca99eeaad8b901e976008ffdea5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 08:51:21 +0000 Subject: [PATCH 23/52] Rename folder to match URI --- .../8StepstoScrum-V5-1.pdf | Bin .../8StepstoScrum-V5-2.pdf | Bin .../8StepstoScrum-v2.pdf | Bin .../8StepstoScrum.png | Bin .../8stepstoscrum-v5-1.jpg | Bin .../8stepstoscrum-v5-2.jpg | Bin .../rule.md | 0 .../scrum-image.png | Bin 8 files changed, 0 insertions(+), 0 deletions(-) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/8StepstoScrum-V5-1.pdf (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/8StepstoScrum-V5-2.pdf (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/8StepstoScrum-v2.pdf (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/8StepstoScrum.png (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/8stepstoscrum-v5-1.jpg (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/8stepstoscrum-v5-2.jpg (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/rule.md (100%) rename {8-steps-to-scrum-test => 8-steps-to-scrum-test-doub}/scrum-image.png (100%) diff --git a/8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf b/8-steps-to-scrum-test-doub/8StepstoScrum-V5-1.pdf similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum-V5-1.pdf rename to 8-steps-to-scrum-test-doub/8StepstoScrum-V5-1.pdf diff --git a/8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf b/8-steps-to-scrum-test-doub/8StepstoScrum-V5-2.pdf similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum-V5-2.pdf rename to 8-steps-to-scrum-test-doub/8StepstoScrum-V5-2.pdf diff --git a/8-steps-to-scrum-test/8StepstoScrum-v2.pdf b/8-steps-to-scrum-test-doub/8StepstoScrum-v2.pdf similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum-v2.pdf rename to 8-steps-to-scrum-test-doub/8StepstoScrum-v2.pdf diff --git a/8-steps-to-scrum-test/8StepstoScrum.png b/8-steps-to-scrum-test-doub/8StepstoScrum.png similarity index 100% rename from 8-steps-to-scrum-test/8StepstoScrum.png rename to 8-steps-to-scrum-test-doub/8StepstoScrum.png diff --git a/8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg b/8-steps-to-scrum-test-doub/8stepstoscrum-v5-1.jpg similarity index 100% rename from 8-steps-to-scrum-test/8stepstoscrum-v5-1.jpg rename to 8-steps-to-scrum-test-doub/8stepstoscrum-v5-1.jpg diff --git a/8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg b/8-steps-to-scrum-test-doub/8stepstoscrum-v5-2.jpg similarity index 100% rename from 8-steps-to-scrum-test/8stepstoscrum-v5-2.jpg rename to 8-steps-to-scrum-test-doub/8stepstoscrum-v5-2.jpg diff --git a/8-steps-to-scrum-test/rule.md b/8-steps-to-scrum-test-doub/rule.md similarity index 100% rename from 8-steps-to-scrum-test/rule.md rename to 8-steps-to-scrum-test-doub/rule.md diff --git a/8-steps-to-scrum-test/scrum-image.png b/8-steps-to-scrum-test-doub/scrum-image.png similarity index 100% rename from 8-steps-to-scrum-test/scrum-image.png rename to 8-steps-to-scrum-test-doub/scrum-image.png From 528309915dfcf736fca679c25fff83c9e30b2362 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:11:56 +0800 Subject: [PATCH 24/52] test 2 --- .workflow/rename-folders.sh | 3 +-- a-b-testing12/rule.md | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 53f54aadf53..15ae32c7a62 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -15,8 +15,7 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then - # if grep -q "redirects:.*\<$folder_name\>" "${GITHUB_WORKSPACE}/$uri/rule.md"; then - if awk '/redirects:/,/---/ && /\b'"$folder_name"'\b/ { found=1; exit } END { exit !found }' "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if grep -q "redirects:.*[^-]*$folder_name[^-]" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" diff --git a/a-b-testing12/rule.md b/a-b-testing12/rule.md index bb5130d1e5d..583e7747563 100644 --- a/a-b-testing12/rule.md +++ b/a-b-testing12/rule.md @@ -1,9 +1,9 @@ --- type: rule title: Do you know the best way to do A/B testing? -uri: a-b-testing12 +uri: a-b-testing123 redirects: - - a-b-testing + - a-b-testing12 authors: - title: Piers Sinclair url: https://www.ssw.com.au/people/piers-sinclair From 136bf9afba731abc459fba0e8d1c6355cf80ccee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:12:58 +0000 Subject: [PATCH 25/52] Rename folder to match URI --- {a-b-testing12 => a-b-testing123}/rule.md | 1 + 1 file changed, 1 insertion(+) rename {a-b-testing12 => a-b-testing123}/rule.md (99%) diff --git a/a-b-testing12/rule.md b/a-b-testing123/rule.md similarity index 99% rename from a-b-testing12/rule.md rename to a-b-testing123/rule.md index 583e7747563..083d832121d 100644 --- a/a-b-testing12/rule.md +++ b/a-b-testing123/rule.md @@ -4,6 +4,7 @@ title: Do you know the best way to do A/B testing? uri: a-b-testing123 redirects: - a-b-testing12 + - a-b-testing12 authors: - title: Piers Sinclair url: https://www.ssw.com.au/people/piers-sinclair From a76338eb2ebbf71157fec8084ab0d076470c4418 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:14:17 +0800 Subject: [PATCH 26/52] test 2--2 --- .workflow/rename-folders.sh | 2 +- a-b-testing123/rule.md | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 15ae32c7a62..04e2e220a19 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -15,7 +15,7 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then - if grep -q "redirects:.*[^-]*$folder_name[^-]" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if grep -q "redirects:.*-[^-]*$folder_name[^-]" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" diff --git a/a-b-testing123/rule.md b/a-b-testing123/rule.md index 083d832121d..09613e09108 100644 --- a/a-b-testing123/rule.md +++ b/a-b-testing123/rule.md @@ -1,10 +1,9 @@ --- type: rule title: Do you know the best way to do A/B testing? -uri: a-b-testing123 +uri: a-b-testing1234 redirects: - - a-b-testing12 - - a-b-testing12 + - a-b-testing123 authors: - title: Piers Sinclair url: https://www.ssw.com.au/people/piers-sinclair From abfa8d611ece1201e4172abb0be2e946fc235fc9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:15:13 +0000 Subject: [PATCH 27/52] Rename folder to match URI --- {a-b-testing123 => a-b-testing1234}/rule.md | 1 + 1 file changed, 1 insertion(+) rename {a-b-testing123 => a-b-testing1234}/rule.md (99%) diff --git a/a-b-testing123/rule.md b/a-b-testing1234/rule.md similarity index 99% rename from a-b-testing123/rule.md rename to a-b-testing1234/rule.md index 09613e09108..7a0f3aca8aa 100644 --- a/a-b-testing123/rule.md +++ b/a-b-testing1234/rule.md @@ -4,6 +4,7 @@ title: Do you know the best way to do A/B testing? uri: a-b-testing1234 redirects: - a-b-testing123 + - a-b-testing123 authors: - title: Piers Sinclair url: https://www.ssw.com.au/people/piers-sinclair From f3f9976f95736fea8d41bb3d1866f3e05200a015 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:30:24 +0800 Subject: [PATCH 28/52] test 2 --- .workflow/rename-folders.sh | 2 +- a-b-testing123/rule.md | 45 +++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 a-b-testing123/rule.md diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 04e2e220a19..6ea6e3153a8 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -15,7 +15,7 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then - if grep -q "redirects:.*-[^-]*$folder_name[^-]" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if grep -q "redirects:.*- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" diff --git a/a-b-testing123/rule.md b/a-b-testing123/rule.md new file mode 100644 index 00000000000..0b1c15fe2cf --- /dev/null +++ b/a-b-testing123/rule.md @@ -0,0 +1,45 @@ +--- +type: rule +title: Do you know the best way to do A/B testing? +uri: a-b-testing12345 +redirects: + - a-b-testing1234 +authors: + - title: Piers Sinclair + url: https://www.ssw.com.au/people/piers-sinclair +created: 2022-04-20T05:56:17.498Z +guid: bb49a520-59fa-4190-b19e-b70a6b450975 +--- +A/B Testing is the process of testing different versions of an application on different users to gather empirical evidence to learn which version is better. + +Using A/B Testing enables you to get features tested and when used effectively means that **a bug will never be deployed to 100% of users.** Generally, new features should be tested on 20% of users and rolled out to others once they are reliable. + +`youtube: https://www.youtube.com/embed/v=zFMgpxG-chM` + +**Video: What is A/B Testing? | Data Science in Minutes** + +There are several ways this can be done... + + + +## Feature Flags (Recommended) + +Feature flags are a modern way to toggle features for users. They are essentially a little bit of code that can be turned on and off at will. That means you can choose, when features are deployed and who gets them. + +Feature flags are often implemented by developers writing their own code. However, there are better solutions today: + +* [LaunchDarkly](https://launchdarkly.com/) + + * [Video interview](https://tv.ssw.com/ndc-sydney-2017-ask-me-anything-with-adam-cogan-and-edith-harbaugh-launchdarkly-tripit-devops/) of LaunchDarkly CEO Edith Harbaugh +* [Azure App Configuration](https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview) is the recommended solution and there are some great tutorials that help developers get up and running in minutes: + + * [Use feature filters to enable conditional feature flags](https://docs.microsoft.com/en-us/azure/azure-app-configuration/howto-feature-filters-aspnet-core) + * [Tutorial: Use feature flags in an ASP.NET Core app](https://docs.microsoft.com/en-us/azure/azure-app-configuration/use-feature-flags-dotnet-core) + +## Azure Deployment Slots + +[Azure Deployment Slots](https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots) are another way of doing A/B testing, you essentially deploy 2 versions of your app and then direct traffic to different versions. + +## Azure FrontDoor + +[Azure FrontDoor](https://docs.microsoft.com/en-us/azure/frontdoor/front-door-overview) is an offering that lets developers direct traffic to different versions of an app. From 9ac7e5bbf0cb099e2e6d74b38aa690eb74265703 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:31:23 +0000 Subject: [PATCH 29/52] Rename folder to match URI --- {a-b-testing123 => a-b-testing12345}/rule.md | 1 + 1 file changed, 1 insertion(+) rename {a-b-testing123 => a-b-testing12345}/rule.md (99%) diff --git a/a-b-testing123/rule.md b/a-b-testing12345/rule.md similarity index 99% rename from a-b-testing123/rule.md rename to a-b-testing12345/rule.md index 0b1c15fe2cf..3deceb37bc4 100644 --- a/a-b-testing123/rule.md +++ b/a-b-testing12345/rule.md @@ -3,6 +3,7 @@ type: rule title: Do you know the best way to do A/B testing? uri: a-b-testing12345 redirects: + - a-b-testing123 - a-b-testing1234 authors: - title: Piers Sinclair From 3686ddd2cd97ac5c84c3efe07bc7b01ef2ca56db Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:32:55 +0800 Subject: [PATCH 30/52] ee --- rules/add-redirect-from-http-to-https-for-owa/rule.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/add-redirect-from-http-to-https-for-owa/rule.md b/rules/add-redirect-from-http-to-https-for-owa/rule.md index 7359e09459b..2c71c196a7e 100644 --- a/rules/add-redirect-from-http-to-https-for-owa/rule.md +++ b/rules/add-redirect-from-http-to-https-for-owa/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you add a redirect from http to https for OWA? guid: df2d7b63-316f-4989-912e-09543657f80c -uri: add-redirect-from-http-to-https-for-owa +uri: add-redirect-from-http-to-https-for-owa1 created: 2016-05-02T06:48:16.0000000Z authors: - title: Stanley Sidik @@ -12,6 +12,7 @@ related: [] redirects: - do-you-add-a-redirect-from-http-to-https-for-owa - configure-redirection-to-https-owa +- add-redirect-from-http-to-https-for-owa --- From cea9c859058d31e25053661842174124bb25b2f9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:33:51 +0000 Subject: [PATCH 31/52] Rename folder to match URI --- .../rule.md | 1 + 1 file changed, 1 insertion(+) rename {rules/add-redirect-from-http-to-https-for-owa => add-redirect-from-http-to-https-for-owa1}/rule.md (98%) diff --git a/rules/add-redirect-from-http-to-https-for-owa/rule.md b/add-redirect-from-http-to-https-for-owa1/rule.md similarity index 98% rename from rules/add-redirect-from-http-to-https-for-owa/rule.md rename to add-redirect-from-http-to-https-for-owa1/rule.md index 2c71c196a7e..81332f7e603 100644 --- a/rules/add-redirect-from-http-to-https-for-owa/rule.md +++ b/add-redirect-from-http-to-https-for-owa1/rule.md @@ -10,6 +10,7 @@ authors: url: https://ssw.com.au/people/stanley-sidik related: [] redirects: + - add-redirect-from-http-to-https-for-owa - do-you-add-a-redirect-from-http-to-https-for-owa - configure-redirection-to-https-owa - add-redirect-from-http-to-https-for-owa From beb5db16e28f91e93c86df6ab785ffdd04f5edad Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:41:50 +0800 Subject: [PATCH 32/52] test 2 --- .workflow/rename-folders.sh | 3 ++- rules/404-error-avoid-changing-the-url/rule.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 6ea6e3153a8..080192fad5a 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -15,7 +15,8 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre is_rename=true if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then - if grep -q "redirects:.*- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + # if grep -q "redirects:.*- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + if grep -q "^ *- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else sed -i "/^redirects:/a \ \ - $folder_name" "${GITHUB_WORKSPACE}/$uri/rule.md" diff --git a/rules/404-error-avoid-changing-the-url/rule.md b/rules/404-error-avoid-changing-the-url/rule.md index d72b38293e4..585224a80db 100644 --- a/rules/404-error-avoid-changing-the-url/rule.md +++ b/rules/404-error-avoid-changing-the-url/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you avoid changing the URL on a 404 error? guid: 0d3576ad-6b39-4682-b425-3d68751a100b -uri: 404-error-avoid-changing-the-url +uri: 404-error-avoid-changing-the-url1 created: 2016-08-11T18:08:44.0000000Z authors: - title: Adam Cogan @@ -12,6 +12,7 @@ related: - 404-useful-error-page redirects: - do-you-avoid-changing-the-url-on-a-404-error +- 404-error-avoid-changing-the-url --- From 68da0e9f964b39691b6b8afabf8d7e0b3706a72f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:42:45 +0000 Subject: [PATCH 33/52] Rename folder to match URI --- .../404-good_1710232021928.jpg | Bin .../rule.md | 0 .../url_asp.gif | Bin 3 files changed, 0 insertions(+), 0 deletions(-) rename {rules/404-error-avoid-changing-the-url => 404-error-avoid-changing-the-url1}/404-good_1710232021928.jpg (100%) rename {rules/404-error-avoid-changing-the-url => 404-error-avoid-changing-the-url1}/rule.md (100%) rename {rules/404-error-avoid-changing-the-url => 404-error-avoid-changing-the-url1}/url_asp.gif (100%) diff --git a/rules/404-error-avoid-changing-the-url/404-good_1710232021928.jpg b/404-error-avoid-changing-the-url1/404-good_1710232021928.jpg similarity index 100% rename from rules/404-error-avoid-changing-the-url/404-good_1710232021928.jpg rename to 404-error-avoid-changing-the-url1/404-good_1710232021928.jpg diff --git a/rules/404-error-avoid-changing-the-url/rule.md b/404-error-avoid-changing-the-url1/rule.md similarity index 100% rename from rules/404-error-avoid-changing-the-url/rule.md rename to 404-error-avoid-changing-the-url1/rule.md diff --git a/rules/404-error-avoid-changing-the-url/url_asp.gif b/404-error-avoid-changing-the-url1/url_asp.gif similarity index 100% rename from rules/404-error-avoid-changing-the-url/url_asp.gif rename to 404-error-avoid-changing-the-url1/url_asp.gif From 4131095a1502d1bba83a9a2cf1c2470bc31de6fc Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:44:07 +0800 Subject: [PATCH 34/52] test 2-3 --- 404-error-avoid-changing-the-url1/rule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/404-error-avoid-changing-the-url1/rule.md b/404-error-avoid-changing-the-url1/rule.md index 585224a80db..089eaecb630 100644 --- a/404-error-avoid-changing-the-url1/rule.md +++ b/404-error-avoid-changing-the-url1/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you avoid changing the URL on a 404 error? guid: 0d3576ad-6b39-4682-b425-3d68751a100b -uri: 404-error-avoid-changing-the-url1 +uri: 404-error-avoid-changing-the-url12 created: 2016-08-11T18:08:44.0000000Z authors: - title: Adam Cogan From 895149a91d3bbd0f90def4d61bc6530d802b8f59 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:45:01 +0000 Subject: [PATCH 35/52] Rename folder to match URI --- .../404-good_1710232021928.jpg | Bin .../rule.md | 1 + .../url_asp.gif | Bin 3 files changed, 1 insertion(+) rename {404-error-avoid-changing-the-url1 => 404-error-avoid-changing-the-url12}/404-good_1710232021928.jpg (100%) rename {404-error-avoid-changing-the-url1 => 404-error-avoid-changing-the-url12}/rule.md (98%) rename {404-error-avoid-changing-the-url1 => 404-error-avoid-changing-the-url12}/url_asp.gif (100%) diff --git a/404-error-avoid-changing-the-url1/404-good_1710232021928.jpg b/404-error-avoid-changing-the-url12/404-good_1710232021928.jpg similarity index 100% rename from 404-error-avoid-changing-the-url1/404-good_1710232021928.jpg rename to 404-error-avoid-changing-the-url12/404-good_1710232021928.jpg diff --git a/404-error-avoid-changing-the-url1/rule.md b/404-error-avoid-changing-the-url12/rule.md similarity index 98% rename from 404-error-avoid-changing-the-url1/rule.md rename to 404-error-avoid-changing-the-url12/rule.md index 089eaecb630..cb2952fa38d 100644 --- a/404-error-avoid-changing-the-url1/rule.md +++ b/404-error-avoid-changing-the-url12/rule.md @@ -11,6 +11,7 @@ authors: related: - 404-useful-error-page redirects: + - 404-error-avoid-changing-the-url1 - do-you-avoid-changing-the-url-on-a-404-error - 404-error-avoid-changing-the-url diff --git a/404-error-avoid-changing-the-url1/url_asp.gif b/404-error-avoid-changing-the-url12/url_asp.gif similarity index 100% rename from 404-error-avoid-changing-the-url1/url_asp.gif rename to 404-error-avoid-changing-the-url12/url_asp.gif From 2e54c2df38aa334c2767e6cf11c2fc92374651f8 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:48:21 +0800 Subject: [PATCH 36/52] test 4 --- .../13_Anvil_1408_Customer.pdf | Bin .../DevsAndUsers.jpg | Bin .../acceptance-criteria-detail.jpg | Bin .../acceptance-criteria-discussion.png | Bin .../acceptance-criteria.jpg | Bin .../rule.md | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) rename rules/{acceptance-criteria => acceptance-criteria1}/13_Anvil_1408_Customer.pdf (100%) rename rules/{acceptance-criteria => acceptance-criteria1}/DevsAndUsers.jpg (100%) rename rules/{acceptance-criteria => acceptance-criteria1}/acceptance-criteria-detail.jpg (100%) rename rules/{acceptance-criteria => acceptance-criteria1}/acceptance-criteria-discussion.png (100%) rename rules/{acceptance-criteria => acceptance-criteria1}/acceptance-criteria.jpg (100%) rename rules/{acceptance-criteria => acceptance-criteria1}/rule.md (99%) diff --git a/rules/acceptance-criteria/13_Anvil_1408_Customer.pdf b/rules/acceptance-criteria1/13_Anvil_1408_Customer.pdf similarity index 100% rename from rules/acceptance-criteria/13_Anvil_1408_Customer.pdf rename to rules/acceptance-criteria1/13_Anvil_1408_Customer.pdf diff --git a/rules/acceptance-criteria/DevsAndUsers.jpg b/rules/acceptance-criteria1/DevsAndUsers.jpg similarity index 100% rename from rules/acceptance-criteria/DevsAndUsers.jpg rename to rules/acceptance-criteria1/DevsAndUsers.jpg diff --git a/rules/acceptance-criteria/acceptance-criteria-detail.jpg b/rules/acceptance-criteria1/acceptance-criteria-detail.jpg similarity index 100% rename from rules/acceptance-criteria/acceptance-criteria-detail.jpg rename to rules/acceptance-criteria1/acceptance-criteria-detail.jpg diff --git a/rules/acceptance-criteria/acceptance-criteria-discussion.png b/rules/acceptance-criteria1/acceptance-criteria-discussion.png similarity index 100% rename from rules/acceptance-criteria/acceptance-criteria-discussion.png rename to rules/acceptance-criteria1/acceptance-criteria-discussion.png diff --git a/rules/acceptance-criteria/acceptance-criteria.jpg b/rules/acceptance-criteria1/acceptance-criteria.jpg similarity index 100% rename from rules/acceptance-criteria/acceptance-criteria.jpg rename to rules/acceptance-criteria1/acceptance-criteria.jpg diff --git a/rules/acceptance-criteria/rule.md b/rules/acceptance-criteria1/rule.md similarity index 99% rename from rules/acceptance-criteria/rule.md rename to rules/acceptance-criteria1/rule.md index 565c8866949..a570b18a6a3 100644 --- a/rules/acceptance-criteria/rule.md +++ b/rules/acceptance-criteria1/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do your User Stories include Acceptance Criteria? -uri: acceptance-criteria +uri: acceptance-criteria1 authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan From a71535d7d991f76db34ba6a547491714846d31c4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:49:34 +0000 Subject: [PATCH 37/52] Auto-fix Markdown files --- 404-error-avoid-changing-the-url12/rule.md | 5 +++-- rules/acceptance-criteria1/rule.md | 15 +++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/404-error-avoid-changing-the-url12/rule.md b/404-error-avoid-changing-the-url12/rule.md index cb2952fa38d..f4b0686dd82 100644 --- a/404-error-avoid-changing-the-url12/rule.md +++ b/404-error-avoid-changing-the-url12/rule.md @@ -17,7 +17,7 @@ redirects: --- -When you request a URL of a file that doesn't exist, you will get an error message. You should make sure that the URL in the browser doesn't change. This way, it's easy for the user to correct. +When you request a URL of a file that doesn't exist, you will get an error message. You should make sure that the URL in the browser doesn't change. This way, it's easy for the user to correct. E.g. The user doesn't have to retype the whole URL if there is a spelling mistake or a forgotten/mixed up letter. @@ -51,4 +51,5 @@ To show the customized error page while not change the original URL, you can use ``` cs Server.Transfer("/ssw/ErrorPage.aspx") ``` -**Figure: Custom error page handler in Global.asax** + +**Figure: Custom error page handler in Global.asax** diff --git a/rules/acceptance-criteria1/rule.md b/rules/acceptance-criteria1/rule.md index a570b18a6a3..5f48a11657c 100644 --- a/rules/acceptance-criteria1/rule.md +++ b/rules/acceptance-criteria1/rule.md @@ -23,7 +23,7 @@ guid: dbe9010e-da5b-4617-8ff3-0e1e5fdc7772 --- User Stories are a great way to capture requirements, but it can be difficult to work out when the implementation of a story is complete. -**Acceptance Criteria** (from the Product Owner) help to answer the question *"How will I know when I'm done with this User Story?".* It +**Acceptance Criteria** (from the Product Owner) help to answer the question *"How will I know when I'm done with this User Story?".* It defines the exact requirements that must be met for the User Story to be completed. @@ -45,10 +45,11 @@ They must be specified in the Acceptance Criteria if required for the story to b When I enter ‘Adam’ in the search box and click 'Search' I will see all entries starting with 'Adam' in the grid ::: ::: bad -Figure: Bad example of Acceptance Criteria - Incomplete +Figure: Bad example of Acceptance Criteria - Incomplete ::: ::: greybox + * When I enter ‘Adam’ in the Search box and click ‘Search’ I will see all entries starting with Adam in the Grid * When I enter ‘zzz’ in the Search box and click ‘Search’ I will see **no** entries in the Grid ::: @@ -57,6 +58,7 @@ Figure: OK example of Acceptance Criteria - However the Product Owner probably h ::: ::: greybox + * When I enter ‘Adam’ in the Search box and click ‘Search’ I will see all entries starting with Adam in the Grid * When I enter ‘zzz’ in the Search box and click ‘Search’ I will see **no** entries in the Grid * If no results are returned, show a message box ‘No results found’ @@ -70,7 +72,7 @@ Figure: Good example of Acceptance Criteria ::: info **Note:** For tiny User Stories, you can omit Acceptance Criteria. Sometimes you just need a **screenshot** or, even better, a **video**. -Be mindful that such small User Stories are the exception and not the rule when it comes to the need for Acceptance Criteria. +Be mindful that such small User Stories are the exception and not the rule when it comes to the need for Acceptance Criteria. ::: ### Negotiating "gold plating" @@ -82,6 +84,7 @@ Any requirements that the Product Owner considers "nice to have" - as opposed to ::: ### Technical Acceptance Criteria + Sometimes, the team may discuss including technical requirements in Acceptance Criteria. Typically, technical Acceptance Criteria should be avoided. However, there are some situations where it makes sense, such as when: * The team is trying out something new @@ -108,7 +111,7 @@ It is good practice to make sure that each of the Acceptance Criteria is **testa Acceptance Criteria help to answer the question *"How will I know when I'm done with this User Story?"*. **The Acceptance Criteria are different for each User Story**, provided by the Product Owner and used as a way to communicate to all involved that the requirements for a particular User Story have been met. -The [Definition of Done](/definition-of-done) is a structured list of items, each one used to validate a User Story, which exists to ensure that the team agrees about the quality of work they’re producing. It is defined by the team and serves as a checklist that is used to check each User Story for completeness. **The definition of "Done" is intended to be applicable to all items in the Product Backlog**, not just a single User Story. +The [Definition of Done](/definition-of-done) is a structured list of items, each one used to validate a User Story, which exists to ensure that the team agrees about the quality of work they’re producing. It is defined by the team and serves as a checklist that is used to check each User Story for completeness. **The definition of "Done" is intended to be applicable to all items in the Product Backlog**, not just a single User Story. Examples of items in a Definition of Done that would **not** be part of Acceptance Criteria include: @@ -116,13 +119,13 @@ Examples of items in a Definition of Done that would **not** be part of Acceptan * Unit tests passed * Code deployed to production -::: info +::: info The term "Definition of Done" is defined in the Scrum Guide, while "Acceptance Criteria" is not. ::: ### Capture changes to the PBI from discussions -The Acceptance Criteria are the source of truth for what functionality needs to be implemented for the PBI to be considered complete, so it's important to capture any changes to the PBI and the Acceptance Criteria (e.g. adding or removing "nice to have" aspects of the story). +The Acceptance Criteria are the source of truth for what functionality needs to be implemented for the PBI to be considered complete, so it's important to capture any changes to the PBI and the Acceptance Criteria (e.g. adding or removing "nice to have" aspects of the story). Any discussion that changes the story and/or the Acceptance Criteria should be noted in the Discussion section of the PBI for reference. From cabf65aac56e6c64c1acf3642d17f33e52ce4d67 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:51:35 +0800 Subject: [PATCH 38/52] test 4 --- .../13_Anvil_1408_Customer.pdf | Bin .../DevsAndUsers.jpg | Bin .../acceptance-criteria-detail.jpg | Bin .../acceptance-criteria-discussion.png | Bin .../acceptance-criteria.jpg | Bin .../rule.md | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) rename rules/{acceptance-criteria1 => acceptance-criteria12}/13_Anvil_1408_Customer.pdf (100%) rename rules/{acceptance-criteria1 => acceptance-criteria12}/DevsAndUsers.jpg (100%) rename rules/{acceptance-criteria1 => acceptance-criteria12}/acceptance-criteria-detail.jpg (100%) rename rules/{acceptance-criteria1 => acceptance-criteria12}/acceptance-criteria-discussion.png (100%) rename rules/{acceptance-criteria1 => acceptance-criteria12}/acceptance-criteria.jpg (100%) rename rules/{acceptance-criteria1 => acceptance-criteria12}/rule.md (99%) diff --git a/rules/acceptance-criteria1/13_Anvil_1408_Customer.pdf b/rules/acceptance-criteria12/13_Anvil_1408_Customer.pdf similarity index 100% rename from rules/acceptance-criteria1/13_Anvil_1408_Customer.pdf rename to rules/acceptance-criteria12/13_Anvil_1408_Customer.pdf diff --git a/rules/acceptance-criteria1/DevsAndUsers.jpg b/rules/acceptance-criteria12/DevsAndUsers.jpg similarity index 100% rename from rules/acceptance-criteria1/DevsAndUsers.jpg rename to rules/acceptance-criteria12/DevsAndUsers.jpg diff --git a/rules/acceptance-criteria1/acceptance-criteria-detail.jpg b/rules/acceptance-criteria12/acceptance-criteria-detail.jpg similarity index 100% rename from rules/acceptance-criteria1/acceptance-criteria-detail.jpg rename to rules/acceptance-criteria12/acceptance-criteria-detail.jpg diff --git a/rules/acceptance-criteria1/acceptance-criteria-discussion.png b/rules/acceptance-criteria12/acceptance-criteria-discussion.png similarity index 100% rename from rules/acceptance-criteria1/acceptance-criteria-discussion.png rename to rules/acceptance-criteria12/acceptance-criteria-discussion.png diff --git a/rules/acceptance-criteria1/acceptance-criteria.jpg b/rules/acceptance-criteria12/acceptance-criteria.jpg similarity index 100% rename from rules/acceptance-criteria1/acceptance-criteria.jpg rename to rules/acceptance-criteria12/acceptance-criteria.jpg diff --git a/rules/acceptance-criteria1/rule.md b/rules/acceptance-criteria12/rule.md similarity index 99% rename from rules/acceptance-criteria1/rule.md rename to rules/acceptance-criteria12/rule.md index a570b18a6a3..2b73dfc2c70 100644 --- a/rules/acceptance-criteria1/rule.md +++ b/rules/acceptance-criteria12/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do your User Stories include Acceptance Criteria? -uri: acceptance-criteria1 +uri: acceptance-criteria12 authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan From 225c70372fd3e61ba2f82d8738500263275fd123 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 17:53:53 +0800 Subject: [PATCH 39/52] test 1 --- rules/add-quality-control-to-dones/rule.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/add-quality-control-to-dones/rule.md b/rules/add-quality-control-to-dones/rule.md index ed6fa41b50e..954a760e979 100644 --- a/rules/add-quality-control-to-dones/rule.md +++ b/rules/add-quality-control-to-dones/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: Merged to [https://ssw.com.au/rules/checked-by-xxx](/rules/checked-by-xxx) title: Dones - Do you show quality control with "Checked by xxx"? guid: 9e0e6476-651a-4271-95b0-e7169eba1607 -uri: add-quality-control-to-dones +uri: add-quality-control-to-dones1 created: 2009-04-08T09:31:23.0000000Z authors: - title: Adam Cogan @@ -14,6 +14,7 @@ related: [] redirects: - dones-do-you-add-(or-show)-your-quality-control - dones-do-you-show-quality-control-with-checked-by-xxx +- add-quality-control-to-dones --- From 0b1365962ef7945cbb82bfe7d942d28b55edc260 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 09:54:51 +0000 Subject: [PATCH 40/52] Rename folder to match URI --- .../SpellAndLinkCheck.jpg | Bin .../rule.md | 0 .../ruleDoneCheckedBy.png | Bin 3 files changed, 0 insertions(+), 0 deletions(-) rename {rules/add-quality-control-to-dones => add-quality-control-to-dones1}/SpellAndLinkCheck.jpg (100%) rename {rules/add-quality-control-to-dones => add-quality-control-to-dones1}/rule.md (100%) rename {rules/add-quality-control-to-dones => add-quality-control-to-dones1}/ruleDoneCheckedBy.png (100%) diff --git a/rules/add-quality-control-to-dones/SpellAndLinkCheck.jpg b/add-quality-control-to-dones1/SpellAndLinkCheck.jpg similarity index 100% rename from rules/add-quality-control-to-dones/SpellAndLinkCheck.jpg rename to add-quality-control-to-dones1/SpellAndLinkCheck.jpg diff --git a/rules/add-quality-control-to-dones/rule.md b/add-quality-control-to-dones1/rule.md similarity index 100% rename from rules/add-quality-control-to-dones/rule.md rename to add-quality-control-to-dones1/rule.md diff --git a/rules/add-quality-control-to-dones/ruleDoneCheckedBy.png b/add-quality-control-to-dones1/ruleDoneCheckedBy.png similarity index 100% rename from rules/add-quality-control-to-dones/ruleDoneCheckedBy.png rename to add-quality-control-to-dones1/ruleDoneCheckedBy.png From 4e993d920959652374fd0dc435ac463146359f70 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Mon, 13 May 2024 18:05:41 +0800 Subject: [PATCH 41/52] test 123 --- rules/add-a-comment-when-you-use-thread-sleep/rule.md | 3 ++- .../rule.md | 2 +- rules/add-a-featured-image-to-your-blog-post/rule.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rules/add-a-comment-when-you-use-thread-sleep/rule.md b/rules/add-a-comment-when-you-use-thread-sleep/rule.md index 93331d9a84e..b6dce5f0cab 100644 --- a/rules/add-a-comment-when-you-use-thread-sleep/rule.md +++ b/rules/add-a-comment-when-you-use-thread-sleep/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Comments - Do you add a comment when you use Thread.Sleep? guid: 34e9cb81-73a3-4d80-ad1b-141bc19eb37f -uri: add-a-comment-when-you-use-thread-sleep +uri: add-a-comment-when-you-use-thread-sleep2 created: 2018-04-26T22:00:01.0000000Z authors: - title: Adam Cogan @@ -11,6 +11,7 @@ authors: related: [] redirects: - comments-do-you-add-a-comment-when-you-use-thread-sleep +- add-a-comment-when-you-use-thread-sleep --- diff --git a/rules/add-a-customized-column-in-grid-if-there-are-default-values/rule.md b/rules/add-a-customized-column-in-grid-if-there-are-default-values/rule.md index 46725e6eec5..ac47f67e8cd 100644 --- a/rules/add-a-customized-column-in-grid-if-there-are-default-values/rule.md +++ b/rules/add-a-customized-column-in-grid-if-there-are-default-values/rule.md @@ -1,7 +1,7 @@ --- type: rule title: Do you add a "(customized)" column in grid if there are default values? -uri: add-a-customized-column-in-grid-if-there-are-default-values +uri: add-a-customized-column-in-grid-if-there-are-default-values3 authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan/ diff --git a/rules/add-a-featured-image-to-your-blog-post/rule.md b/rules/add-a-featured-image-to-your-blog-post/rule.md index 3919bd447cf..3fc6201026a 100644 --- a/rules/add-a-featured-image-to-your-blog-post/rule.md +++ b/rules/add-a-featured-image-to-your-blog-post/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you add a featured image to your blog post? guid: 70b94631-7f63-4209-87f1-9f854ba8db38 -uri: add-a-featured-image-to-your-blog-post +uri: add-a-featured-image-to-your-blog-post2 created: 2018-04-03T23:31:26.0000000Z authors: - title: Adam Cogan From 09af1aead31654071ff4752e7a8b36e5752673e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 May 2024 10:06:43 +0000 Subject: [PATCH 42/52] Rename folder to match URI --- .../rule.md | 0 .../badexampleforcustomizedcolumn.gif | Bin .../goodexampleforcustomizedcolumn.gif | Bin .../rule.md | 2 ++ .../blog-no-feat-image.jpg | Bin .../blog-with-feat-image.jpg | Bin .../rule.md | 1 + 7 files changed, 3 insertions(+) rename {rules/add-a-comment-when-you-use-thread-sleep => add-a-comment-when-you-use-thread-sleep2}/rule.md (100%) rename {rules/add-a-customized-column-in-grid-if-there-are-default-values => add-a-customized-column-in-grid-if-there-are-default-values3}/badexampleforcustomizedcolumn.gif (100%) rename {rules/add-a-customized-column-in-grid-if-there-are-default-values => add-a-customized-column-in-grid-if-there-are-default-values3}/goodexampleforcustomizedcolumn.gif (100%) rename {rules/add-a-customized-column-in-grid-if-there-are-default-values => add-a-customized-column-in-grid-if-there-are-default-values3}/rule.md (91%) rename {rules/add-a-featured-image-to-your-blog-post => add-a-featured-image-to-your-blog-post2}/blog-no-feat-image.jpg (100%) rename {rules/add-a-featured-image-to-your-blog-post => add-a-featured-image-to-your-blog-post2}/blog-with-feat-image.jpg (100%) rename {rules/add-a-featured-image-to-your-blog-post => add-a-featured-image-to-your-blog-post2}/rule.md (94%) diff --git a/rules/add-a-comment-when-you-use-thread-sleep/rule.md b/add-a-comment-when-you-use-thread-sleep2/rule.md similarity index 100% rename from rules/add-a-comment-when-you-use-thread-sleep/rule.md rename to add-a-comment-when-you-use-thread-sleep2/rule.md diff --git a/rules/add-a-customized-column-in-grid-if-there-are-default-values/badexampleforcustomizedcolumn.gif b/add-a-customized-column-in-grid-if-there-are-default-values3/badexampleforcustomizedcolumn.gif similarity index 100% rename from rules/add-a-customized-column-in-grid-if-there-are-default-values/badexampleforcustomizedcolumn.gif rename to add-a-customized-column-in-grid-if-there-are-default-values3/badexampleforcustomizedcolumn.gif diff --git a/rules/add-a-customized-column-in-grid-if-there-are-default-values/goodexampleforcustomizedcolumn.gif b/add-a-customized-column-in-grid-if-there-are-default-values3/goodexampleforcustomizedcolumn.gif similarity index 100% rename from rules/add-a-customized-column-in-grid-if-there-are-default-values/goodexampleforcustomizedcolumn.gif rename to add-a-customized-column-in-grid-if-there-are-default-values3/goodexampleforcustomizedcolumn.gif diff --git a/rules/add-a-customized-column-in-grid-if-there-are-default-values/rule.md b/add-a-customized-column-in-grid-if-there-are-default-values3/rule.md similarity index 91% rename from rules/add-a-customized-column-in-grid-if-there-are-default-values/rule.md rename to add-a-customized-column-in-grid-if-there-are-default-values3/rule.md index ac47f67e8cd..7e4696fc0df 100644 --- a/rules/add-a-customized-column-in-grid-if-there-are-default-values/rule.md +++ b/add-a-customized-column-in-grid-if-there-are-default-values3/rule.md @@ -2,6 +2,8 @@ type: rule title: Do you add a "(customized)" column in grid if there are default values? uri: add-a-customized-column-in-grid-if-there-are-default-values3 +redirects: + - add-a-customized-column-in-grid-if-there-are-default-values authors: - title: Adam Cogan url: https://ssw.com.au/people/adam-cogan/ diff --git a/rules/add-a-featured-image-to-your-blog-post/blog-no-feat-image.jpg b/add-a-featured-image-to-your-blog-post2/blog-no-feat-image.jpg similarity index 100% rename from rules/add-a-featured-image-to-your-blog-post/blog-no-feat-image.jpg rename to add-a-featured-image-to-your-blog-post2/blog-no-feat-image.jpg diff --git a/rules/add-a-featured-image-to-your-blog-post/blog-with-feat-image.jpg b/add-a-featured-image-to-your-blog-post2/blog-with-feat-image.jpg similarity index 100% rename from rules/add-a-featured-image-to-your-blog-post/blog-with-feat-image.jpg rename to add-a-featured-image-to-your-blog-post2/blog-with-feat-image.jpg diff --git a/rules/add-a-featured-image-to-your-blog-post/rule.md b/add-a-featured-image-to-your-blog-post2/rule.md similarity index 94% rename from rules/add-a-featured-image-to-your-blog-post/rule.md rename to add-a-featured-image-to-your-blog-post2/rule.md index 3fc6201026a..42049cf18c2 100644 --- a/rules/add-a-featured-image-to-your-blog-post/rule.md +++ b/add-a-featured-image-to-your-blog-post2/rule.md @@ -10,6 +10,7 @@ authors: url: https://ssw.com.au/people/adam-cogan related: [] redirects: + - add-a-featured-image-to-your-blog-post - do-you-add-a-featured-image-to-your-blog-post --- From c94a4b05d6267c5982fb5344aad1836778dc8340 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Tue, 14 May 2024 09:43:17 +0800 Subject: [PATCH 43/52] test array --- .workflow/rename-folders.sh | 5 +++++ rules/add-a-description-to-github-repositories/rule.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 080192fad5a..0984aeef179 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -16,6 +16,11 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then # if grep -q "redirects:.*- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + + if grep -q "^redirects: \[\]$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + sed -i "/^redirects: \[\]$/d" "${GITHUB_WORKSPACE}/$uri/rule.md" + fi + if grep -q "^ *- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else diff --git a/rules/add-a-description-to-github-repositories/rule.md b/rules/add-a-description-to-github-repositories/rule.md index 21463b209be..cb0fb22ce25 100644 --- a/rules/add-a-description-to-github-repositories/rule.md +++ b/rules/add-a-description-to-github-repositories/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you add a description to your GitHub repositories? guid: 1c244aed-36dd-48c5-9232-1b02f2ca90e3 -uri: add-a-description-to-github-repositories +uri: add-a-description-to-github-repositories2 created: 2021-05-19T05:09:16.0000000Z authors: - title: Brady Stroud From bc1f2d4d094427e1b79f7b0d637fdb29754b2b9e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 May 2024 01:44:49 +0000 Subject: [PATCH 44/52] Rename folder to match URI --- .../bad-no-description.png | Bin .../good-nice-description.png | Bin .../rule.md | 1 - 3 files changed, 1 deletion(-) rename {rules/add-a-description-to-github-repositories => add-a-description-to-github-repositories2}/bad-no-description.png (100%) rename {rules/add-a-description-to-github-repositories => add-a-description-to-github-repositories2}/good-nice-description.png (100%) rename {rules/add-a-description-to-github-repositories => add-a-description-to-github-repositories2}/rule.md (97%) diff --git a/rules/add-a-description-to-github-repositories/bad-no-description.png b/add-a-description-to-github-repositories2/bad-no-description.png similarity index 100% rename from rules/add-a-description-to-github-repositories/bad-no-description.png rename to add-a-description-to-github-repositories2/bad-no-description.png diff --git a/rules/add-a-description-to-github-repositories/good-nice-description.png b/add-a-description-to-github-repositories2/good-nice-description.png similarity index 100% rename from rules/add-a-description-to-github-repositories/good-nice-description.png rename to add-a-description-to-github-repositories2/good-nice-description.png diff --git a/rules/add-a-description-to-github-repositories/rule.md b/add-a-description-to-github-repositories2/rule.md similarity index 97% rename from rules/add-a-description-to-github-repositories/rule.md rename to add-a-description-to-github-repositories2/rule.md index cb0fb22ce25..0955557c187 100644 --- a/rules/add-a-description-to-github-repositories/rule.md +++ b/add-a-description-to-github-repositories2/rule.md @@ -10,7 +10,6 @@ authors: url: https://ssw.com.au/people/brady-stroud related: - do-you-know-how-to-name-a-github-repository -redirects: [] --- From 2941e2c4a9605dae8202b647d73afde1f3afb470 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Tue, 14 May 2024 09:58:13 +0800 Subject: [PATCH 45/52] test array -2 --- .workflow/rename-folders.sh | 9 ++++----- add-a-description-to-github-repositories2/rule.md | 3 ++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.workflow/rename-folders.sh b/.workflow/rename-folders.sh index 0984aeef179..0695119e22c 100644 --- a/.workflow/rename-folders.sh +++ b/.workflow/rename-folders.sh @@ -14,13 +14,12 @@ for rule_file in $(git diff --name-only $(git merge-base origin/main HEAD) | gre mv "${GITHUB_WORKSPACE}/$folder_path" "${GITHUB_WORKSPACE}/$uri" is_rename=true + if grep -q "^redirects: \[\]$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then + sed -i "/^redirects: \[\]$/d" "${GITHUB_WORKSPACE}/$uri/rule.md" + fi + if grep -q '^redirects:' "${GITHUB_WORKSPACE}/$uri/rule.md"; then # if grep -q "redirects:.*- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then - - if grep -q "^redirects: \[\]$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then - sed -i "/^redirects: \[\]$/d" "${GITHUB_WORKSPACE}/$uri/rule.md" - fi - if grep -q "^ *- $folder_name$" "${GITHUB_WORKSPACE}/$uri/rule.md"; then echo "Old folder name is already in redirects" else diff --git a/add-a-description-to-github-repositories2/rule.md b/add-a-description-to-github-repositories2/rule.md index 0955557c187..e1b3ac158bb 100644 --- a/add-a-description-to-github-repositories2/rule.md +++ b/add-a-description-to-github-repositories2/rule.md @@ -3,13 +3,14 @@ type: rule archivedreason: title: Do you add a description to your GitHub repositories? guid: 1c244aed-36dd-48c5-9232-1b02f2ca90e3 -uri: add-a-description-to-github-repositories2 +uri: add-a-description-to-github-repositories22 created: 2021-05-19T05:09:16.0000000Z authors: - title: Brady Stroud url: https://ssw.com.au/people/brady-stroud related: - do-you-know-how-to-name-a-github-repository +redirects: [] --- From cf81b3f4f41a78a82a08a6aa67c5197813b7634a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 May 2024 01:59:08 +0000 Subject: [PATCH 46/52] Rename folder to match URI --- .../bad-no-description.png | Bin .../good-nice-description.png | Bin .../rule.md | 3 ++- 3 files changed, 2 insertions(+), 1 deletion(-) rename {add-a-description-to-github-repositories2 => add-a-description-to-github-repositories22}/bad-no-description.png (100%) rename {add-a-description-to-github-repositories2 => add-a-description-to-github-repositories22}/good-nice-description.png (100%) rename {add-a-description-to-github-repositories2 => add-a-description-to-github-repositories22}/rule.md (92%) diff --git a/add-a-description-to-github-repositories2/bad-no-description.png b/add-a-description-to-github-repositories22/bad-no-description.png similarity index 100% rename from add-a-description-to-github-repositories2/bad-no-description.png rename to add-a-description-to-github-repositories22/bad-no-description.png diff --git a/add-a-description-to-github-repositories2/good-nice-description.png b/add-a-description-to-github-repositories22/good-nice-description.png similarity index 100% rename from add-a-description-to-github-repositories2/good-nice-description.png rename to add-a-description-to-github-repositories22/good-nice-description.png diff --git a/add-a-description-to-github-repositories2/rule.md b/add-a-description-to-github-repositories22/rule.md similarity index 92% rename from add-a-description-to-github-repositories2/rule.md rename to add-a-description-to-github-repositories22/rule.md index e1b3ac158bb..a99be91a62a 100644 --- a/add-a-description-to-github-repositories2/rule.md +++ b/add-a-description-to-github-repositories22/rule.md @@ -4,13 +4,14 @@ archivedreason: title: Do you add a description to your GitHub repositories? guid: 1c244aed-36dd-48c5-9232-1b02f2ca90e3 uri: add-a-description-to-github-repositories22 +redirects: + - add-a-description-to-github-repositories2 created: 2021-05-19T05:09:16.0000000Z authors: - title: Brady Stroud url: https://ssw.com.au/people/brady-stroud related: - do-you-know-how-to-name-a-github-repository -redirects: [] --- From 2471ba0a42367c56cfb640dbcb6276e9ae27da8e Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Tue, 14 May 2024 10:00:41 +0800 Subject: [PATCH 47/52] test --- add-a-description-to-github-repositories22/rule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add-a-description-to-github-repositories22/rule.md b/add-a-description-to-github-repositories22/rule.md index a99be91a62a..50e64204507 100644 --- a/add-a-description-to-github-repositories22/rule.md +++ b/add-a-description-to-github-repositories22/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you add a description to your GitHub repositories? guid: 1c244aed-36dd-48c5-9232-1b02f2ca90e3 -uri: add-a-description-to-github-repositories22 +uri: add-a-description-to-github-repositories22-t redirects: - add-a-description-to-github-repositories2 created: 2021-05-19T05:09:16.0000000Z From e50ec8c35ced326a05e08b8429618b3c162fe971 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 May 2024 02:01:38 +0000 Subject: [PATCH 48/52] Rename folder to match URI --- .../bad-no-description.png | Bin .../good-nice-description.png | Bin .../rule.md | 1 + 3 files changed, 1 insertion(+) rename {add-a-description-to-github-repositories22 => add-a-description-to-github-repositories22-t}/bad-no-description.png (100%) rename {add-a-description-to-github-repositories22 => add-a-description-to-github-repositories22-t}/good-nice-description.png (100%) rename {add-a-description-to-github-repositories22 => add-a-description-to-github-repositories22-t}/rule.md (94%) diff --git a/add-a-description-to-github-repositories22/bad-no-description.png b/add-a-description-to-github-repositories22-t/bad-no-description.png similarity index 100% rename from add-a-description-to-github-repositories22/bad-no-description.png rename to add-a-description-to-github-repositories22-t/bad-no-description.png diff --git a/add-a-description-to-github-repositories22/good-nice-description.png b/add-a-description-to-github-repositories22-t/good-nice-description.png similarity index 100% rename from add-a-description-to-github-repositories22/good-nice-description.png rename to add-a-description-to-github-repositories22-t/good-nice-description.png diff --git a/add-a-description-to-github-repositories22/rule.md b/add-a-description-to-github-repositories22-t/rule.md similarity index 94% rename from add-a-description-to-github-repositories22/rule.md rename to add-a-description-to-github-repositories22-t/rule.md index 50e64204507..606bdf252b8 100644 --- a/add-a-description-to-github-repositories22/rule.md +++ b/add-a-description-to-github-repositories22-t/rule.md @@ -5,6 +5,7 @@ title: Do you add a description to your GitHub repositories? guid: 1c244aed-36dd-48c5-9232-1b02f2ca90e3 uri: add-a-description-to-github-repositories22-t redirects: + - add-a-description-to-github-repositories22 - add-a-description-to-github-repositories2 created: 2021-05-19T05:09:16.0000000Z authors: From df7f845e0124e56d4fe5454e720d4a0659980ec1 Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Tue, 14 May 2024 11:48:20 +0800 Subject: [PATCH 49/52] ee --- .github/workflows/rename-folder.yml | 1 - .../rule.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/rename-folder.yml b/.github/workflows/rename-folder.yml index 24bc38f2050..24f7af200b5 100644 --- a/.github/workflows/rename-folder.yml +++ b/.github/workflows/rename-folder.yml @@ -50,7 +50,6 @@ jobs: id: rename_folders if: steps.check_modified.outputs.modified == 'true' run: | - # chmod +x .workflow/rename-folders.sh sh .workflow/rename-folders.sh - name: Commit and push changes diff --git a/rules/add-local-configuration-file-for-developer-specific-settings/rule.md b/rules/add-local-configuration-file-for-developer-specific-settings/rule.md index 7e70c90d4e5..9eb8d36e7ef 100644 --- a/rules/add-local-configuration-file-for-developer-specific-settings/rule.md +++ b/rules/add-local-configuration-file-for-developer-specific-settings/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you add a local configuration file for developer-specific settings? guid: 3687d1f8-1a96-476c-898e-a363fa4ae599 -uri: add-local-configuration-file-for-developer-specific-settings +uri: add-local-configuration-file-for-developer-specific-settings22 created: 2019-01-11T19:45:12.0000000Z authors: - title: Adam Cogan From 1312ef35170ec0b3730909d496da38aef5ce755b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 May 2024 03:49:18 +0000 Subject: [PATCH 50/52] Auto-fix Markdown files --- add-a-featured-image-to-your-blog-post2/rule.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/add-a-featured-image-to-your-blog-post2/rule.md b/add-a-featured-image-to-your-blog-post2/rule.md index 42049cf18c2..333f074a5d6 100644 --- a/add-a-featured-image-to-your-blog-post2/rule.md +++ b/add-a-featured-image-to-your-blog-post2/rule.md @@ -19,12 +19,10 @@ A relevant featured image is a great way to add a splash of color to your blog a - ::: bad ![Figure: Bad Example – the content might be interesting but it is not very appealing](blog-no-feat-image.jpg) ::: - ::: good ![Figure: Good Example – the content is more appealing](blog-with-feat-image.jpg) ::: From 2a499dcbb26038f113e497027031d59e3fafe7fe Mon Sep 17 00:00:00 2001 From: ChloeLin Date: Tue, 14 May 2024 11:50:39 +0800 Subject: [PATCH 51/52] tt --- .../rule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/add-local-configuration-file-for-developer-specific-settings/rule.md b/rules/add-local-configuration-file-for-developer-specific-settings/rule.md index 9eb8d36e7ef..3b5f362fca1 100644 --- a/rules/add-local-configuration-file-for-developer-specific-settings/rule.md +++ b/rules/add-local-configuration-file-for-developer-specific-settings/rule.md @@ -3,7 +3,7 @@ type: rule archivedreason: title: Do you add a local configuration file for developer-specific settings? guid: 3687d1f8-1a96-476c-898e-a363fa4ae599 -uri: add-local-configuration-file-for-developer-specific-settings22 +uri: add-local-configuration-file-for-developer-specific-settings222 created: 2019-01-11T19:45:12.0000000Z authors: - title: Adam Cogan From f7a13653bb613932160a52963445bdecedd9d67e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 May 2024 03:51:31 +0000 Subject: [PATCH 52/52] Rename folder to match URI --- .../local-config-file-1.png | Bin .../local-config-file-2.jpg | Bin .../rule.md | 1 + 3 files changed, 1 insertion(+) rename {rules/add-local-configuration-file-for-developer-specific-settings => add-local-configuration-file-for-developer-specific-settings222}/local-config-file-1.png (100%) rename {rules/add-local-configuration-file-for-developer-specific-settings => add-local-configuration-file-for-developer-specific-settings222}/local-config-file-2.jpg (100%) rename {rules/add-local-configuration-file-for-developer-specific-settings => add-local-configuration-file-for-developer-specific-settings222}/rule.md (95%) diff --git a/rules/add-local-configuration-file-for-developer-specific-settings/local-config-file-1.png b/add-local-configuration-file-for-developer-specific-settings222/local-config-file-1.png similarity index 100% rename from rules/add-local-configuration-file-for-developer-specific-settings/local-config-file-1.png rename to add-local-configuration-file-for-developer-specific-settings222/local-config-file-1.png diff --git a/rules/add-local-configuration-file-for-developer-specific-settings/local-config-file-2.jpg b/add-local-configuration-file-for-developer-specific-settings222/local-config-file-2.jpg similarity index 100% rename from rules/add-local-configuration-file-for-developer-specific-settings/local-config-file-2.jpg rename to add-local-configuration-file-for-developer-specific-settings222/local-config-file-2.jpg diff --git a/rules/add-local-configuration-file-for-developer-specific-settings/rule.md b/add-local-configuration-file-for-developer-specific-settings222/rule.md similarity index 95% rename from rules/add-local-configuration-file-for-developer-specific-settings/rule.md rename to add-local-configuration-file-for-developer-specific-settings222/rule.md index 3b5f362fca1..06638aee79d 100644 --- a/rules/add-local-configuration-file-for-developer-specific-settings/rule.md +++ b/add-local-configuration-file-for-developer-specific-settings222/rule.md @@ -12,6 +12,7 @@ authors: url: https://ssw.com.au/people/brendan-richards related: [] redirects: + - add-local-configuration-file-for-developer-specific-settings - do-you-add-a-local-configuration-file-for-developer-specific-settings ---