Git Cloud Provider Archives
In a slightly similar fashion to Distribution Installer it is possible to download archives of GitHub & GitLab repositories.
For this there is GitHubArchive
& GitLabArchive
.
Both implement GitCloudDescriptor
.
This is then complimented with GitRepoArchiveDownloader
.
The latter does the actual downloading work.
It exposes the root directory of the unpacked archive using the getArchiveRoot
method.
You can mix these classes in a similar fashion where Distribution Installer is used.
A primary use case might be the download of resources from a cloud Git provider. This includes templates for Reveal.js, styling for Asciidoctor-pdf, extensions for Antora and many more.