Skip to content

Instantly share code, notes, and snippets.

@ryanflorence
Last active May 18, 2022 03:11
Show Gist options
  • Star 117 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save ryanflorence/8a62abea562ca2896dee to your computer and use it in GitHub Desktop.
Save ryanflorence/8a62abea562ca2896dee to your computer and use it in GitHub Desktop.

Turning Off Github Issues

My friend Michael Jackson turned off github issues on one of his smaller projects. It got me thinking...

Maintainers getting burned out is a problem. Not just for the users of a project but the mental health of the maintainer. It's a big deal for both parties. Consumers want great tools, maintainers want to create them, but maintainers don't want to be L1 tech support, that's why they burn out and everybody suffers.

The solution is to get more people involved, but how? Some of us think that letting people open issues helps. I don't. Most issues opened are bogus: an incorrect module import, not knowing that promises swallow errors and incorrectly assuming it's the project's problem, or they're questions that are already answered in the README or docs.

This isn't a rigorous statistic, but I'm pretty sure these are 99% of the issues on Github.

Issues aren't creating contributors, and they aren't really helping the project's code either. You're either spending time closing bogus issues or you're trying to find other people to do it, either way it's not healthy for any of you.

What if we just turned off the issues tab?

Consider this: issues are for powerless customers. You open an issue with your software vendor because you don't have the power to fix the problem. But programmers, using open source, do.

Pull Requests for Everything

Opening a Github issues doesn't require you to learn anything new, write any code, or even see the source code of the project. If we turn off issues, then the only feedback mechanism is a pull request. Let's explore the only use-cases I can think of for issues, and how they can be handled with pull requests.

Think you found a bug?

Fork the repo, add a failing test. This will encourage devs to learn how to write tests, and in the process, maybe discover that the test passes and something is broken in their app.

Too early in your career to take on writing a test case? Add an example in the repo that illustrates the bug. If you are able to write enough code to think you've found a bug and open an issue, you are able to open the examples/ directory of a project and make a new one that shows the bug. You may, again, find that the bug is in your app, saving the mental health of the maintainers from wild goose chases for bugs that don't exist. Or, you'll make the pull request, the maintainer can run your example and see "ah there is a bug" and then fix it.

Using issues for this doesn't give the developer any new experience and usually leads to the maintainers chasing down bugs that don't exist.

Using a pull requests with a test case or an example gives the developer new experience, puts the project's code into their editor, and validates or invalidates their bug before ever asking for the free time of the maintainers.

If we want to include more people in open source, I can't think of a better way than getting open source code on their machines and into their editors.

Want to discuss a feature?

Talking about code is often fruitless until there's some actual code to talk about. Pull requests require some code in order to start a conversation.

Write a proof of concept and make a pull request. Nothing is better than code that kind of works when discussing features. It reveals shortcomings of the current code and helps everybody understand better what it's going take.

Don't have time or know-how to write a PoC? write some tests that illustrate the feature. You don't need an implementation, just write some assertions that show the API you think would be good. Or, write an example that doesn't work. These options let everybody involved know exactly what you're trying to do and the conversation will go way faster.

It's social coding. Let's have our conversations start with code, working or otherwise. Let's build up contributors by getting some OSS in their editor, and get them writing some code.

Have a question?

Okay, we can't do pull requests for this. But issues are a terrible place for questions anyway. Read the docs, read the examples, go to stack overflow. Questions aren't issues.

Whatever community of folks answering questions you want to build you can build on a platform designed for it. Maintainers can look at the questions over there to get a feel for where their documentation is lacking, but you don't need the issue tracker cluttered up overwhelming maintainers. Turning off issues forces this optimal scenario.

@AndrewMcSwain
Copy link

As a former total noob that stumbled on all of this years ago trying to get sticky windows on my mac. I could handle writing tests for lots of problems i've encountered with OSS, but I've never written a test. Tests are something professionals do, beginners these days don't hear any talk about testing freecodecamp and eloquent javascript and even sicp dont go into it. I've picked up some books on the logic of programming to help me build systems, but I am still far from considering myself fluent in anything from this rabbit hole i'be crawled into.

Github is too involved for most, and Stack Overflow is too discontinuous for some serious edge cases.

As an example, I have spent countless hours studying the bcma b43(BroadCom) frameworks for linux boxes. I could probably, with social coding, try to fix my own issue and learn a shit ton about wiress network interfaces in the process.

Which would connect very well with my studies into radio.

@hypeJunction
Copy link

I guess the first question you need to answer is who you write the code for? Do you just share with the world for the good will (why waste code laying around with no good use to you, maybe it helps others), or do you actually want to grow a user base (framework wars). I think this idea is great for the former, but might not be suited for the latter. I think what you really want is just disable notifications, put a disclaimer in the readme, and fix bugs when you actually get to it next time you need the package. I think we burn out striving for perfection, we just need to accept that we are human and move on. I think we need to learn when to stop, it's good enough that we make our work available for free.

@Aboelfotoh83
Copy link

I think Github is not like any other ordinary website. It is a huge reference for many programming and other issues. Of course it is up to the person himself to turn off the issues. But for myself I don't because I want to know any new idea or opinion or point of view about the issue.

@kj7rrv
Copy link

kj7rrv commented Apr 27, 2020

What if a user does not know the language? You can get valuable info about bugs from nonprogrammers filing issues, even if the useful ones are a minority.

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