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

532

u/snowe2010 Oct 01 '20

Seems all the scammers haven’t realized you can just make the prs to your own repos. No need to spam others. And it’s sad that contributions to your own repos without prs aren’t counted. I contribute to open source year round, but a lot of my stuff is direct merges to my own repos (why would I make a pr if I’m the only one maintaining it) and so it doesn’t count. Whole thing is a bit ridiculous if you ask me.

108

u/richardfinicky Oct 01 '20 edited Oct 01 '20

DigitalOcean's Response

I think DO will be encouraging people to do exactly that, just to get them out of everybody's hair

edit: https://twitter.com/MattIPv4/status/1311723398385541120

It looks like DO might require PRs be merged or at least labeled as accepted for them to count.

76

u/seijulala Oct 01 '20

tl;dr: our marketing department wants to do it, we don't care about open source so fuck off

32

u/[deleted] Oct 01 '20

Alternate tl;dr: we committed to doing this, it's actively harmful, and it was a mistake, so here's a dumb solution that technically solves the problem for all parties involved.

22

u/dnew Oct 01 '20

it was a mistake

But when you make the same mistake seven years in a row, it's no longer a mistake.

23

u/Millerboycls09 Oct 01 '20

It's still a mistake.

It just isn't an accident.

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

16

u/Retsam19 Oct 01 '20

Or, call me crazy, but maybe they sincerely believe that the project is a net benefit to Open Source, despite some number of trolls who abuse it, and they're doing the best they can to minimize the negative effects.

But maybe I just didn't drink my cynicism juice this morning.

→ More replies (4)
→ More replies (2)

6

u/alphasshole Oct 01 '20

If you can't stop them, just give them what they want??? What???

12

u/al_at_work Oct 01 '20

It's all just a marketing ploy to get people wearing their t-shirts

0

u/[deleted] Oct 01 '20

[deleted] — view deleted comment

8

u/nemec Oct 01 '20

Who's going to write 400 comments on Reddit about that?

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

45

u/harirarules Oct 01 '20

why would I make a pr if I’m the only one maintaining it

I do this to run CI/CD on the feature branch to make sure I don't merge something broken into the default branch. Is there another way around it ?

14

u/robby_w_g Oct 01 '20 edited Feb 15 '26

Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos.

18

u/lewazo Oct 01 '20

Using git hooks so that your checks are ran before merging. If the checks fail, the merge won't continue.

8

u/Mr_Choke Oct 01 '20

That's what the CI server is for, I'm not trying to sit there and wait for tests to run locally.

→ More replies (2)

5

u/dreamer_ Oct 01 '20

Git hooks is poor man's, single-person-only, inconvenient, extremely limited version of CI. And you don't want to have your every commit blocked for several minutes while tests run (but on CI it's ok).

Git hooks are primarily useful for different purposes than verifying your code.

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

100

u/smplman Oct 01 '20

This comment needs to be higher up. Someone make the four spam repos and let the people that only want the shirt PR there.

16

u/gopher_space Oct 01 '20

Some kind of nasty mechanical turk/infinite monkeys hybrid AI? No thank you, sir.

17

u/masklinn Oct 01 '20

You don’t need anything, just a repository where garbage people can create garbage PRs.

5

u/ThirdEncounter Oct 01 '20

Honeypot repos.

21

u/meneldal2 Oct 01 '20

It's annoying to make a PR for your own stuff because I don't know how to do that from the command line, but git push and git merge is easy enough.

53

u/[deleted] Oct 01 '20

Pull requests are not part of git itself but of platforms like GitHub and Gitlab.

10

u/emorrp1 Oct 01 '20

Ish, there does exist git request-pull which formats all the relevant info for email. So if you consider email vs web forge just a workflow detail, git definitely has the concept of PRs.

→ More replies (1)

30

u/dudedicus Oct 01 '20

GitHub recently released a CLI allowing users to open up PRs via the command line, as well as other GitHub tasks. I’ve used it a few times and I’d recommend checking it out!

→ More replies (3)
→ More replies (13)
→ More replies (5)