commit | 27c585eac05c280b53b0fc881baaab5e880d319c | [log] [tgz] |
---|---|---|
author | Oliver Lietz <olli@apache.org> | Sat Sep 01 12:31:26 2018 +0200 |
committer | Oliver Lietz <olli@apache.org> | Sat Sep 01 12:31:26 2018 +0200 |
tree | 5418a5d95dca39eac6906c2f218f93e6e0206df2 | |
parent | 5f1196a363ce6a90ab169917b6ef413f6e987621 [diff] |
add Clam project
This module is part of the Apache Sling project.
It provides an XML file that lists all Sling modules, to allow for tools like repo
to process multiple repositories at once.
The list of modules is in a self-explaining format and can also be used in your own scripts if preferred.
Note that there are related efforts at SLING-7331 and SLING-7262, we'll need to consolidate all this at some point.
You can find a list of the Apache Sling modules here. This list is generated from the script generate-aggregator-table.sh..
We have a simple script to update the badges in GitHub's README.md files. To update all repositories:
./add-badges.sh [SLING_DIR]
To update a single repository:
./add-badges.sh [SLING_DIR] [REPO_NAME]
To update the aggregator list:
./generate-aggregator-table.sh [SLING_DIR]
This script depends on the following utilities:
This module allows quick checkout of all Sling modules from Git. It requires the local installation of the repo tool.
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
See also the detailed instructions at https://source.android.com/source/downloading#installing-repo.
brew install repo
Initialise the local repo checkout and synchronise all git repositories. The commands below must be run in the sling-aggreator git checkout.
$ repo init --no-clone-bundle -u https://github.com/apache/sling-aggregator.git $ repo sync --no-clone-bundle -j 16
The output is a flat list of all Sling modules.
The -j 16
flag instructs repo to run 16 parallel checkout jobs and is added for performance reasons only.
That list is found in the default.xml file.
It is used to generate the list of Git Repositories on our website.
Install Groovy on Mac with Homebrew
brew install groovy
To update it:
groovy collect-sling-repos.groovy > default.xml
Check changes with git diff
and commit if needed.