Re:Gitlab has introduced a five-user limit for free groups
by eddythompson80 on Tuesday June 20, 2023 @01:46PM
(#36407705)
It’s not that hard to setup. It’s a built-in feature in something like gitea. Or you can write a `git push` cron task or a server hook in git to keep the 2 in sync. GitHub is full of mirror repos. You can also disable issues, discussions, wiki, and pull requests if you don’t want to deal with that.
[ Parent
| on HN ]
Re:Gitlab has introduced a five-user limit for free groups
by oefrha on Tuesday June 20, 2023 @02:23PM
(#36408320)
> You can also disable … pull requests
That is the one thing you can’t disable on GitHub unless something changed recently. Very annoying for mirrors where development happens elsewhere.
Re:Gitlab has introduced a five-user limit for free groups
by TillE on Tuesday June 20, 2023 @02:40PM
(#36408574)
Make a README.md which clearly states this at the top, and a CONTRIBUTING.md. After that, it's just not your problem if someone opens a PR.
Re:Gitlab has introduced a five-user limit for free groups
by duskwuff on Tuesday June 20, 2023 @03:29PM
(#36409253)
There are a couple of other options, although I'll agree that none of them are ideal:
1) You can set up Github Actions to automatically close pull requests: https://github.com/marketplace/actions/close-pull-request
2) You can use "interaction limits" (in repository settings, under "moderation options") to limit repository interactions to collaborators. This can only be set for 6 months at a time, though, so you'll need to reactivate it periodically.
3) You can archive the project and unarchive it temporarily when making changes, disabling all activity on the fork.
Re:Gitlab has introduced a five-user limit for free groups
by retrocryptid on Tuesday June 20, 2023 @01:53PM
(#36407851)
That's what I'm doing now. It's what I don't want to do. I want the public repo to autopush PRs to my private repo so I don't have to poll it.
[LOL. A previous edit autocorrected "autopush" to "autopsy." Or maybe it was a Freudian slip on my part.]
Re:Gitlab has introduced a five-user limit for free groups
by eddythompson80 on Tuesday June 20, 2023 @01:56PM
(#36407881)
You can trigger a GitHub action on any PR and run any arbitrary code you want.
Re:Gitlab has introduced a five-user limit for free groups
by retrocryptid on Tuesday June 20, 2023 @02:40PM
(#36408576)
Again. I DON'T want to run a script in a container on github's infrastructure.
Re:Gitlab has introduced a five-user limit for free groups
by eddythompson80 on Tuesday June 20, 2023 @05:14PM
(#36410732)
If you’re polling, you can use GitHub APIs. They are pretty well documented. If you want a turn-key solution, use gitea. Depending on how flexible you need it, gitea might cover your scenarios. But you can have actions in gitea as well that automate polling GitHub APIs for issues or comments or pull requests etc.