Skip to content
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

Archive and prune the github repo. #26211

Open
charris opened this issue Apr 4, 2024 · 5 comments
Open

Archive and prune the github repo. #26211

charris opened this issue Apr 4, 2024 · 5 comments

Comments

@charris
Copy link
Member

charris commented Apr 4, 2024

The numpy repository has gathered a lot of maintenance branches that are no longer used. This is beginning to make such simple tasks as basing backports on the current release branch cumbersome due to the large number of branches listed in the base, and this also makes the choice subject to errors. I propose that we figure out how we want to save the history in an accessible way, yet unclutter the main repo. Searching on that topic shows several ways to do this, none of which look very appealing at first glance. Does anyone have experience with this or suggestions?

@charris
Copy link
Member Author

charris commented Apr 4, 2024

@seberg
Copy link
Member

seberg commented Apr 5, 2024

The way I read that is that we replace the branches with tags so that the branch list gets short (and the tag list is huge anyway)? That seems good to me, unless someone has another thought.

@rgommers
Copy link
Member

rgommers commented Apr 8, 2024

This removes branch protection from the maintenance branches. Tags are easy to move and delete. So I'd prefer to not do this I think.

I think there's also not really an issue as far as I can tell, beyond scrolling down to the 28th branch when opening a backport PR? 28 branches really is very little (example of when it is bad: PyTorch has 6,925 branches in its repo).

@seberg
Copy link
Member

seberg commented Apr 10, 2024

No opinion from me either way really. Just commenting that I just saw that github has a beta for tag protection rules (and we would limit it to branches that only run on EOL Python versions).

@seberg
Copy link
Member

seberg commented Apr 22, 2024

FWIW, I added a tag protection that should trigger for any version tag. Although, it seems it just limits the number of users who can create/remove tags a lot (which also means it shouldn't disrupt any workflow, though).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants