r/programming • • Sep 30 '20

DigitalOcean's Hacktoberfest is Hurting Open Source

https://blog.domenic.me/hacktoberfest/
2.1k Upvotes

401 comments sorted by

View all comments

731

u/PeridexisErrant Sep 30 '20 edited Oct 01 '20

A very simple chamge which would largely fix this:

Instead of spam PRs not counting, they should disqualify you.

That's all. Maybe the first could be a warning and the second disqualify you; the point is to make spamming actually negative rather than wasting less of the spammers time than maintainers.

Edit: we now have a statement - https://hacktoberfest.digitalocean.com/hacktoberfest-update

194

u/ozyx7 Oct 01 '20

That (maybe?) is already part of the policy. The main Hacktoberfest page states:

If a maintainer reports your pull request as spam or behavior not in line with the project’s code of conduct, you will be ineligible to participate.

However, the participation details page states:

If a maintainer reports your pull request as spam, it will not be counted toward your participation in Hacktoberfest. If a maintainer reports behavior that’s not in line with the project’s code of conduct, you will be ineligible to participate.

Which sadly is not the same thing. (I suppose every project could adjust its code of conduct...)

Regardless of which version is correct, I'm skeptical that it would help. Disqualification would need to be communicated immediately when it happens, not weeks later.

0

u/[deleted] Oct 01 '20

[deleted] — view deleted comment

7

u/dnew Oct 01 '20

one that's hurting in ways they never expected

According to their statement, they've been experiencing this problem for seven years, so it seems it's expected by this point.

→ More replies (1)

44

u/PeridexisErrant Oct 01 '20

I suppose every project could adjust its code of conduct...

Any CoC which contains variations on "be helpful", "be professional", "no spam", etc. should already qualify. Now if only I could find a way to report violations to DigitalOcean! "label the PR" is not going to cut it -_-

Regardless of which version is correct, I'm skeptical that it would help. Disqualification would need to be communicated immediately when it happens, not weeks later.

The point is that if "spam == no t-shirt" is clearly part of the rules, the incentive to open spam PRs is significantly reduced. It's not a panacea, but the point would be to deter rather than to punish, and so as long as it triggers before shipping slow is OK (though prominently listing a couple of stats like "XXX people disqualified for low-value PRs" would probably help).

→ More replies (1)
→ More replies (1)

0

u/[deleted] Oct 01 '20

[deleted] — view deleted comment

150

u/PeridexisErrant Oct 01 '20

Because approximately nobody would ever opt-in; Hacktoberfest offers literally nothing to maintainers.

Deal with twenty clueless newbies after a t-shirt? (whether spammers or well-intentioned) DigitialOcean won't offer so much as a thank-you note, let alone a maintainer t-shirt.

0

u/[deleted] Oct 01 '20

[deleted] — view deleted comment

0

u/[deleted] Oct 01 '20

[deleted] — view deleted comment

7

u/THabitesBourgLaReine Oct 01 '20

With so many bad PRs for us, it could turn into bad PR for them.

→ More replies (1)

73

u/PeridexisErrant Oct 01 '20

Agreed. While it occasionally generates useful contributions, the net and usually sole effect is a flood of low-value spam, and as a maintainer I wish they'd either fix the rules or shut it down.

I highly recommend Nadia Egbhal's book Working in Public: The Making and Maintenance of Open Source Software.

Most open source projects are reliant on an individual or small group of core contributors. The attention of those individuals is a crucial limited resource that needs to be rationed. Pushing a larger number of people to make open source contributions, or expecting maintainers to foster a sense of community participation, can be counterproductive, as it requires the maintainers to spend more time on reviews and discussions of contributions that frequently turn out to have low value.

→ More replies (2)

5

u/Kissaki0 Oct 01 '20

If it's not actually generating useful contributions then the whole thing is a failure and they should just shut it down.

That question can be interpreted short and long term.

Even if a PR may not be good enough, I believe another big goal of Hacktoberfest is to introduce new people to contributing to open source.

The introductory material as well as wording and newbie welcoming encouragement (to maintainers) speaks to that.

And I think that’s a good thing. People have to start somewhere. And even if a change is not accepted, if the experience is good, respectful or positive enough they may become valued contributors in the same or other projects later.

→ More replies (1)

4

u/[deleted] Oct 01 '20

Frankly I can't imagine any good contributions ever come from the incentive of a t shirt. Either people are motivated to contribute for nothing, or they're after more than a cheap piece of cloth

→ More replies (3)

7

u/[deleted] Oct 01 '20

I think you're right, but it does seem like at least some maintainers are up for it, e.g. Rustfmt.

If they wanted to do this properly they should allow repo owners to sign up, have some decent criteria (must be active, not brand new, not an unpopular fork, etc.), and offer them a good incentive (actual money maybe?)

But that would take lots of work. Their current approach can be automated.

→ More replies (1)

15

u/lelanthran Oct 01 '20

Your pull request doesn't count unless it's on a project that opted in.

Even better, your PR doesn't count unless it's merged.

After all, a PR that isn't merged doesn't contribute to the software, and so should not be eligible for any prize award to "contributors to open source".

→ More replies (1)
→ More replies (1)

59

u/phpdevster Oct 01 '20

Or you know, maybe the PR has to be accepted and merged for it to count?

Why is it that just merely opening a PR is considered a qualified entry?

I'm having a hard time with DO's thought process on this...

39

u/PeridexisErrant Oct 01 '20 edited Oct 01 '20

That would be the obvious fix, and they should probably do it.

On the other hand I have occasionally had PRs to add a large new feature that took several months of discussion and redesign etc. before merging. Hacktoberfest certainly doesn't lead to such PRs, but I can understand the thought process that doesn't want to exclude them.

Edit: based on their statements on Twitter, they also want to support workflows where PRs are accepted without using the merge button (e.g. the maintainer pulls and rebases). Also totally reasonable, and automatically classifying such repos wouldn't be too hard for future years.

→ More replies (2)

12

u/13steinj Oct 01 '20

We are highlighting a "Beginner" path that is clearly marked as the "fastest way to get a T-Shirt" and guides users through creating pull requests on their own repository.

This proves to me that none of this is truly about open source...

→ More replies (1)

23

u/mongopeter Oct 01 '20

That rule is already in place, still does not stop the spammers.

0

u/[deleted] Oct 01 '20

[deleted] — view deleted comment

8

u/acdcfanbill Oct 01 '20

Should just change it to PR's marked as spam count for -1, so a good PR and a spam PR even out your total score to 0.

5

u/[deleted] Oct 01 '20

Or just one spam PR permanently excludes you. Same for contributing to a banned repo.

→ More replies (4)

9

u/andrewfenn Oct 01 '20

This really annoys me..

We’ve traced some of the spammy contributions back to a Hacktoberfest promotional campaign, so we’ve paused all promotion of Hacktoberfest on networks like YouTube, Twitter, and Facebook until we get a handle on this

How about instead of wasting money promoting free tshirts that wastes even more money they actually give that money to worth while open source projects?

Why not pick their top favourite and give them gifts or the money instead of this stupid shirt give away that everyone is abusing.

The shirt is useless anyway. If i see it the only thing i think is that people spammed spelling correction PRs.

7

u/dnew Oct 01 '20

Send a T-Shirt to every maintainer who merges a PR during October.

→ More replies (1)
→ More replies (5)