From b06fa20b66b33c75315a2328900987d150552e98 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Fri, 20 Dec 2024 12:37:36 +0100 Subject: [PATCH 1/4] chore(ci): Update labeler following learn move, make matching coarser --- .github/issue-regex-labeler.yml | 22 +------------- .github/labeler.yml | 54 +-------------------------------- 2 files changed, 2 insertions(+), 74 deletions(-) diff --git a/.github/issue-regex-labeler.yml b/.github/issue-regex-labeler.yml index 35d31ebd9ac8088..f07f054988995e4 100644 --- a/.github/issue-regex-labeler.yml +++ b/.github/issue-regex-labeler.yml @@ -19,27 +19,7 @@ Content:HTTP: Content:JS: - '\/docs\/Web\/JavaScript' Content:Learn: - - '\/docs\/Learn\/(Common|Front|Getting|Learning|Performance)' -Content:Learn:Accessibility: - - '\/docs\/Learn\/Accessibility' -Content:Learn:Client-side: - - '\/docs\/Learn\/Tools_and_testing\/(Client-side|Understanding_client-side)' -Content:Learn:Cross-Browser-Testing: - - '\/docs\/Learn\/Tools_and_testing\/Cross_browser_testing' -Content:Learn:CSS: - - '\/docs\/Learn\/CSS' -Content:Learn:Django: - - '\/docs\/Learn\/Server-side\/Django' -Content:Learn:Express: - - '\/docs\/Learn\/Server-side\/Express_Nodejs' -Content:Learn:Forms: - - '\/docs\/Learn\/Forms' -Content:Learn:GitHub: - - '\/docs\/Learn\/Tools_and_testing\/GitHub' -Content:Learn:HTML: - - '\/docs\/Learn\/HTML' -Content:Learn:JavaScript: - - '\/docs\/Learn\/JavaScript' + - '\/docs\/Learn_web_development\/' Content:Manifest: - '\/docs\/Web\/Manifest' Content:MathML: diff --git a/.github/labeler.yml b/.github/labeler.yml index 87dfcef8f6e546e..bdafac028a35c31 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -57,62 +57,10 @@ Content:JS: Content:Learn: - changed-files: - all-globs-to-any-file: - - files/en-us/learn/** - - "!files/en-us/learn/accessibility/**" - - "!files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/**" - - "!files/en-us/learn/tools_and_testing/understanding_client-side_tools/**" - - "!files/en-us/learn/tools_and_testing/cross_browser_testing/**" - - "!files/en-us/learn/css/**" - - "!files/en-us/learn/server-side/django/**" - - "!files/en-us/learn/server-side/express_nodejs/**" - - "!files/en-us/learn/forms/**" - - "!files/en-us/learn/tools_and_testing/github/**" - - "!files/en-us/learn/html/**" - - "!files/en-us/learn/javascript/**" + - files/en-us/learn_web_development/** - changed-files: - any-glob-to-any-file: - files/en-us/web/tutorials/** -Content:Learn:Accessibility: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/accessibility/** -Content:Learn:Client-side: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/** - - files/en-us/learn/tools_and_testing/understanding_client-side_tools/** -Content:Learn:Cross-Browser-Testing: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/tools_and_testing/cross_browser_testing/** -Content:Learn:CSS: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/css/** -Content:Learn:Django: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/server-side/django/** -Content:Learn:Express: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/server-side/express_nodejs/** -Content:Learn:Forms: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/forms/** -Content:Learn:GitHub: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/tools_and_testing/github/** -Content:Learn:HTML: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/html/** -Content:Learn:JavaScript: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn/javascript/** Content:Manifest: - changed-files: - any-glob-to-any-file: From b328ad5b6d5dc53b8e07d54967e062bde9e3a4d8 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Fri, 20 Dec 2024 12:53:54 +0100 Subject: [PATCH 2/4] chore(ci): Update labeler following learn move, make matching coarser --- .github/labeler.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index bdafac028a35c31..971f358bdcb15e4 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -58,9 +58,42 @@ Content:Learn: - changed-files: - all-globs-to-any-file: - files/en-us/learn_web_development/** + - "!files/en-us/learn_web_development/core/css_layout/**" + - "!files/en-us/learn_web_development/core/styling_basics/**" + - "!files/en-us/learn_web_development/core/text_styling/**" + - "!files/en-us/learn_web_development/core/design_for_developers/**" + - "!files/en-us/learn_web_development/core/frameworks_libraries/**" + - "!files/en-us/learn_web_development/core/scripting/**" + - "!files/en-us/learn_web_development/core/structuring_content/**" - changed-files: - any-glob-to-any-file: - files/en-us/web/tutorials/** +Content:Learn:Accessibility: + - changed-files: + - any-glob-to-any-file: + - files/en-us/learn_web_development/core/accessibility/** +Content:Learn:CSS: + - changed-files: + - any-glob-to-any-file: + - files/en-us/learn_web_development/core/css_layout/** + - files/en-us/learn_web_development/core/styling_basics/** + - files/en-us/learn_web_development/core/text_styling/** +Content:Learn:Design: + - changed-files: + - any-glob-to-any-file: + - files/en-us/learn_web_development/core/design_for_developers/** +Content:Learn:Frameworks: + - changed-files: + - any-glob-to-any-file: + - files/en-us/learn_web_development/core/frameworks_libraries/** +Content:Learn:JavaScript: + - changed-files: + - any-glob-to-any-file: + - files/en-us/learn_web_development/core/scripting/** +Content:Learn:HTML: + - changed-files: + - any-glob-to-any-file: + - files/en-us/learn_web_development/core/structuring_content/** Content:Manifest: - changed-files: - any-glob-to-any-file: From efc8181ff98873cb8db00e629f71f64323a06b84 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Fri, 20 Dec 2024 12:56:34 +0100 Subject: [PATCH 3/4] chore(ci): Update labeler following learn move, make matching coarser --- .github/labeler.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 971f358bdcb15e4..bdafac028a35c31 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -58,42 +58,9 @@ Content:Learn: - changed-files: - all-globs-to-any-file: - files/en-us/learn_web_development/** - - "!files/en-us/learn_web_development/core/css_layout/**" - - "!files/en-us/learn_web_development/core/styling_basics/**" - - "!files/en-us/learn_web_development/core/text_styling/**" - - "!files/en-us/learn_web_development/core/design_for_developers/**" - - "!files/en-us/learn_web_development/core/frameworks_libraries/**" - - "!files/en-us/learn_web_development/core/scripting/**" - - "!files/en-us/learn_web_development/core/structuring_content/**" - changed-files: - any-glob-to-any-file: - files/en-us/web/tutorials/** -Content:Learn:Accessibility: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn_web_development/core/accessibility/** -Content:Learn:CSS: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn_web_development/core/css_layout/** - - files/en-us/learn_web_development/core/styling_basics/** - - files/en-us/learn_web_development/core/text_styling/** -Content:Learn:Design: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn_web_development/core/design_for_developers/** -Content:Learn:Frameworks: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn_web_development/core/frameworks_libraries/** -Content:Learn:JavaScript: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn_web_development/core/scripting/** -Content:Learn:HTML: - - changed-files: - - any-glob-to-any-file: - - files/en-us/learn_web_development/core/structuring_content/** Content:Manifest: - changed-files: - any-glob-to-any-file: From ff4610e54a61430c1e194c72b7067b6f69eaee8f Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 20 Jan 2025 16:28:08 +0100 Subject: [PATCH 4/4] chore: restore deleted directory configs as comment --- .github/issue-regex-labeler.yml | 22 +++++++++++++++++ .github/labeler.yml | 44 ++++++++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/.github/issue-regex-labeler.yml b/.github/issue-regex-labeler.yml index f07f054988995e4..36e75d768899d27 100644 --- a/.github/issue-regex-labeler.yml +++ b/.github/issue-regex-labeler.yml @@ -20,6 +20,28 @@ Content:JS: - '\/docs\/Web\/JavaScript' Content:Learn: - '\/docs\/Learn_web_development\/' +# Mapping for old directories, see https://github.com/mdn/content/pull/36967 +# +# Content:Learn:Accessibility: +# - '\/docs\/Learn\/Accessibility' +# Content:Learn:Client-side: +# - '\/docs\/Learn\/Tools_and_testing\/(Client-side|Understanding_client-side)' +# Content:Learn:Cross-Browser-Testing: +# - '\/docs\/Learn\/Tools_and_testing\/Cross_browser_testing' +# Content:Learn:CSS: +# - '\/docs\/Learn\/CSS' +# Content:Learn:Django: +# - '\/docs\/Learn\/Server-side\/Django' +# Content:Learn:Express: +# - '\/docs\/Learn\/Server-side\/Express_Nodejs' +# Content:Learn:Forms: +# - '\/docs\/Learn\/Forms' +# Content:Learn:GitHub: +# - '\/docs\/Learn\/Tools_and_testing\/GitHub' +# Content:Learn:HTML: +# - '\/docs\/Learn\/HTML' +# Content:Learn:JavaScript: +# - '\/docs\/Learn\/JavaScript' Content:Manifest: - '\/docs\/Web\/Manifest' Content:MathML: diff --git a/.github/labeler.yml b/.github/labeler.yml index bdafac028a35c31..c0359b97d8dc085 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -61,6 +61,49 @@ Content:Learn: - changed-files: - any-glob-to-any-file: - files/en-us/web/tutorials/** +# Mapping for old directories, see https://github.com/mdn/content/pull/36967 +# +# Content:Learn:Accessibility: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/accessibility/** +# Content:Learn:Client-side: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/** +# - files/en-us/learn/tools_and_testing/understanding_client-side_tools/** +# Content:Learn:Cross-Browser-Testing: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/tools_and_testing/cross_browser_testing/** +# Content:Learn:CSS: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/css/** +# Content:Learn:Django: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/server-side/django/** +# Content:Learn:Express: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/server-side/express_nodejs/** +# Content:Learn:Forms: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/forms/** +# Content:Learn:GitHub: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/tools_and_testing/github/** +# Content:Learn:HTML: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/html/** +# Content:Learn:JavaScript: +# - changed-files: +# - any-glob-to-any-file: +# - files/en-us/learn/javascript/** Content:Manifest: - changed-files: - any-glob-to-any-file: @@ -118,7 +161,6 @@ Content:Other: - changed-files: - any-glob-to-any-file: - files/en-us/related/** - - files/en-us/web/demos/** - files/en-us/web/exslt/** - files/en-us/web/opensearch/** - files/en-us/web/privacy/**