News for hackers. Stuff that matters.
Re:Open-source, not open-contribution by phendrenad2 on Thursday January 28, 2021 @07:00AM (#25940799)
Github really needs to allow people to disable the "Pull Request" tab on repos, to reduce the stigma around not accepting pull requests.

https://github.com/isaacs/github/issues/1191 3 years and counting.

Some people are resorting to adding bots which auto-close PRs with a message like "Sorry, I'm not accepting PRs at this time", but that only triggers once the person has put in the effort to patch your project, at which poi t they may get annoyed to be suddenly told that PRs aren't welcome.

Best solution is to keep code somewhere other than github. Is sourceforge still around?

Re:Open-source, not open-contribution by massysett on Thursday January 28, 2021 @08:32AM (#25941515)
Yes, for just this reason I am beginning to remove my projects from Github. I have "given back" by posting my Haskell libraries to Hackage, where they may be used and inspected by all. I'm not going to "give back" by maintaining software to the specifications of others, free of charge.

This level of "giving back" is not trivial: I have often benefitted from seeing the source code of other projects and deciding I don't want to use the library, or seeing the code and deciding to modify it or take a different approach - or seeing the library and realizing that I wanted to try something similar, but this library shows me why I shouldn't do it. Maybe others will similarly benefit from seeing my stuff. If they see my stuff and think it's deficient, wonderful! Alter it to make it fit your needs, or use it as an inspiration for your own fresh rewrite.

But I'm not maintaining software for other people. God bless people who do; that's wonderful. But it's perfectly OK to just post stuff up in case someone else wants to use it. When people see the code on Github they think "oh I can make feature requests" or "I can send a PR." Fair enough - Github is "social coding" after all. So I just won't put code on Github.

Re:Open-source, not open-contribution by cies on Thursday January 28, 2021 @08:41AM (#25941589)
This is important. We need some vocabulary definitions for all different levels/aspects of "open".

Open Access, or not.

Open for contribution... or not.

Commit ownership transferals, or not.

In some cases there are whole steering committees.

Re:Open-source, not open-contribution by mumblemumble on Thursday January 28, 2021 @09:02AM (#25941821)
The vocabulary is already there. What is out of place is the perception of where the defaults lie. Right now we seem to assume that, unless someone takes the time to write out rules explicitly saying what they're not willing to do, then they must be willing to do it.

It should be just the other way around. If a project wants contributions, for example, then they can communicate that by posting contribution guidelines in the README.

Re:Open-source, not open-contribution by kenniskrag on Thursday January 28, 2021 @09:35AM (#25942296)
Asking the maintainer if you are allowed to provide a fix is an option?

Open pull requests are better than no pull requests. If the maintainers don't want them merged to their code base, other users can still merge them to their base.

Re:Open-source, not open-contribution by imtringued on Thursday January 28, 2021 @10:41AM (#25943552)
The real problem is that pull requests are the wrong form of communication. By the time someone sends a pull request they already put a significant amount of effort into their message and thus will rightfully get angry when their efforts are being rejected.

You need to contact the maintainers directly and talk with them, preferably in an informal format where it is okay for things to be forgotten or thrown out.

The fact that things are written down and recorded forever with an expectation of work is what is causing all the problems.

Re:Open-source, not open-contribution by phkahler on Thursday January 28, 2021 @11:18AM (#25944222)
>> By the time someone sends a pull request they already put a significant amount of effort into their message and thus will rightfully get angry when their efforts are being rejected.

I'd prefer if they open an issue - or use an existing one - as a forum to discuss what they'll be doing in a PR. That way we can either reject an idea prior to someone putting in the effort, or talk about implementation so the resulting PR is more likely to be accepted.

Drive by PRs are fine if they're simple, but the ones of higher impact need more consideration.

Even more than PRs, I have mixed feelings about feature requests. Many of them are legit things that would make the software better, but with limited resources they're likely to sit for years. Is it better to let them pile up or close them? Maybe a new tag - Deferred.

Re:Open-source, not open-contribution by jabbany on Thursday January 28, 2021 @12:55PM (#25945749)
Putting in effort unfortunately doesn't mean creating positive value (https://en.wikipedia.org/wiki/The_Mythical_Man-Month).

The good thing with FOSS is that the effort isn't _wasted_ since that code is still around in a fork, if not in upstream.

Re:Open-source, not open-contribution by throwawayboise on Thursday January 28, 2021 @04:14PM (#25949320)
> rightfully get angry

Why? You've taken the time to fix a problem you are having in code that you are using. You've made that patch available to the upstream maintainer, but if they don't accept it that doesn't stop you (or anyone else) from doing what you want to do with the code. I don't see how you're any worse off.

Re:Open-source, not open-contribution by AmericanChopper on Thursday January 28, 2021 @04:30PM (#25949554)
I contract for a lot of large enterprise, and I’ve written a lot of patches for open source projects in that capacity (to fix issues my large enterprise customers were having). My default position for this has always been that I’m going to get the benefit of fixing the problem regardless of whether my changes are merged. If the project maintainer chooses to merge my changes, then that’s even better, because that’s a tacit commitment from the project maintainer to maintain my changes into the future.
Re:Open-source, not open-contribution by ghaff on Thursday January 28, 2021 @05:46PM (#25950614)
> a tacit commitment from the project maintainer to maintain my changes into the future

Sometimes. Depends on the norms of the project. Depends on the scope of the changes.

Re:Open-source, not open-contribution by AmericanChopper on Thursday January 28, 2021 @05:55PM (#25950711)
Of course. A lot of the time there’s not even a commitment that the project isn’t going to be entirely abandoned at some point in the future. But if you make your improvements available for other people to benefit from, you’re greatly increasing the chances that other people are also going to help maintain them (or maybe just devote some effort to avoid breaking them).
Re:Open-source, not open-contribution by mitjak on Thursday January 28, 2021 @10:59AM (#25943879)
i dont think anyone submitting an unsolicited PR should be expecting it to be merged in. it's a way to convey a complete idea, not a guarantee of merging.
Re:Open-source, not open-contribution by anticristi on Thursday January 28, 2021 @02:35PM (#25947735)
I do that. I sometimes prefer PRs to discuss my improvements. By the time I answer questions such as "how intrusive would this change be", "what exactly needs to be changed", "how would I test my change", I'm already halfway through the PR.

I agree that sending a PR should not be considered a guarantee of merging. Rather an issue that is discussed with a mixture of prose and code.

Re:Open-source, not open-contribution by kelnos on Thursday January 28, 2021 @04:32PM (#25949577)
No, they shouldn't be expecting anything, but a lot of people will. And that's just how it is. If we don't want people to waste their time and potentially get upset, we should write out up-front what our contribution policy is.

Note that I'm not talking about how the world should be. I'm talking about how it is. I agree that people shouldn't just write up a PR without any prior communication with the maintainer and then expect it to get merged. But people do; that's just reality.

Re:Open-source, not open-contribution by mitjak on Friday January 29, 2021 @01:03PM (#25960297)
absolutely. im on the side of documenting and reiterating to get this across.
Re:Open-source, not open-contribution by emidln on Thursday January 28, 2021 @04:35PM (#25949610)
Pull requests are the best form of communication. Have you ever had a user propose a feature, agree to contribute it, and go dark? A pull request says "I did this work, I think you might want to use it". Even for repos that aren't accepting contributions, it's better to have pull requests so that users can fork and apply PRs themselves than not have anything. Even if the original organization isn't interested in open collaboration and just wants to code dump, the community can still fix their own bugs and if it becomes frequent enough a maintained fork might appear.
Re:Open-source, not open-contribution by didibus on Thursday January 28, 2021 @06:20PM (#25950959)
That's fair, but I think there should be another feature for this that lists out the forks and the change they bring.

Or at least there should be a clear way to indicate on a repo, PRs are not looked at and won't be merged. So if you make a PR you understand all you're doing is just advertising your fork.

Re:Open-source, not open-contribution by ufmace on Thursday January 28, 2021 @01:38PM (#25946683)
Yes this. These days, I'm not gonna bother without communication directly from a maintainer that a PR to do whatever I'm interested in doing would be welcome and can be reviewed and merged in a decent timeframe.
Re:Open-source, not open-contribution by Phil-bitplex on Thursday January 28, 2021 @05:41PM (#25950545)
This is the approach I want to take as well - but I give up so many times because I can’t track down a method of communicating with that person. I looked a while ago and I couldn’t find a way to send a message to a user on GitHub. Any recommendations on effective ways of reaching out to project owners?
Re:Open-source, not open-contribution by ufmace on Friday January 29, 2021 @09:55AM (#25957817)
It's usually fine to open an issue on the repo. It should have a detailed description of what's wrong, reproduction steps if appropriate etc, basically enough to show that you know what you're doing, have put some effort into it, and care about the project. Perhaps you'll get a response from a project maintainer, and can ask if they're open to a PR to fix it. IME, there's pretty good chances of positive engagement and eventual PR merge if you're fixing an actual bug in a good way, and not trying to add some massive new feature or completely change the way the thing works or something.

If it's excessively difficult to find a way to communicate with a project maintainer, well, maybe there's your sign that this is not a good project to contribute to.

Re:Open-source, not open-contribution by cies on Thursday January 28, 2021 @10:44AM (#25943616)
rightfully -> understandibly
Re:Open-source, not open-contribution by yawaramin on Thursday January 28, 2021 @12:29PM (#25945283)
> Asking the maintainer if you are allowed to provide a fix is an option?

It is (or should be) a standard practice to file an issue on the repo and ask there before starting work.

Re:Open-source, not open-contribution by vorpalhex on Thursday January 28, 2021 @12:41PM (#25945455)
Even if the repo is open to PRs, you want to make sure you're not duplicating work someone else is doing and that you have all the requirements.
Re:Open-source, not open-contribution by peteretep on Thursday January 28, 2021 @09:10AM (#25941932)
> It should be just the other way around

It should not be just the other way around

Re:Open-source, not open-contribution by enriquto on Thursday January 28, 2021 @09:24AM (#25942131)
The vocabulary already exists. For example, the lua project clearly states lua is free software but it is not open development, all development happens behind closed doors.
Re:Open-source, not open-contribution by vzaliva on Thursday January 28, 2021 @04:08PM (#25949220)
What if somebody sends you an email patch?
Re:Open-source, not open-contribution by macksd on Thursday January 28, 2021 @10:25AM (#25943225)
I like the idea of reducing the stigma, but honestly if I haven't realized they don't accept PRs by the time I'm looking for the PR tab, I've already done all the same work, kinda for nothing. It ought to be made very clear in README.md or CONTRIBUTING.md or something too.

I do wish people weren't completely closed to PRs though. I think companies are often misled when they think they'll get free labor out of open source, etc. and I think the free-as-in-libre aspect is more important relative to community aspect than a lot of people, but still - I hate it when my only option if I want a bug fixed is to wait for the company to do it themselves or fork. Even if I have to sign over all my rights of the code, I'd so much rather they at least consider taking my PR and be done with it. They don't have to do it for features they don't like or fixes that have downsides. But for a straightforward fix, at least look at it. It might be all the free help you ever get from the community.

Re:Open-source, not open-contribution by dspillett on Thursday January 28, 2021 @01:01PM (#25945920)
> Even if I have to sign over all my rights of the code

Even if people sign over the rights, there can still be admin to prove that they have those rights to sign over in the first place, or the responsibility for any fall-out if it turns out they didn't later, which some will not want to take on.

Also, some projects are personal and while the authors are perfectly happy to share they want to keep their version theirs, as in entirely created by them. People release their code open source for a variety of reasons, sometimes contributions back in that manner are not actually desired and we shouldn't take offence at that (it isn't intended to raise offence).

> ought to be made very clear in README.md or CONTRIBUTING.md or something too

This is a large part of the answer, I'd agree with you there.

The default assumption on github, and more generally, is that contributions are likely to be welcome and in fact actively desired. Politely explaining that this isn't the case in obvious places removes the confusion (and if someone hasn't read the usual places before submitting the PR that is their mistake not something to blame the project owner for). A sentence or two of text, as seen in the example that started this thread, in the README or similar documentation, should be sufficient. Perhaps also add it to the LICENSE file if you think that is more likely to be checked than someone reading the whole of the README (though if the readme is long enough for that to be a significant issue, perhaps look to streamline it and move some detail off to supplementary files).

Re:Open-source, not open-contribution by pdonis on Thursday January 28, 2021 @04:14PM (#25949322)
> I hate it when my only option if I want a bug fixed is to wait for the company to do it themselves or fork.

I think you're missing an important point here: the right to fork is the primary point of Open Source. Sure, it's nice if you don't have to fork, but ultimately the reason Open Source is important is so that you can fork if you have to. The other parts, about projects being able to accept contributions from others and so on, are nice to haves, but not essential. The right to fork is what is essential, so that when a project has a bug, and the project owners aren't fixing it, which is expected to be the most common case (see below for why), you, as an individual, can at least fix the bug for yourself, instead of being stuck with a proprietary system with a bug you can't fix at all.

Why is it expected to be the most common case that the project owners won't fix the bug? Because the tradeoff between benefit and cost from the project's point of view is very different than it is from yours. For you, it's much easier, as you say, for the upstream project to accept your PR than for you to have to maintain your own fork. But from the project's point of view, it's much harder to accept your PR than to just ignore it. Sure, you might be convinced that you've fixed an important bug and your code will be a net gain to the project. But how do they know that? To them, you're just some random person on the Internet. It's not like they have people sitting around just waiting for random people on the Internet to make contributions. Any time spent on evaluating your code is time not spent on something the project has already committed to doing. And if they aren't feeling any pain from the bug themselves (which they won't be if you, a random person on the Internet, have had the time to see it and code a fix for yourself), fixing it won't be on the list of things they are already committed to doing.

Re:Open-source, not open-contribution by themeiguoren on Thursday January 28, 2021 @07:27PM (#25951754)
This is all true, I just wish that commits to my forks of dead/strict projects showed up on my activity graph. I’m strangely proud of that thing and half my work doesn’t end up on it because things are no longer maintained upstream. :/
Re:Open-source, not open-contribution by massysett on Thursday January 28, 2021 @10:59AM (#25943874)
You want other people to do work for you, for free. That's completely understandable.
Re:Open-source, not open-contribution by phkahler on Thursday January 28, 2021 @11:32AM (#25944424)
>> You want other people to do work for you, for free. That's completely understandable.

The parent poster was talking about submitting a Pull Request. In other words, contributing the work for free. I suppose expecting someone to look at it might be asking them to do something for free, but if that's a problem then I agree that Github should have the option of not having the button on a project at all.

Or maybe you thought PR stood for Problem Report, in which case expecting it to be looked into by someone is an expectation of free labor.

Re:Open-source, not open-contribution by massysett on Thursday January 28, 2021 @12:00PM (#25944879)
Examining the pull request is work, as is integrating it into the software and maintaining it in the future. The parent wants the project to do that so that s/he does not have to fork it him/herself. In other words, the parent wants someone else to do work, for free.

Free Software is about the freedom of the user - freedom to distribute, freedom to study, freedom to use, freedom to modify. Somehow people have managed to pervert this so that it not only means "free as in free beer so that I can use it" but even "free beer so that OTHER PEOPLE can do work that I want done, for free." There is absolutely no entitlement to this.

Re:Open-source, not open-contribution by macksd on Thursday January 28, 2021 @12:16PM (#25945103)
I'm sorry I simply cannot understand how you can read the entirety of my comment and see that as entitled and wanting something for free.

I could fork a project and make the fix in my own repo. In fact you have to do that to make a pull request. I even specifically lay out scenarios where I absolutely agree it's not a good return on time invested for the maintainers to bother. But if I forked an open-source project every time I had a bug fix that required time from the maintainer that's worse for everyone. My point is that even though I fully understand and support where the litestream policy is coming from, for anything beyond a personal project I think some flexibility in accepting outside contributions is a win for everyone. I'll do all the work I can without having rights on the project. I'll sign over all my rights. Have tests? I'll run them and post the results. But a rigid "love it or fork it" attitude is a lose-lose.

Re:Open-source, not open-contribution by yawaramin on Thursday January 28, 2021 @12:32PM (#25945324)
> But if I forked an open-source project every time I had a bug fix that required time from the maintainer that's worse for everyone.

Who is 'everyone'? Does that include the maintainer? If so, why is it worse for them?

> a rigid "love it or fork it" attitude is a lose-lose.

How so? Who exactly is losing, and what exactly are they losing?

Re:Open-source, not open-contribution by macksd on Thursday January 28, 2021 @12:42PM (#25945492)
"Everyone" includes other users who would benefit from the fix, the PR author who can continue using the same version as everyone else, and yes, the maintainer who is foregoing even the possibility of the fix without starting from scratch. As I said in my comment, it makes total sense to me to look at a major change or a risky fix and say "no this isn't worth my time". But I'm sure we've all had those bugs where they take forever to track down until eventually you find a simple problem in code that is obviously an error. To not even take a look at it, as a rigid matter of policy? Yes, I absolutely think open-source maintainers would be missing out on saving some larger efforts.

edit: And to be clear, I freely acknowledge the inverse in my original comment. As TFA explains they were seeing a lot of PRs with unintended side-effects that were complex and counter-intuitive. At no point have I said people MUST accept this as part of the terms of a copyleft license as the original replier seems to think. I used phrases like "I do wish" and "I'd so much rather" and "They don't have to", so obviously it's preference I have. But that's my preference as not only a user of open-source software, but as a committer / PMC member on multiple Apache projects and other open-source projects. It's not remotely coming from a position of entitlement for free-as-in-beer software or ignorance of what it takes to develop and maintain open-source software.

Re:Open-source, not open-contribution by yawaramin on Sunday January 31, 2021 @09:42PM (#25984966)
> "Everyone" includes other users who would benefit from the fix,

They can still benefit from it by getting the fixed version from the PR author.

> the PR author who can continue using the same version as everyone else,

In other words, the PR author is expecting the maintainer to do the work of upstreaming and supporting their (the PR author's) fix for free.

> and yes, the maintainer who is foregoing even the possibility of the fix without starting from scratch.

And that is their prerogative. If they actually really want that fix they can always get it later. But as said by OP, chances are really good that the way the fix was done would conflict with the direction they want to take the project. And that would actually be a net loss for the maintainer.

> As I said in my comment, it makes total sense to me to look at a major change or a risky fix and say "no this isn't worth my time". But I'm sure we've all had those bugs where they take forever to track down until eventually you find a simple problem in code that is obviously an error. To not even take a look at it, as a rigid matter of policy? Yes, I absolutely think open-source maintainers would be missing out on saving some larger efforts.

This basically boils down to, expecting an open source maintainer to do the work--for free--of maintaining other people's patches in a patchwork codebase that they no longer have total control over.

Re:Open-source, not open-contribution by tshaddox on Thursday January 28, 2021 @03:44PM (#25948921)
> The parent wants the project to do that so that s/he does not have to fork it him/herself.

That doesn't make a lot of sense. To create a pull request, one must have already done the work to fork the repo themselves. The pull request is an offer to contribute that work back. If the project owners cannot or do not wish to do the work to even triage pull requests, that's fine, but in that case it's pretty clear that a public GitHub repo is the wrong place to be.

Re:Open-source, not open-contribution by dodobirdlord on Thursday January 28, 2021 @07:23PM (#25951692)
Hosting it in public at least gives others the opportunity to fork it if they have a change they want to see happen. But even reading PRs is work that maintainers shouldn’t be forced into, so GitHub should just allow the PR feature to be turned off.
Re:Open-source, not open-contribution by bityard on Thursday January 28, 2021 @08:44AM (#25941624)
I don't blame Github here, their WHOLE spiel is open collaboration for community software projects. If want to share your project online but don't want to engage with your users as peers, then GitHub was never the right place to post the repo anyway.
Re:Open-source, not open-contribution by jabbany on Thursday January 28, 2021 @08:52AM (#25941705)
Pretty sure the repo maintainer still wants to engage with users as peers (via bug reports and feature requests as they mention) just not through code contributions.

In fact, if you only look at the "issues" framework, GitHub does a pretty good job of making things easy to use compared to the other bug trackers...

Re:Open-source, not open-contribution by trinovantes on Thursday January 28, 2021 @08:53AM (#25941716)
Doesn't make sense they'd allow you to disable Issues but not PRs if they only cared about engagement
Re:Open-source, not open-contribution by SulfurHexaFluri on Thursday January 28, 2021 @06:19PM (#25950947)
This is rubbish. Github is massively more useful than dumping the source on your own webserver even if you do not want PRs. It would be a fairly simple change to simply add a button and remove the PR tab.
Re:Open-source, not open-contribution by enriquto on Thursday January 28, 2021 @09:23AM (#25942112)
> Github really needs to allow people to disable the "Pull Request" tab on repos, to reduce the stigma around not accepting pull requests.

I'm not the one to defend GitHub, but what's the big deal about not accepting pull requests? If you clearly state that you won't accept PRs and somebody still sends them, then you can close them right away and problem solved. Am I missing anything?

Another issue is that the github pull request model is not very "gitonic". There are much saner systems like sourcehut.

Re:Open-source, not open-contribution by darkwater on Thursday January 28, 2021 @09:27AM (#25942170)
> Am I missing anything?

Yes. The "reduce the stigma" part. Having users open a PR to just get it automatically closed by a bot (which also needs to be set up) it's far less welcoming than NOT having at all a "Pull requests" tab where you can open said PR.

Re:Open-source, not open-contribution by alkonaut on Thursday January 28, 2021 @09:39AM (#25942352)
Most projects should have a readme and most readme's on github should have a constributing section that everyone hopefully reads before creating a PR. Failing to do so tbh means that person probably failed to comply with coding standards or whatever else is in there. It's just as likely to have the PR closed for those reasons as for the reason "No PR's please".

That said, I agree with the idea of simply removing the possibility to make external PR's. The possibility to view (internal) PR's must be there though, so that external viewers can see PRs from the mainainer(s).

Re:Open-source, not open-contribution by TheRealPomax on Thursday January 28, 2021 @12:31PM (#25945306)
You can't enforce a readme. If it says "PRs are not accepted", and you create a pull request template that says "please be aware your PR will get closed automatically", folks will still file PRs in the hopes that their work is special enough to consider, and they still get their hopes crushed when that their PR gets closed without ever having been looked at.
Re:Open-source, not open-contribution by filmgirlcw on Thursday January 28, 2021 @01:08PM (#25946072)
If someone either willfully or through purposeful negligence both doesn’t read a README or PR template that outline PRs aren’t welcome and submits a PR hoping against hope for a different outcome, I think we can assume that absolutely nothing will prevent them from having their hopes crushed.

I don’t think optimizing for that edge case makes a ton of sense. Having the ability to hide PRs might be a nice feature, but some people use that for stuff other than straight pull requests.

Re:Open-source, not open-contribution by kelnos on Thursday January 28, 2021 @04:56PM (#25949940)
It's not just about that, though. I want to avoid crushing people's hopes, yes, but in the event that they are absolutely set on submitting a PR, I don't want to have to deal with getting a notification and having to manually close it. (And no, I don't want to take the time to set up a bot to do it either. I have better things to do with my time.)
Re:Open-source, not open-contribution by filmgirlcw on Thursday January 28, 2021 @06:04PM (#25950813)
I mean, I get that, and I'm not opposed to having a method to turn off PRs. I'm just saying that if the impetus is avoiding crushing people's hopes because a README and template isn't clear enough, I think there are people that will still create an issue or send an email about why they can't submit a PR.
Re:Open-source, not open-contribution by TheRealPomax on Thursday January 28, 2021 @04:15PM (#25949331)
Then maybe those folks should get a better feature for that, too. More than one thing can be suboptimal about the same feature-as-implemented.
Re:Open-source, not open-contribution by filmgirlcw on Thursday January 28, 2021 @06:07PM (#25950835)
Totally valid, and I'm not opposed to an option to turn it off, I was just saying I can understand why some people might need to keep it on, even if they do have a README and PR template that makes it clear they don't accept PRs. I just think the "crushing the hopes of people that don't read" aspect is probably the lowest priority in that sort of situation.
Re:Open-source, not open-contribution by cutemonster on Thursday January 28, 2021 @08:25PM (#25952362)
That's not the only thing.

A few of those who didn't read the README, and get their PRs auto closed, might get upset at the maintainers, and write something a bit angry, making it less pleasant to be a maintainer.

Re:Open-source, not open-contribution by alkonaut on Friday January 29, 2021 @10:31AM (#25958238)
Enforcing the readme is simply closing/ignoring the PR's.

You can easily do that, but what you can't do is prevent people from being angry. You can do everything in your power to prevent people from accidentally wasting their time, and you should. This is where "hide the feature" would come in.

Re:Open-source, not open-contribution by yawaramin on Thursday January 28, 2021 @12:35PM (#25945373)
If there is one constant on the internet, it's that people don't read. You can say whatever you like, there will be tons of people who brush past it and just go and send PRs anyway.
Re:Open-source, not open-contribution by dialamac on Thursday January 28, 2021 @01:29PM (#25946496)
Then let them learn their lesson. The thing is I have done stupid shit due to carelessness, but I’m not so entitled to blame it on someone else. If a potential source code contributor cannot read the contributing guidelines AT ALL that is on them, lesson learned. Really fuck em if they’re gonna stay butt hurt about it.. this should have been cleared up in kindergarten.
Re:Open-source, not open-contribution by cutemonster on Thursday January 28, 2021 @08:22PM (#25952336)
Some of them might get upset at the maintainers tough, and write something a bit angry, making it less pleasant to be a maintainer

> Really fuck em if they’re gonna stay butt hurt about it.. this should have been cleared up in kindergarten.

Such an attitude from a maintainer can piss people of and make them write angry things to the maintainer, causing him/her to quit.

Re:Open-source, not open-contribution by Elhana on Thursday January 28, 2021 @10:07AM (#25942865)
Why not just leave them open for some other people who might find them useful, but never accepting them?
Re:Open-source, not open-contribution by gus_massa on Thursday January 28, 2021 @11:48AM (#25944668)
Ten year later someone will post it here, as a proof that the maintainer of the project is not doing his/her "job".

Also, I remember a case where after some time someone decided that since the maintainer was not answering, it was fine to add insults and threats.

Re:Open-source, not open-contribution by tshaddox on Thursday January 28, 2021 @03:47PM (#25948947)
Surely having a disabled or hidden pull request button is also very solid proof that the maintainer is not accepting pull requests.
Re:Open-source, not open-contribution by enriquto on Thursday January 28, 2021 @09:29AM (#25942206)
> it's far less welcoming

Oh please, only somebody with a ridiculously thin skin would be offended by seeing rejected his PR to a project that clearly states that does not welcome outside contributions.

Re:Open-source, not open-contribution by gregoriol on Thursday January 28, 2021 @09:53AM (#25942582)
The other day I opened an issue on a project to mention that the project is not respecting some powerful convention (by dumping stuff when the user's configuration is to not dump stuff), and the project maintainer replied by saying that he doesn't care... that he thinks his choice is better.

I'm quite angry because I spent time investigating this problem and now it won't be fixed and it is not logical and I've lost my time.

Re:Open-source, not open-contribution by jerf on Thursday January 28, 2021 @10:07AM (#25942861)
Don't underestimate that "fork" button. If the software otherwise does what you want, but you need some particular change, fork away.

Obviously one needs to be judicious with this, but I've scored some big wins from this. In addition to bypassing projects who don't want to accept the (IMHO) perfectly reasonable contributions, I've also some cases where the upstream project shouldn't accept my changes and I shouldn't submit them. I've got one case where I forked a package and essentially twisted it so hard that it destroys it for its original purpose, even though it now does exactly what I need. A couple of others where the upstream is obviously dead. Another case I can think of where in principle the upstream could accept it, but it adds a subtle and easy-to-misuse feature to the package that I understand fairly well having written it, but would really encourage users to mess themselves up and is hard to document properly, so I probably won't ever submit it.

It's not something I do all the time by any means... the above paragraph describes nearly all the cases where I've done it. It's 3 or 4 in as many years. But each of them was a fairly large win.

Re:Open-source, not open-contribution by MaxBarraclough on Thursday January 28, 2021 @12:44PM (#25945529)
> If the software otherwise does what you want, but you need some particular change, fork away.

You'll then have to maintain the fork, re-applying your changes whenever the upstream repo is updated

Re:Open-source, not open-contribution by type0 on Thursday January 28, 2021 @04:43PM (#25949735)
It might not work with big projects but libraries and other smaller software is perfectly fine.
Re:Open-source, not open-contribution by jerf on Thursday January 28, 2021 @03:17PM (#25948411)
Obviously, one needs to be judicious with this.
Re:Open-source, not open-contribution by dialamac on Thursday January 28, 2021 @01:34PM (#25946578)
Microsoft or Oracle will be glad to sell you something then. Geeze the babies around here.. not every project maintainer is going to agree with you as was apparently the crux of the original complaint. You don’t always get your way. And Apparently just having the ability to fork the source and do whatever the fuck you want is not enough for these pratts.
Re:Open-source, not open-contribution by shock on Thursday January 28, 2021 @10:15AM (#25943007)
Presumably the project you mention is open source, so you've not lost your time – the time spent investigating the issue puts you in a better position to fork the project an implement the change to your specifications without involving the maintainer.

I don't understand the anger, are you angry because he doesn't have the same opinion as you and doesn't want to make the implementation behave according to your opinion?

Re:Open-source, not open-contribution by whimsicalism on Thursday January 28, 2021 @11:08AM (#25944043)
> I'm quite angry because I spent time investigating this problem and now it won't be fixed and it is not logical and I've lost my time.

I guess the lesson is that there is always someone angry over something unreasonable.

Re:Open-source, not open-contribution by mitjak on Thursday January 28, 2021 @11:01AM (#25943912)
it's.. not your project. if you disagree, fork away. your anger is on you.
Re:Open-source, not open-contribution by afarrell on Thursday January 28, 2021 @09:37AM (#25942322)
You are free to disbelieve the answer, but it still stands.
Re:Open-source, not open-contribution by DangitBobby on Thursday January 28, 2021 @09:36AM (#25942304)
Depends on how much work they put in, doesn't it?
Re:Open-source, not open-contribution by tombot on Thursday January 28, 2021 @09:48AM (#25942494)
Surely someone invested enough to submit a PR would have read the readme which explains they won’t accept a PR
Re:Open-source, not open-contribution by folkrav on Thursday January 28, 2021 @10:01AM (#25942762)
Reading stories from open-source maintainers, I have 0 difficulty believing many would not.
Re:Open-source, not open-contribution by qhwudbebd on Thursday January 28, 2021 @10:03AM (#25942793)
I really wish that were true!
Re:Open-source, not open-contribution by onion2k on Thursday January 28, 2021 @09:35AM (#25942288)
only somebody with a ridiculously thin skin...

People like that are very common and often very vocal.

Re:Open-source, not open-contribution by rectang on Thursday January 28, 2021 @09:37AM (#25942321)
> Am I missing anything?

In order to keep the IP for a project pristine (for the sake of downstream users), I would prefer never to see somebody else's copyrighted solution to a problem. If I see their contribution but I don't want to accept it, I'm forced to come up with a new creative solution that a court would (maybe, hopefully) consider original.

This is especially important for CC0/public-domain projects, where many contributors will not fully understand the implications of contributing and may not be in a position to release code into the public domain.

Re:Open-source, not open-contribution by enriquto on Thursday January 28, 2021 @09:40AM (#25942380)
> I would prefer never to see somebody else's copyrighted solution to an issue

You are doomed, then. They can always sent a (unrequested) email to you, Cc'd to a public mailing list. The PR interface is just another equivalent way for people to send messages to you, like email.

Re:Open-source, not open-contribution by rectang on Thursday January 28, 2021 @09:52AM (#25942567)
Somebody's really going to have to go out of their way to email a patch — they might even read the `CONTRIBUTING` document which says "Thanks but no!".

The Github Pull Request interface is an attractive nuisance, like an unfenced swimming pool. You can't keep people out with warning signs, they won't read them. Put up a fence, though, and even the obtuse will get discouraged.

Re:Open-source, not open-contribution by kelnos on Thursday January 28, 2021 @04:55PM (#25949914)
> * If you clearly state that you won't accept PRs and somebody still sends them, then you can close them right away and problem solved. Am I missing anything?*

I don't want to have to set up an auto-close bot when I should be able to just untick a checkbox in the project's settings.

I don't want to have to click through PR notifications and manually close them when I should be able to just untick a checkbox in the project's settings.

Re:Open-source, not open-contribution by Stratoscope on Thursday January 28, 2021 @02:57PM (#25948128)
> Another issue is that the github pull request model is not very "gitonic". There are much saner systems like sourcehut.

That is an interesting observation. Can you elaborate on what you mean? Thanks!

Re:Open-source, not open-contribution by bmn__ on Friday January 29, 2021 @04:24AM (#25955558)
Read https://blog.brixit.nl/git-email-flow-versus-github-flow/ and lots of articles by ddevault/sircmpwn about git-send-email on various discussion boards including HN.
Re:Open-source, not open-contribution by Joeri on Thursday January 28, 2021 @12:01PM (#25944899)
If the contributing.md says no PR’s are welcome and there is a pull request template which just says in big letters “PLEASE DON’T!” I doubt many people would get confused.

https://docs.github.com/en/github/building-a-strong-communit...

Re:Open-source, not open-contribution by Arnavion on Thursday January 28, 2021 @07:28PM (#25951763)
How does anyone even see the PR template? If you fork, push a branch with your fix to your fork, go to your fork in the browser and click the "Compare & Pull Request" button to make a PR from your branch [1], you don't see the template at all. The UI is auto-filled with the text from your commit message.

I thought everyone filed PRs this way; is there another workflow I haven't heard of?

[1]: It takes you to https://github.com/$upstream/$repo/compare/master...$you:$br...

Re:Open-source, not open-contribution by rectang on Thursday January 28, 2021 @09:28AM (#25942189)
Is it possible to "archive" and then "unarchive" a Github repo using the Github API?

If so, one possible solution is to maintain the primary repo elsewhere (Source Hut, Gitlab. wherever), and run a sync routine on a cron (or perhaps every push):

1. unarchive Github mirror repo

2. Push changes from primary repo to Github mirror

3. archive Github mirror repo

There's a race condition where someone might see the unarchived repo and start a pull request during the brief period where the sync is taking place, but the possibility that they'd both start and then fisish a pull request during sync periods seems remote.

Re:Open-source, not open-contribution by gregoriol on Thursday January 28, 2021 @09:47AM (#25942474)
The problem with archive is that it looks like "not maintained anymore"/"deprecated", which is not the case here.
Re:Open-source, not open-contribution by rectang on Thursday January 28, 2021 @09:59AM (#25942713)
I agree, it's a hack. This hack competes with the "auto-close all pull requests" hack.

Which hack you would choose depends on how important it is never to see pull requests (e.g. for IP reasons as described elsethread).

Re:Open-source, not open-contribution by _jal on Thursday January 28, 2021 @10:40AM (#25943528)
Seems weird to me to blindly fire off a PR to a project I've never communicated with. I've always asked first, mainly because I don't want to waste my time if they won't give it any consideration. And also because maybe they're already working on whatever I was thinking of, or are doing it in a different way, or...
Re:Open-source, not open-contribution by mhitza on Thursday January 28, 2021 @02:53PM (#25948032)
My contributions are fixes that I need now. So after I fix the issue for my usecase I fire off a PR upstream.

As a maintainer you are free to close my PR, or work togheter with me to bring it in line with your project standards.

Re:Open-source, not open-contribution by publicola1990 on Thursday January 28, 2021 @01:48PM (#25946865)
That ok, but there is also the thought that if you see a picture hanging in the wall is tilted, it is better to jt straighten it without waiting to ask permission. It is easier to ask for forgiveness than for permission.
Re:Open-source, not open-contribution by kminehart on Thursday January 28, 2021 @01:50PM (#25946913)
It's crazy to me that the open source world has completely standardized on a closed (and now Microsoft) product like GitHub. I'm sure someone would have implemented this feature for them by now if it was free software.
Re:Open-source, not open-contribution by Jkvngt on Friday January 29, 2021 @12:02AM (#25954169)
To be fair, MS only bought GitHub after it became very popular.
Re:Open-source, not open-contribution by mathnmusic on Thursday January 28, 2021 @10:36AM (#25943455)
Does this not serve the purpose?

Repo -> Settings -> Moderation Settings -> Limit to repository collaborators

Re:Open-source, not open-contribution by dbrgn on Thursday January 28, 2021 @12:33PM (#25945346)
This cannot be enabled permanently. Max duration is 6 months.
Re:Open-source, not open-contribution by Footkerchief on Thursday January 28, 2021 @10:40AM (#25943543)
"Disable pull requests while keeping issues"
Re:Open-source, not open-contribution by trynewideas on Thursday January 28, 2021 @01:53PM (#25946972)
> Github really needs to allow people to disable the "Pull Request" tab on repos, to reduce the stigma around not accepting pull requests.

It's more of a workaround than a solution, and depends on how much you trust GitHub Actions, but this one will autoclose all issues and/or PRs.

https://github.com/marketplace/actions/repo-lockdown

> Best solution is to keep code somewhere other than github. Is sourceforge still around?

Aside from Sourceforge and self-hosting (simply via gitweb, or with GitHub-like features in Gitea, Phabricator), there are the big ones like GitLab and Bitbucket, cloud repo services on AWS and Azure, and smaller/indie services like Sourcehut (sr.ht), Launchpad, and RhodeCode.

Re:Open-source, not open-contribution by tecnocriollo on Thursday January 28, 2021 @07:16AM (#25940901)
Gitlab is a nice option
Re:Open-source, not open-contribution by SamWhited on Thursday January 28, 2021 @07:52AM (#25941152)
With apologies to the GitLab team, our views of how to make good software vary drastically and yours may be more in line with other peoples, but not mine: Maybe Gitlab's gotten better recently, but it's probably the most annoying piece of software I've ever used (well, second to Confluence maybe). It does everything which might be appealing to some, but for me it just meant everything was confusing, inconsistently labeled and documented, and/or buried under 5 levels of menus or under buttons that made no sense.

The way I explain it is you know how when your computer illiterate parents ask you to do some simple task that you have literally no idea how to do, but you look at some menus that have vaguely similar sounding titles based on your years of building up intuitions about how computer UIs work, click those menus, find what you need and do the task? GitLab breaks all those intuitions so easy tasks become hard.

YMMV, of course.

I've been using Sourceforge recently and am pretty happy with it overall, though it's still very alpha quality.

Re:Open-source, not open-contribution by scaladev on Thursday January 28, 2021 @08:06AM (#25941258)
I think you mean sourcehut:

https://sr.ht

Re:Open-source, not open-contribution by toyg on Thursday January 28, 2021 @09:07AM (#25941894)
I hope so! If he really meant Sourceforge is alpha-quality after decades, I fear he'd forever be disappointed with the state of all software...
Re:Open-source, not open-contribution by hutzlibu on Thursday January 28, 2021 @05:07PM (#25950092)
I hope so too, but mainly because sourceforge burned all reputation and trust for me, when they sneakily bundled adware to OSS installers.
Re:Open-source, not open-contribution by SamWhited on Sunday January 31, 2021 @02:07PM (#25981529)
lol, oops, yes, I did indeed mean sourcehut.
Re:Open-source, not open-contribution by ljm on Thursday January 28, 2021 @09:25AM (#25942139)
I like GitLab but it has to be the only product I've used that gives you a different form of navigation almost every time you visit the site.

Will it be at the top? Down the side? Tab based? Drop downs? Who knows!?

Meanwhile, Github's UI is so stable (outside of the super infrequent redesigns) you basically develop a muscle memory for it.

Re:Open-source, not open-contribution by SulfurHexaFluri on Thursday January 28, 2021 @06:22PM (#25950971)
Gitlab is meant to be an alternative to entire suites of products from competitors so it makes sense. At work we make use of most of the features of gitlab so its a really great thing they include them all.

Honestly I'm not sure how you could even be confused by it as an individual developer either. I used it for my individual projects before getting a real development job and didn't have any issues. It different to github but not worse or less correct. Its just github has become the standard on what the default layout and names should be.

Re:Open-source, not open-contribution by SamWhited on Sunday January 31, 2021 @02:09PM (#25981545)
I mean, if you're an individual contributor who just sticks to making merge requests it's still more confusing than GitHub et al, but I'll grant that it's at least livable. If you have to touch literally any other part of it, or (in my case) are the person setting it up though it's just about impossible.
Re:Open-source, not open-contribution by skohan on Thursday January 28, 2021 @07:25AM (#25940965)
I've transitioned to gitlab for new projects about a month ago, and so far the experience has been great.
Re:Open-source, not open-contribution by Vinnl on Thursday January 28, 2021 @07:38AM (#25941052)
It might be me, but I don't see an option to disable Merge Requests in GitLab?
Re:Open-source, not open-contribution by dnsmichi on Thursday January 28, 2021 @07:50AM (#25941134)
Hi, GitLab team member here.

You can find it in the project settings in the "sharing and permissions" section: https://docs.gitlab.com/ee/user/project/settings/#sharing-an... You can also disable the repository feature, and use the project for issue management only.

Re:Open-source, not open-contribution by Vinnl on Thursday January 28, 2021 @01:27PM (#25946446)
Heh, got it - I was looking under "Merge requests" :) Thanks both!
Re:Open-source, not open-contribution by algo_cheese on Thursday January 28, 2021 @07:51AM (#25941139)
In your project "Settings" -> "General" -> "Visibility, Project features, permissions" -> "Merge Requests".

IIRC, you must be owner of the project.

Re:Open-source, not open-contribution by hutzlibu on Thursday January 28, 2021 @05:14PM (#25950177)
"Best solution is to keep code somewhere other than github. Is sourceforge still around? "

How about just stating in README about your PR policy in big letters? And if then people get angry because they were too lazy to read, .. well you cannot and should not please everyone.

Anyway, and what bothers me with GitHub is Microsoft, even though so far I cannot really complain. At least they have not sneakily bundled adware with OSS installers, like sourceforge did. So they really lost all reputation and trust for me and are never a alternative again. I rather go with microsoft and that says something.

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.
Re:Open-source, not open-contribution by toyg on Thursday January 28, 2021 @09:13AM (#25941969)
Github allowing you to disable PRs would be a bit like Facebook allowing you to opt out of ad-tracking...
Re:Open-source, not open-contribution by johannes1234321 on Thursday January 28, 2021 @09:21AM (#25942079)
I don't get the analogy.

Also mind: Even if pull requests are off somebody else might emerge and maintain a fork, which becomes more successful. Maybe even going as far that that the original owner can safely outsource the maintenance of the thing he created.

Re:Open-source, not open-contribution by toyg on Thursday January 28, 2021 @10:04AM (#25942808)
The whole business model of GitHub is to get you to use its proprietary social features, so that 1) you get locked-in, and 2) you generate and maintain adoption virality.

The minute they become just another dumb git host, their relevance disappears.

Re:Open-source, not open-contribution by sofixa on Friday January 29, 2021 @12:36PM (#25959953)
> 1) you get locked-in,

How do you get locked in? PRs, once merged, are just regular commits. You lose the history and discussion around the PR itself, but that's all, but it's not like any alternative allows you to migrate ( e.g. the abomination that is using email for git collaboration is stuck in unreadable, unsearchable, unindexed emails somewhere; you can copy the data pretty much the same way as from GitHub, but both are unexploitable without a lot of tinkering / adaptation)

Re:Open-source, not open-contribution by justaguy88 on Thursday January 28, 2021 @02:45PM (#25947889)
Re:Open-source, not open-contribution by whateveracct on Thursday January 28, 2021 @02:05PM (#25947212)
I guess you can add a PR template that says "PLEASE DON'T SEND ME PRS"
Re:Open-source, not open-contribution by TheRealPomax on Thursday January 28, 2021 @12:28PM (#25945261)
Also the "fork" option. If you want the source, pull the official source, but there are plenty of projects where people should not be creating their own copy that is on equal footing as the authoritative repo.
Re:Open-source, not open-contribution by yawaramin on Thursday January 28, 2021 @12:33PM (#25945344)
It's a widely-known practice for companies to internally fork and vendor software they use.
Re:Open-source, not open-contribution by TheRealPomax on Sunday January 31, 2021 @02:10PM (#25981551)
Sure? But that doesn't mean you can't give people the power to turn off that "one-click, no thinky thinky effort effort" option.
Re:Open-source, not open-contribution by Communitivity on Thursday January 28, 2021 @07:45AM (#25941096)
If you are writing something to contribute it to a project, then you should discuss the idea with the current committers/maintainer on the project's mailing list, or discord, or however they communicate.

If you don't, and you submit a PR, you should expect the PR to be closed with a "Unfortunately, this change was not discussed. As a result it may clash with other efforts underway, or our future roadmap. Also, not having discussed it prior to the PR increases the suspicion that you have not followed our coding guidelines. Consequently this PR is closed. Please propose the change on the mailing list and take part in the discussion before revising this patch and resubmitting the PR."

Because of this I think an auto-close is fine. I also do think Github should allow disabling the PR tab.

Re:Open-source, not open-contribution by gus_massa on Thursday January 28, 2021 @08:16AM (#25941334)
I agree, but I'd make an exception for fixing typos, obvious bugs and tiny additional features. Sometimes the change takes less time that discussing in other channels, and sometimes it's easier to explain with code if you are not a native speaker.

I think that spending more of a weekend in a PR without checking before with the maintainers is a bad idea, because there is a big risk that is not merged and is a waste of time.

Also, each project has it's own weird rules, like code style, space vs tabs, changing whitespace in unrelated lines, adding tests, ... and a long list. Some are written explicitly, and some are just implicit rules. So sometimes it's difficult to make a PR that follows all the rules.

Re:Open-source, not open-contribution by Communitivity on Thursday January 28, 2021 @09:44AM (#25942429)
100% agreed. Things that are obvious to fix and have no design impact should be ok to PR and get accepted quickly.

Every rule has exceptions, and this is definitely one for the rule I described. Thank you for pointing reminding me and clarifying.

Re:Open-source, not open-contribution by phkahler on Thursday January 28, 2021 @11:56AM (#25944795)
Yep. We had a PR for a single character typo. The submitter went to a lot of trouble, but the burden to the project really was as small as could be. No discussion, no open issue, just a PR with a one liner that could be reviewed in seconds and accepted with a click. Any other process would have been more work for the maintainers.
Re:Open-source, not open-contribution by matthewmacleod on Thursday January 28, 2021 @08:55AM (#25941737)
I guess this would probably solve the problem of you getting unsolicited contributions – by making you come off as such a gigantic raging arsehole that nobody would want to work with you again.
Re:Open-source, not open-contribution by Communitivity on Thursday January 28, 2021 @09:52AM (#25942564)
Perhaps? But if someone had that attitude, and couldn't be bothered to discuss design impacting changes with the devs who are making sweeping changes impacted by the contributor's change? In that case I don't want them on my project, because they are toxic, and probably toxic in other ways.

More people need to realize that Open Source projects are a gift from the authors to the software community. Other developers do not have the right to make changes, push for the development to go in a certain direction, etc. If an author wants that they'll turn stewardship over to a committee and maybe be part of such a committee. You have only two rights with Open Source work you want to work differently: fork it or forget about it (i.e., not use it). Anything else is a massive gift from the maintainer(s) and should be viewed as such.

And yeah, as you can tell from the last paragraph I'll proudly wear an Arsehole button to avoid wearing a Burnout button. Heck, to borrow from Bruce Lee in Snowcrash, I'd even wear a "12 Gauge" button to avoid burnout (button only though, the behavior is not for me).

Re:Open-source, not open-contribution by young_unixer on Thursday January 28, 2021 @12:02PM (#25944903)
That didn't work for Torvalds.
Re:Open-source, not open-contribution by didibus on Thursday January 28, 2021 @06:17PM (#25950932)
Ya Github just needs a way to disable everyone to create issues and/or PRs.
Re:Open-source, not open-contribution by fortran77 on Thursday January 28, 2021 @09:49AM (#25942517)
Amazon CodeCommit works great for me.
Re:Open-source, not open-contribution by bcfalconer on Thursday January 28, 2021 @10:08AM (#25942882)
Like all of AWS, the pricing seems opaque and without hard limits:

https://aws.amazon.com/codecommit/pricing/

"Our transaction and storage quotas are designed to handle the most common developer workflows without incurring overages. For most workflows where CodeCommit users are manually using Git operations, these quotas are rarely breached."

"$0.001 per Git request"

I need an option that is limited to $5 a month, with DDoS being their problem.

Re:Open-source, not open-contribution by sofixa on Friday January 29, 2021 @12:37PM (#25959974)
> I need an option that is limited to $5 a month, with DDoS being their problem

DDoS is always their problem. AWS and co always waive charges due to attacks or significant errors on user's part ( e.g. writing an infinite loop that results in a huge bill)

Re:Open-source, not open-contribution by pabs3 on Thursday January 28, 2021 @08:16AM (#25941332)
SourceForge is still around. I would suggest SourceHut over SourceForge these days though (not sure if SourceHut can turn off contributions).
Re:Open-source, not open-contribution by kodah on Thursday January 28, 2021 @08:59AM (#25941794)
I'm not really sure I'd use either. I did attempt to host my own SourceHut but after joining their channel on Freenode and mentioning Kubernetes/containers twice (because I didn't get a response a day later.) I got a message saying, "We don't take too kindly to Kubernetes around here." which didn't come off very well. This wasn't the same as, "you're on your own."
Re:Open-source, not open-contribution by ddevault on Thursday January 28, 2021 @08:17AM (#25941349)
SourceHut has you opt-in to anything you want - bug trackers, mailing lists for patches, git or hg repos, etc. The source code repository isn't the singular source of truth for a project like it is on GitHub. You can have a project with a dozen bug trackers, two mailing lists, and five source code repositories, organized in whatever way makes sense for your project.
Re:Open-source, not open-contribution by andrepd on Thursday January 28, 2021 @08:23AM (#25941416)
The flexibility is cool, but why would you want to fragment your bug trackers, for example, like that?
Re:Open-source, not open-contribution by ddevault on Thursday January 28, 2021 @08:50AM (#25941682)
Sometimes it makes sense to have different bug trackers for each sub-product, but also one for support, and one for your infrastructure issues, and a locked-down one for security tickets, and maybe another for packaging issues - any of which may not have associated source repos. Whatver organizational model meets your project's needs best, you have the flexibility to apply it. And people often do! A lot of the projects on sr.ht, given this flexibility, haven't recreated the same model as GitHub shoehorns you into.

It goes beyond bug trackers, too. One other detail is that different projects can share resources with one another. I use one mailing list to slurp up all patches for my smaller side projects into one place, for example.

Re:Open-source, not open-contribution by andrepd on Thursday January 28, 2021 @11:29AM (#25944393)
Gotcha, that makes sense. Thanks!
Re:Open-source, not open-contribution by JosephRedfern on Thursday January 28, 2021 @08:26AM (#25941449)
I think this was just an example, really, but I know some projects have an external bug tracking tool to document customer-reported issues, and closed, employee only ones to discuss the issue internally.
Re:Open-source, not open-contribution by callmeal on Thursday January 28, 2021 @08:38AM (#25941566)
So you can have a separate one for "internal" and "external" customers perhaps?
Re:Open-source, not open-contribution by pabs3 on Thursday January 28, 2021 @08:35AM (#25941541)
SourceForge can do that too.
Re:Open-source, not open-contribution by MereInterest on Thursday January 28, 2021 @08:48AM (#25941666)
SourceForge is still around, but since they were caught adding adware/malware to downloads (2015, I think), I wouldn't trust them at all.
Re:Open-source, not open-contribution by eitland on Thursday January 28, 2021 @08:54AM (#25941724)
They've since changed ownership and the new owner seemed to put a lot of effort into cleaning it up.
Re:Open-source, not open-contribution by toyg on Thursday January 28, 2021 @09:11AM (#25941939)
I had the same feeling, but just the other day I found that a bunch of pretty critical stuff (the underpinnings of very popular NAS solutions like openmendiavault) is still rooted there. They also seem to have dialed down their "ADS ADS ADS!!!!!111!" strategy, probably as a result of that scandal and subsequent takeover.

I'm still pissed at Filezilla for jumping on that particular adware bandwagon though...