Move or remove old Blender branches #54
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
blender/blenderhas many old branches that take up disk space and make it harder to find the right branches. A Blender repository with just the main branch goes from 974MB to 680MB.
archive/blender-stagingand rename that repository to
blender-archiveby any developer, keeping the list of branches short at all times.
We can do the same for forks that now contain unnecessary branches. This would likely be done manually server side. Re-creating forks is problematic as it would break open pull requests.
This has been implemented for the main repository.
The forks are unaffected, as some developers (including myself) have some old branches in the fork for the future reference. It would not be cool if we remove a branch which someone wants to keep.
I've attached a script which we used to generate archival and removal of the branches. It could be modified by developers who wants to cleanup their forks. If someone wants to clean up their fork but does not want to have spike in activity we can then do cleanup on the server side.