Description
The clone of https://github.com/junit-team/junit5 takes a lot. It downloads ~500MiB+, and the resulting repository is full of various pdf files.
Here are the top consumers:
hash bytes path
fffea6e6616e 3812203 docs/5.5.1/user-guide/index.pdf
d3f697d9c019 3812203 docs/5.5.0/user-guide/index.pdf
30d099b3af05 3812203 docs/5.5.2/user-guide/index.pdf
6267c2a59eb1 3812011 docs/snapshot/user-guide/index.pdf
...
and so on.
It does impact both regular development experience (as everybody is used to just git clone $url
), and it does impact GitHub Actions CI: it takes 1minute for the "checkout action".
Note: GitHub Action could probably be improved to skip gh-pages
branch, however, the issue for humans would sill be there.
-
Are PDFs required? Could they be pushed somewhere else? Do all the snapshots need to be stored in the main repository?
-
Could you please consider the use of
noTimestamp
for thejavadoc
? It will avoid printing the timestamps, thus it would reduce the changes in the html files.
See Use notimestamp for JavaDoc and notimestamp+noversionstamp for GroovyDoc gradle/gradle#8619
Sample:
withType<Javadoc>().configureEach {
(options as StandardJavadocDocletOptions).apply {
noTimestamp.value = true