-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please consider moving gh-pages to another repository and/or reduce the size of the branch #2048
Comments
Adding fetch-depth: 50 might help (to a degree), however it looks like the current GitHub Actions always fetches all the branches in the repository: actions/checkout#22 :( AFAIK https://github.com/meetup/express-checkout does not help (it does not understand pull requests) |
I agree that we should improve the current situation. 🙂 We'll have to be careful not to break existing URLs, i.e. junit.org/junit5/... should continue to work. Does anyone know what would happen if we moved the |
Just wondering: do you need all the Git history for gh-pages? |
I think that would be ok. Or we could keep the manual commits and squash all others? |
FWIW we already set junit5/documentation/documentation.gradle.kts Line 234 in 6f979d6
|
It could make sense. For instance, if the latest commit is automatic, then amend it + force-push-with-lease. |
I created a script based on one I found on StackOverflow that squashes subsequent commits with the same message. The total number of commits on the @junit-team/junit-lambda Are you ok with me force-pushing that to |
👍 Pruning old or even all versions of committed PDF files would shrink the repository size even further. |
New plan: Move to https://github.com/junit-team/junit-team.github.io |
Are you going to shrink pdfs there as well? |
@vlsi How would you shrink them? |
I assume nobody really needs historical snapshot PDFs. |
I guess we could build them (in order to be sure they actually build) but not publish them for snapshots. |
That would work. |
I did that as a first step in order to stop its growth: cf19ffd |
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution. |
This issue has been automatically closed due to inactivity. If you have a good use case for this feature, please feel free to reopen the issue. |
I think we should still do this. |
Just in case, |
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution. |
This issue has been automatically closed due to inactivity. If you have a good use case for this feature, please feel free to reopen the issue. |
I believe it is still relevant |
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:
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:
The text was updated successfully, but these errors were encountered: