News for hackers. Stuff that matters.
Re:Open-source, not open-contribution by chmaynard on Thursday January 28, 2021 @08:34AM (#25941537)
Isn't that what archiving and mirroring are for? If you archive it or call it a mirror, GitHub users will understand that contributions to the repo are not accepted.
Re:Open-source, not open-contribution by sudhirj on Thursday January 28, 2021 @08:53AM (#25941719)
No, archiving implies that no more code changes will be made. The author’s intention is not that that project is “finished”, it’s that they are the only ones going to make changes to it. Archiving will lock the authors out of making changes as well.
Re:Open-source, not open-contribution by kodah on Thursday January 28, 2021 @08:50AM (#25941681)
Kind of. Archiving means you can't commit to it either, from what I know. Mirroring doesn't necessarily mean that you can't contribute to it, it just means you can't contribute to it on GitHub.
Re:Open-source, not open-contribution by qhwudbebd on Thursday January 28, 2021 @09:37AM (#25942318)
I think archiving stops anyone pushing to a repo at all, but an option to label a repo as a mirror (and thereby block pull requests on GitHub) would be perfect for me - it pretty much exactly describes the situation for my GitHub repos. Your post implies this option exists, but I can't find it in the interface - am I missing something obvious?
Re:Open-source, not open-contribution by chmaynard on Thursday January 28, 2021 @06:36PM (#25951096)
This GitHub article may be useful:

https://docs.github.com/en/github/creating-cloning-and-archi...

I'm not sure if a mirror repo actually blocks pull requests. Check with GitHub Support for more information:

[email protected]

Re:Open-source, not open-contribution by qhwudbebd on Friday January 29, 2021 @09:40AM (#25957655)
This article isn't about creating a repository with non-standard properties I'm afraid. It's just a set of instructions for copying one repository into another. The resulting repo isn't any different from any other Github repository and doesn't have any kind of 'mirror' status.