You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/09/22 07:29:44 UTC

[sling-aggregator] branch bugfix/include-revision-in-manifest created (now 733d9bd)

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a change to branch bugfix/include-revision-in-manifest
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git.


      at 733d9bd  add revision per project

This branch includes the following new commits:

     new 733d9bd  add revision per project

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[sling-aggregator] 01/01: add revision per project

Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch bugfix/include-revision-in-manifest
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git

commit 733d9bd483462fcd994ef2bc729bcae82e29ec69
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Sep 22 09:29:23 2021 +0200

    add revision per project
---
 collect-sling-repos.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/collect-sling-repos.groovy b/collect-sling-repos.groovy
index 121bfe6..adcf365 100755
--- a/collect-sling-repos.groovy
+++ b/collect-sling-repos.groovy
@@ -95,9 +95,9 @@ xml.manifest() {
     slingRepos.forEach { repo ->
         def groups = getGroups(repo, groupMap)
         if ( groups ) {
-            project(path: repoPath(repo), name: "${repo.name}.git", description: "${repo.description}", groups: getGroups(repo, groupMap))
+            project(path: repoPath(repo), name: "${repo.name}.git", description: "${repo.description}", groups: getGroups(repo, groupMap), revision: "${repo.default_branch}")
         } else {
-            project(path: repoPath(repo), name: "${repo.name}.git", description: "${repo.description}")
+            project(path: repoPath(repo), name: "${repo.name}.git", description: "${repo.description}", revision: "${repo.default_branch}")
         }
     }
 }