Hacker News new | ask | show | jobs
by mhitza 779 days ago
> suggests a lack of commitment to the open-source model.

I literally chuckled when I read your comment. It sounds reasonable to flatten commits before a release, as I, and others, who are hacking on code litter their history with "fix this" / "fix that" / "asjhdasjd" / "f**".

Open source model doesn't mean version control transparency. Open source model could also be development done in a private fork, and release commits dumped into a public repository.

2 comments

I concur, my first commit was a big one, squashed to avoid showing my shitty history, after coding an MVP for 3 months. I initially had no intention to open-source, so I was caring at all about my commit history. I still had one or two questions like "is it even your code?".
Yeah, open source could mean code distributed in zip bundles. Git history is an orthogonal concern.
I said "open source model" rather than just open source. While open source is only about the licence, I think publishing on GitHub typically implies a further model of accepting contributions, developing in the open, and being a part of that ecosystem.

In my experience this is how open source projects tend to thrive in the last 15 years or so. Projects that are open source but don't accept contributions and just dump a zip on a website somewhere once a year are a very different thing and lose some of the benefits.