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

[sling-aggregator] branch issue/generate-repo-list created (now 015bd8d)

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

rombert pushed a change to branch issue/generate-repo-list
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git.


      at 015bd8d  Add a script to output a plain-text listing of GitHub repositories

This branch includes the following new commits:

     new 015bd8d  Add a script to output a plain-text listing of GitHub repositories

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 a script to output a plain-text listing of GitHub repositories

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

rombert pushed a commit to branch issue/generate-repo-list
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git

commit 015bd8dbfe44662143320bcaa65df4afae8e0a32
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Sep 22 11:32:15 2021 +0200

    Add a script to output a plain-text listing of GitHub repositories
---
 generate-repo-list.sh | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/generate-repo-list.sh b/generate-repo-list.sh
new file mode 100755
index 0000000..cea1c18
--- /dev/null
+++ b/generate-repo-list.sh
@@ -0,0 +1,24 @@
+#!/bin/bash -eu
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+for repo in $(xmllint --xpath '//manifest/project/@name' default.xml); do
+    repo_name=$(echo $repo | cut -d '"' -f 2)
+    echo "https://github.com/apache/${repo_name}"
+done