You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/03/06 11:54:56 UTC
[groovy-website] branch asf-site updated: geps list can also
reference Jira geps
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 9cdc341 geps list can also reference Jira geps
9cdc341 is described below
commit 9cdc341081a428628766767071aaade3e09b3d39
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Mar 6 21:54:49 2020 +1000
geps list can also reference Jira geps
---
site/src/site/pages/geps.groovy | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/site/src/site/pages/geps.groovy b/site/src/site/pages/geps.groovy
index abe0a03..363e702 100644
--- a/site/src/site/pages/geps.groovy
+++ b/site/src/site/pages/geps.groovy
@@ -1,6 +1,7 @@
layout 'layouts/main.groovy', true,
pageTitle: "The Apache Groovy programming language - GEPs",
mainContent: contents {
+ String JIRA_SERVER = 'https://issues.apache.org/jira'
def sorted = list.sort{ (it.key - 'GEP-').toInteger() }
div(id: 'content', class: 'page-1') {
div(class: 'row') {
@@ -18,7 +19,7 @@ layout 'layouts/main.groovy', true,
div(class: 'col-lg-8 col-lg-pull-0') {
h1('GEPs for Groovy')
- p 'Here you can find the GEPs for the Groovy programming language.'
+ p 'Here you can find the GEPs for the Groovy programming language:'
ul {
sorted.each { gep ->
li {
@@ -26,6 +27,14 @@ layout 'layouts/main.groovy', true,
}
}
}
+ p 'In addition, smaller GEPs are tracked as issues in Jira:'
+ ul {
+ new groovy.json.JsonSlurper().parse("$JIRA_SERVER/rest/api/2/search?jql=component=GEP%20and%20project=GROOVY".toURL()).issues.each { gep ->
+ li {
+ a(href: "$JIRA_SERVER/browse/$gep.key", "$gep.key: $gep.fields.summary")
+ }
+ }
+ }
}
}
}