Add  update instructions + update overview
1 file changed
tree: 68f783a8380e1db107dba9a6a2c0942157306b7d
  1. .sling-module.xml
  2. collect-sling-repos.groovy
  3. default.xml
  4. LICENSE
  5. README.md
README.md

Apache Sling Aggregator

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.

Retrieving all Sling modules

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 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.

Speeding up sync

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

Updating the list of modules

That list is found in the default.xml file.

To update it:

groovy collect-sling-repos.groovy > default.xml

Check changes with git diffand commit if needed.