Move or remove old Blender branches #54
Labels
No Label
Service
Buildbot
Service
Chat
Service
Gitea
Service
Translate
Type
Bug
Type
Config
Type
Deployment
Type
Feature
Type
Setup
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/blender-projects-platform#54
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
blender/blender
has 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.Proposal:
archive/blender-staging
and rename that repository toblender-archive
blender-archive
by 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.