Skip to content

Please consider moving gh-pages to another repository and/or reduce the size of the branch #2048

Open
@vlsi

Description

@vlsi

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.

  1. Are PDFs required? Could they be pushed somewhere else? Do all the snapshots need to be stored in the main repository?

  2. Could you please consider the use of noTimestamp for the javadoc? 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

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions