commit | 0a256fdd94c29f7a8c45af267f8580b5268dccab | [log] [tgz] |
---|---|---|
author | Dan Klco <daniel.klco@gmail.com> | Tue Feb 13 14:03:53 2018 -0500 |
committer | Dan Klco <daniel.klco@gmail.com> | Tue Feb 13 14:03:53 2018 -0500 |
tree | acb0c0a70ec00f2b263694da7fd6b6f1c78f63fa | |
parent | a18161e38cd763ff94451bfa4e557cd127f56606 [diff] |
Updating to the new starter-content repo
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.
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
Install Repo on Mac with Homebrew
brew install repo
See the detailed instructions at https://source.android.com/source/downloading#installing-repo.
$ repo init --no-clone-bundle -u https://github.com/apache/sling-aggregator.git $ repo sync --no-clone-bundle
The output is a flat list of all Sling modules.
Syncing all Sling modules can take a while, so if your network is fast enough you can try using multiple jobs in parallel. To use 16 jobs, run
$ repo sync -j 16
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.