Hi,

I've been investigating the feasibility of automating some of the
release management tasks, following-up on [1].

My initial work is in a branch on the whiteboard, see PR [2] and Jira
task [3].

I'd like to ask people interested to take it for a spin and let me know
what they think.

It's built as CLI tool ( Java/OSGi/Feature Model/Docker ).

The code lives in the feature/SLING-8311 branch of the whiteboard, to
build it it's enough to run:

$ git checkout feature/SLING-8311
$ cd cli
$ mvn verify

To run commands you will need to create a docker-env file to pass
credentials to authenticate against Nexus ( see docker-env.sample ):

  ASF_USERNAME=changeme
  ASF_PASSWORD=changeme

At this point you're all set to start running commands, I'll list at
the end of the email the ones that are implemented.

Would love to hear what other think.

Thanks,

Robert

$ docker run --env-file=./docker-env apache/sling-cli release list
orgapachesling-2040     Apache Sling bnd Plugins 0.0.2
orgapachesling-2052     Apache Sling Resource Merger 1.3.10 RC1

$ docker run --env-file=./docker-env apache/sling-cli release prepare-email 2052
To: "Sling Developers List" <[email protected]>
Subject: [VOTE] Release Apache Sling Resource Merger 1.3.10

Hi,

We solved 1 issues in this release:
https://issues.apache.org/jira/browse/SLING/fixforversion/12345029

Staging repository:
https://repository.apache.org/content/repositories/orgapachesling-2052/

You can use this UNIX script to download the release and verify the signatures:
https://gitbox.apache.org/repos/asf?p=sling-tooling-release.git;a=blob;f=check_staged_release.sh;hb=HEAD

Usage:
sh check_staged_release.sh 2052 /tmp/sling-staging

Please vote to approve this release:

  [ ] +1 Approve the release
  [ ]  0 Don't care
  [ ] -1 Don't release, because ...

This majority vote is open for at least 72 hours.

$ docker run --env-file=./docker-env apache/sling-cli release update-local-site 
2052
remote: Enumerating objects: 71
remote: Counting objects: 100% (71/71)
remote: Compressing objects: 100% (53/53)
Receiving objects:      100% (50495/50495)
Resolving deltas:       100% (41889/41889)
Checking out files:     100% (11791/11791)
diff --git a/src/main/jbake/content/releases.md 
b/src/main/jbake/content/releases.md
index 6a2d1e0..f7f6b7f 100644
--- a/src/main/jbake/content/releases.md
+++ b/src/main/jbake/content/releases.md
@@ -8,6 +8,7 @@
 
 ## March 2019
 
+* Resource Merger 1.3.10 (19th)
 * Installer Factory Configuration 1.2.2 (18th)
 * Testing OSGi Mock 2.4.8 (10th)
 * Servlet Helpers 1.1.10, Testing JCR Mock 1.4.4, Testing ResourceResolver 
Mock 1.1.24 (7th)
diff --git a/src/main/jbake/templates/downloads.tpl 
b/src/main/jbake/templates/downloads.tpl
index 1dd3a4c..8c9d11b 100644
--- a/src/main/jbake/templates/downloads.tpl
+++ b/src/main/jbake/templates/downloads.tpl
@@ -176,7 +176,7 @@
   "Resource Collection|org.apache.sling.resourcecollection|1.0.2|Y|jar",
   "Resource Filter|org.apache.sling.resource.filter|1.0.0|Y|jar",
   "Resource Inventory|org.apache.sling.resource.inventory|1.0.8|Y|jar",
-  "Resource Merger|org.apache.sling.resourcemerger|1.3.8|Y|jar",
+  "Resource Merger|org.apache.sling.resourcemerger|1.3.10|Y|jar",
   "Resource Presence|org.apache.sling.resource.presence|0.0.2|Y|jar",
   "Resource Resolver|org.apache.sling.resourceresolver|1.6.6|Y|jar",
   "Rewriter|org.apache.sling.rewriter|1.2.2|Y|jar",

$ docker run --env-file=./docker-env apache/sling-cli release tally-votes 2052
To: "Sling Developers List" <[email protected]>
Subject: [RESULT] [VOTE] Release Apache Sling Resource Merger 1.3.10

Hi,

The vote has passed with the following result :

+1 (binding): Robert Munteanu, Carsten Ziegeler, Radu Cotescu, Daniel Klco

I will copy this release to the Sling dist directory and
promote the artifacts to the central Maven repository.


[1]: 
https://lists.apache.org/thread.html/832ae5335c71a3be8e8c07e8d2a677a00c4dc72274386e2b46b571ee@%3Cdev.sling.apache.org%3E
[2]: https://github.com/apache/sling-whiteboard/pull/26
[3]: https://issues.apache.org/jira/browse/SLING-8311

Reply via email to