diff --git a/.scripts/check_proposals b/.scripts/check_proposals index 594ab165..7ee64684 100755 --- a/.scripts/check_proposals +++ b/.scripts/check_proposals @@ -25,6 +25,7 @@ end class MetadataChecker def initialize @categories = load_all_categories() + @stability_levels = ["experimental", "preview", "community", "default"] end def check pr_number, front_matter @@ -37,6 +38,25 @@ class MetadataChecker else system("gh pr edit #{pr_number} --remove-label invalid-categories") end + issue_errors = check_issue(pr_number, front_matter) + if issue_errors.length() > 0 + errors << issue_errors + system("gh pr edit #{pr_number} --add-label missing-issue") + else + system("gh pr edit #{pr_number} --remove-label missing-issue") + end + begin + stability_level, err = check_stability_level(pr_number, front_matter) + system("gh pr edit #{pr_number} --remove-label invalid-stability-level") + # remove any previous stability-levels + @stability_levels.map { | level | system("gh pr edit #{pr_number} --remove-label stability-level/#{level}") } + system("gh pr edit #{pr_number} --add-label stability-level/#{stability_level}") + rescue => error + errors << error.message + system("gh pr edit #{pr_number} --add-label invalid-stability-level") + @stability_levels.map { | level | system("gh pr edit #{pr_number} --remove-label stability-level/#{level}") } + end + errors end @@ -54,6 +74,22 @@ class MetadataChecker errors end + def check_issue pr_number, front_matter + errors = [] + unless (front_matter.key? "issue") && (front_matter["issue"] != nil) + errors << "Missing field: issue" + end + errors + end + + def check_stability_level pr_number, front_matter + unless (front_matter.key? "stability-level") && (@stability_levels.include? front_matter["stability-level"]) + raise "Invalid field: stability-level" + else + return front_matter["stability-level"] + end + end + def load_all_categories yaml = YAML.load_file("_data/wildfly-categories.yaml") return yaml["categories"] diff --git a/_includes/index-categories.html b/_includes/index-categories.html index bbddadac..35c48dc8 100644 --- a/_includes/index-categories.html +++ b/_includes/index-categories.html @@ -28,7 +28,13 @@

{{ cat.name }} [{{ cat.id }}]

{% for page in site.pages %} {% endfor %} diff --git a/_layouts/proposal.html b/_layouts/proposal.html index 4b7cfa1a..518a9c86 100644 --- a/_layouts/proposal.html +++ b/_layouts/proposal.html @@ -4,7 +4,12 @@
-

{{page.title}}

+

+ {% if page.stability-level != nil and page.stability-level != "default" %} + [{{ page.stability-level | upcase }}]  + {% endif %} + {{page.title}} +

{% unless pages.categories == empty %} @@ -14,6 +19,9 @@

{{page.title}}

{% endfor %}
{% endunless %} +
Tracked by + {{ page.issue }} +
{{ content }}
diff --git a/build/WFLY-19130_publish_Wildfly_channel_manifest.adoc b/build/WFLY-19130_publish_Wildfly_channel_manifest.adoc index b8ac19d4..237eeccf 100644 --- a/build/WFLY-19130_publish_Wildfly_channel_manifest.adoc +++ b/build/WFLY-19130_publish_Wildfly_channel_manifest.adoc @@ -2,8 +2,9 @@ categories: - wf-galleon - maven +stability-level: community --- -= [Community] Publish WildFly channel manifest += Publish WildFly channel manifest :author: Bartosz Spyrko-Smietanko :email: bspyrkos@redhat.com :toc: left @@ -131,7 +132,7 @@ Following three channels will be created as part of this proposal: |=== -==== Manifest metadata Requirements +=== Manifest metadata Requirements The manifest file defines a few metadata fields: * name - human readable name of the manifest. Should contain the version of the server. diff --git a/controller/WFCORE-4868_configuration-files-aliases.adoc b/controller/WFCORE-4868_configuration-files-aliases.adoc index f73c34d2..9b44160b 100644 --- a/controller/WFCORE-4868_configuration-files-aliases.adoc +++ b/controller/WFCORE-4868_configuration-files-aliases.adoc @@ -2,8 +2,9 @@ categories: - core - management +stability-level: community --- -= [Community] Aliases for standard configuration files += Aliases for standard configuration files :author: Michal Petrov :email: mpetrov@redhat.com :toc: left diff --git a/core/WFCORE-4758_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc b/core/WFCORE-4758_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc index 1c0a5fa1..5d8c4b3e 100644 --- a/core/WFCORE-4758_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc +++ b/core/WFCORE-4758_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc @@ -2,8 +2,9 @@ categories: - core - management +stability-level: community --- -= [Community] Simple config export for a server as an attachment for standalone or domain mode += Simple config export for a server as an attachment for standalone or domain mode :author: Emmanuel Hugonnet :email: ehugonne@redhat.com :toc: left diff --git a/core/WFCORE-6960_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc b/core/WFCORE-6960_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc index e478aaa6..e9eb5118 100644 --- a/core/WFCORE-6960_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc +++ b/core/WFCORE-6960_Simple_config_export_for_a_server_as_an_attachment_for_standalone_or_domain_mode.adoc @@ -2,8 +2,9 @@ categories: - core - management +stability-level: default --- -= [Community] Simple config export for a server as an attachment for standalone or domain mode += Simple config export for a server as an attachment for standalone or domain mode :author: Emmanuel Hugonnet :email: ehugonne@redhat.com :toc: left diff --git a/design-doc-template.adoc b/design-doc-template.adoc index e0ce62b1..a2955f60 100644 --- a/design-doc-template.adoc +++ b/design-doc-template.adoc @@ -4,8 +4,17 @@ categories: # - core # - management # if missing, add it to _data/widfly-categories and use its id +# +# Specify the stability level of the feature. +# Values can be one of: experimental preview community default +stability-level: +#Specify the Feature Development tracker issue for the feature. +# This must be an issue tracked in https://github.com/orgs/wildfly/projects/7/views/1. +# To create a Feature Development tracker issue, go to https://github.com/wildfly/wildfly-proposals/issues/new/choose +# and select 'Feature Development' +issue: --- -= [Experimental|Preview|Community|default]Template += :author: Your Name :email: your.email@redhat.com :toc: left @@ -13,95 +22,66 @@ categories: :idprefix: :idseparator: - -== Overview - -== Issue Metadata - -=== Issue - -* https://issues.redhat.com/browse/WFCORE[WFCORE-XXXX] - -=== Related Issues - -* https://issues.redhat.com/browse/WFLY[WFLY-XXXX] - -=== Stability Level -// Choose the planned stability level for the proposed functionality -* [ ] Experimental - -* [ ] Preview +____ -* [ ] Community - -* [ ] default - -=== Dev Contacts +== Overview -* mailto:{email}[{author}] +____ -=== QE Contacts +== Related Issues -=== Testing By -// Put an x in the relevant field to indicate if testing will be done by Engineering or QE. -// Discuss with QE during the Kickoff state to decide this -* [ ] Engineering +____ -* [ ] QE +== Affected Projects or Components -=== Affected Projects or Components +____ === Other Interested Projects === Relevant Installation Types -// Remove the x next to the relevant field if the feature in question is not relevant -// to that kind of WildFly installation -* [x] Traditional standalone server (unzipped or provisioned by Galleon) - -* [x] Managed domain -* [x] OpenShift s2i +____. -* [x] Bootable jar +* Traditional standalone server (unzipped or provisioned by Galleon) +* Managed domain +* OpenShift Source-to-Image (S2I) +* Bootable jar == Requirements -=== Hard Requirements - -=== Nice-to-Have Requirements -// Requirements in this section do not have to be met to merge the proposed functionality. -// Note: Nice-to-have requirements that don't end up being implemented as part of -// the work covered by this proposal should be moved to the 'Future Work' section. - +____ === Non-Requirements -// Use this section to explicitly discuss things that readers might think are required -// but which are not required. + +____ === Future Work -// Use this section to discuss requirements that are not addressed by this proposal -// but which may be addressed in later proposals. + +____ == Backwards Compatibility -// Does this enhancement affect backwards compatibility with previously released -// versions of WildFly? -// Can the identified incompatibility be avoided? +____ === Default Configuration +____ + === Importing Existing Configuration +____ + === Deployments +____ + === Interoperability -//== Implementation Plan -//// -Delete if not needed. The intent is if you have a complex feature which can -not be delivered all in one go to suggest the strategy. If your feature falls -into this category, please mention the Release Coordinators on the pull -request so they are aware. -//// +____ + +== Implementation Plan + +____ == Admin Clients @@ -109,14 +89,11 @@ ____ == Test Plan -Depending on the selected stability level, the appropriate section below should be completed, including a brief description of how testing is to be performed in accordance with the selected stability level. The non-relevant sections may be removed as needed. +____ //// Depending on the stability level, the test plan required may vary. see below: //// @@ -134,16 +111,12 @@ Depending on the stability level, the test plan required may vary. see below: ** Default - This stability level is reserved and requires approval by a professional Quality Engineer with subject matter expertise. == Community Documentation -//// -Generally a feature should have documentation as part of the PR to wildfly main, or as a follow up PR if the feature is in wildfly-core. In some cases though the documentation belongs more in a component, or does not need any documentation. Indicate which of these will happen. -//// + +____ + +** Default - This stability level is reserved and requires approval by a professional Quality Engineer with subject matter expertise. + == Release Note Content -//// -Draft verbiage for up to a few sentences on the feature for inclusion in the -Release Note blog article for the release that first includes this feature. -Example article: http://wildfly.org/news/2018/08/30/WildFly14-Final-Released/. -This content will be edited, so there is no need to make it perfect or discuss -what release it appears in. "See Overview" is acceptable if the overview is -suitable. For simple features best covered as an item in a bullet-point list -of features containing a few words on each, use "Bullet point: " -//// + +____ diff --git a/ee/WFLY-19062-[PREVIEW]-Support_for_Jakarta_MVC_2.1.adoc b/ee/WFLY-19062-[PREVIEW]-Support_for_Jakarta_MVC_2.1.adoc index e613ed0a..b46e5416 100644 --- a/ee/WFLY-19062-[PREVIEW]-Support_for_Jakarta_MVC_2.1.adoc +++ b/ee/WFLY-19062-[PREVIEW]-Support_for_Jakarta_MVC_2.1.adoc @@ -1,8 +1,9 @@ --- categories: - ee +stability-level: preview --- -= [Preview] Standard WildFly support for Jakarta MVC 2.1 += Standard WildFly support for Jakarta MVC 2.1 :author: Brian Stansberry :email: brian.stansberry@redhat.com :toc: left diff --git a/elytron/WFLY-13762_ssl_context_based_on_peer_info.adoc b/elytron/WFLY-13762_ssl_context_based_on_peer_info.adoc index 216674ac..2db49682 100644 --- a/elytron/WFLY-13762_ssl_context_based_on_peer_info.adoc +++ b/elytron/WFLY-13762_ssl_context_based_on_peer_info.adoc @@ -2,8 +2,9 @@ categories: - elytron - security +stability-level: community --- -= [Community] SSLContext to support delegation to alternate instances based on peer information += SSLContext to support delegation to alternate instances based on peer information :author: Diana Krepinska :email: dvilkola@redhat.com :toc: left diff --git a/elytron/WFLY-16306-keycloak-saml-feature-pack.adoc b/elytron/WFLY-16306-keycloak-saml-feature-pack.adoc index 9df92f60..fc09e3f8 100644 --- a/elytron/WFLY-16306-keycloak-saml-feature-pack.adoc +++ b/elytron/WFLY-16306-keycloak-saml-feature-pack.adoc @@ -1,3 +1,7 @@ +--- +categories: + - security +--- = WFLY-16306: Keycloak Galleon Feature Pack :author: Farah Juma :email: fjuma@redhat.com diff --git a/elytron/WFLY-16532-additional-scope-for-auth-request.adoc b/elytron/WFLY-16532-additional-scope-for-auth-request.adoc index 2b94235f..9cf713b5 100644 --- a/elytron/WFLY-16532-additional-scope-for-auth-request.adoc +++ b/elytron/WFLY-16532-additional-scope-for-auth-request.adoc @@ -1,8 +1,10 @@ --- categories: - - elytron + - elytron + - security +stability-level: preview --- -== [Preview] Adding the ability to configure additional scope value for an authentication request += Adding the ability to configure additional scope value for an authentication request :author: Prarthona Paul :email: prpaul@redhat.com :toc: left diff --git a/elytron/WFLY-17143-request-uri-parameters.adoc b/elytron/WFLY-17143-request-uri-parameters.adoc index b5b6e1f3..d43e999f 100644 --- a/elytron/WFLY-17143-request-uri-parameters.adoc +++ b/elytron/WFLY-17143-request-uri-parameters.adoc @@ -1,4 +1,10 @@ -= [Preview] Add the ability to specify that the OIDC Authentication Request should include request and request_uri parameters +--- +categories: + - elytron + - security +stability-level: preview +--- += Add the ability to specify that the OIDC Authentication Request should include request and request_uri parameters :author: Prarthona Paul :email: prpaul@redhat.com :toc: left diff --git a/server/WFCORE-6728-reload-to-stability-level.adoc b/server/WFCORE-6728-reload-to-stability-level.adoc index 5e30a011..e0dbc19e 100644 --- a/server/WFCORE-6728-reload-to-stability-level.adoc +++ b/server/WFCORE-6728-reload-to-stability-level.adoc @@ -4,8 +4,9 @@ categories: - management # Add any category for this proposal # if missing, add it to _data/widfly-categories and use its id +stability-level: community --- -= [Community] Ability to reload a server to a different stability level += Ability to reload a server to a different stability level :author: Kabir Khan :email: kkhan@redhat.com :toc: left diff --git a/server/WFCORE-6750-unstable-api-annotation-scanner.adoc b/server/WFCORE-6750-unstable-api-annotation-scanner.adoc index 941f9ce8..3bfe9e2c 100644 --- a/server/WFCORE-6750-unstable-api-annotation-scanner.adoc +++ b/server/WFCORE-6750-unstable-api-annotation-scanner.adoc @@ -5,8 +5,9 @@ categories: # Add any category for this proposal # if missing, add it to _data/widfly-categories and use its id +stability-level: preview --- -= [Preview] Scan for usage of API elements annotated with annotations indicating unstable API += Scan for usage of API elements annotated with annotations indicating unstable API :author: Kabir Khan :email: kkhan@redhat.com :toc: left diff --git a/server/WFCORE-6815-reload-domain-mode-to-stability-level.adoc b/server/WFCORE-6815-reload-domain-mode-to-stability-level.adoc index df59f89b..947482b8 100644 --- a/server/WFCORE-6815-reload-domain-mode-to-stability-level.adoc +++ b/server/WFCORE-6815-reload-domain-mode-to-stability-level.adoc @@ -4,8 +4,9 @@ categories: - management # Add any category for this proposal # if missing, add it to _data/widfly-categories and use its id +stability-level: community --- -= [Community] Ability to reload a Host Controller to a different stability level += Ability to reload a Host Controller to a different stability level :author: Yeray Borges :email: yborgess@redhat.com :toc: left diff --git a/undertow/WFLY-14255_Make_resuseXForwarded_and_rewriteHost_configurable.adoc b/undertow/WFLY-14255_Make_resuseXForwarded_and_rewriteHost_configurable.adoc index 709cb1eb..27d336e9 100644 --- a/undertow/WFLY-14255_Make_resuseXForwarded_and_rewriteHost_configurable.adoc +++ b/undertow/WFLY-14255_Make_resuseXForwarded_and_rewriteHost_configurable.adoc @@ -1,4 +1,9 @@ -= [Preview]Make ReuseXForwarded and RewriteHost configurable +--- +categories: + - undertow +stability-level: preview +--- += Make ReuseXForwarded and RewriteHost configurable :author: Bartosz Baranowski :email: bbaranow@redhat.com :toc: left diff --git a/undertow/WFLY-15452_ajp-listener_allowed_attr_pattern.adoc b/undertow/WFLY-15452_ajp-listener_allowed_attr_pattern.adoc index 31e50735..8d627a5b 100644 --- a/undertow/WFLY-15452_ajp-listener_allowed_attr_pattern.adoc +++ b/undertow/WFLY-15452_ajp-listener_allowed_attr_pattern.adoc @@ -1,4 +1,9 @@ -= [Preview]modify ajp-listener to allow specifying pattern for ajp request attributes +--- +categories: + - undertow +stability-level: preview +--- += Modify ajp-listener to allow specifying pattern for ajp request attributes :author: Bartosz Baranowski :email: bbaranow@redhat.com :toc: left diff --git a/wf-galleon/WFLY-19021-Stability_In_Provisioning.adoc b/wf-galleon/WFLY-19021-Stability_In_Provisioning.adoc index e942c936..4e777ddf 100644 --- a/wf-galleon/WFLY-19021-Stability_In_Provisioning.adoc +++ b/wf-galleon/WFLY-19021-Stability_In_Provisioning.adoc @@ -1,8 +1,9 @@ --- categories: - wf-galleon +stability-level: community --- -= [Community] WildFly provisioning to support WildFly stability += WildFly provisioning to support WildFly stability :author: Jean-Francois Denise :email: jdenise@redhat.com :toc: left