Repository navigation
DOC Recommend cleaning the doc repo only for major final releases - #34050
Conversation
|
|
||
| {% if key == "final" %} | ||
| - The `scikit-learn/scikit-learn.github.io` needs to be cleaned up so that ideally | ||
| it stays <5GB in size. Before doing this, create a new fresh fork of the existing |
There was a problem hiding this comment.
If the repo is now 15GB, why do we still strive for <5GB? If the history would be flushed, would it go below 5GB? If not, we may want to update this number?
There was a problem hiding this comment.
The repo grows every time we merge a PR (or a PR touching the doc, I'm not sure). Last time it was cleaned-up it was below 5GB (5 month ago). Next time we clean it up (during this release) it will again be below 5GB.
This clean-up doesn't have to be tied to releases. And actually if we wanted to keep it always below 5GB it should be done based on monitoring the size. But realistically if we don't put it in the release check list, we'll forget it :)
To target a lower average size we can keep it at every release (current state) but then I'd still remove it from the RC because there are only 2 weeks between RC and final so the repo doesn't grow a lot in between.
There was a problem hiding this comment.
Got it, thanks. Amazing it grows by 300% in 5 months.
There was a problem hiding this comment.
372 commits, each one containing all examples (https://github.com/scikit-learn/scikit-learn.github.io/commits/main/). I believe something smarter could be done (maybe with a lot of added complexity).
adrinjalali
left a comment
There was a problem hiding this comment.
As long as GH volks don't complain, this is fine.
Follow-up of #32620.
The last clean up was done 5 month ago, around the 1.8 release and the repo has now a size of 15GB which is way below the 100GB limit. So I believe we're safe doing it only twice a year, say for each minor/major final release. This PR just changes the tab in which this item appears in https://scikit-learn.org/dev/developers/maintainer.html#reference-steps