News for hackers. Stuff that matters.
Re:What comes after Git? by bachmeier on Friday December 25, 2020 @08:07AM (#25536244)
> Git still works great.

Of course, for people that know how to use it. I'd argue that the heavy use of Github combined with the adoption of advanced Git workflows is currently the biggest threat to open source. There's no such thing as "submitting a patch" these days. You're expected to be a master of a project's Github workflow to contribute. Most of us (myself included, with a few exceptions) just don't bother.

Re:What comes after Git? by compsciphd on Friday December 25, 2020 @08:23AM (#25536312)
I dont understand this issue. I'd argue that github PR model has simplified "submitting a patch" to a tremendous degree.
Re:What comes after Git? by u801e on Friday December 25, 2020 @01:50PM (#25538230)
Before Github, submitting a patch required reading some documentation in the project about how to submit patches, set up one's git config to properly generate the patches and email them. Then came the part of actually making the changes, generating the patches and running a git command to submit them.

With Github, one has to fork the project, run some commands to clone the repo from the fork, make the changes, push them, and then go back to the web interface to create the pull request.

Re:What comes after Git? by gnufx on Friday December 25, 2020 @03:16PM (#25538725)
It didn't even require that. You fixed something from the immediately-buildable tarball that you'd rebuilt and tested, or even something that didn't need a rebuild (config, doc, interpreted source), and sent the change, perhaps using M-x diff-backup. You didn't have pull 100Mb of git stuff, figure out how to rebuild the build framework, find you hadn't got the submodules, prat about with a pull request, and then whatever demands it makes of you, etc.

I was fine with that as a maintainer too, on three very active major projects at one time (using a 48Mb Pentium 1). A maintainer's job is partly to make it easy for contributors, not for the maintainer, but tending the contributors will help in the end.

Re:What comes after Git? by u801e on Friday December 25, 2020 @09:13PM (#25540785)
> You fixed something from the immediately-buildable tarball that you'd rebuilt and tested

That entirely depends on whether the necessary libraries and headers are installed on the system you're using.

> even something that didn't need a rebuild (config, doc, interpreted source), and sent the change, perhaps using M-x diff-backup

Unless someone uses emacs and gnus or something similar, email clients could end up mangling the diff unless it was sent as an attachment (which would make reviewing the code and posting an inline response more difficult).

Re:What comes after Git? by Leherenn on Friday December 25, 2020 @03:28PM (#25538790)
Both seems non perfect to me.

Having to set up one's git config or having to fork a repo seem to be accidental complexity is both cases.

Re:What comes after Git? by u801e on Friday December 25, 2020 @07:24PM (#25540294)
To be fair, setting up one's git config is a one time step. But there is a bit of effort required to keep one's GitHub fork up to date relative to the repository it was forked from.
Re:What comes after Git? by compsciphd on Monday December 28, 2020 @01:13PM (#25561496)
git fetch upstream ; git rebase -i upstream/master isn't that hard.
Re:What comes after Git? by u801e on Saturday January 09, 2021 @02:35AM (#25698389)
It depends on whether the histories have diverged and how many conflicts there are. A lot of people aren't very proficient with the use of git and will have problems (e.g., running git pull) and creating a merge commit in their branch or having conflicts they need to resolve.

The next time they open a PR using that branch, it will have commits that will clutter the branch.

Re:What comes after Git? by xiphias2 on Friday December 25, 2020 @10:25AM (#25536962)
Github and git are very different. Github is easyer to use, but doesn't cover all of git's use cases. So actually I'm all for reworking the base commands to support a workflow more similar to GitHub's, but still distributed.
Re:What comes after Git? by shred45 on Friday December 25, 2020 @08:43AM (#25536421)
What you says is true, it can be very difficult to submit ad-hoc patches to large projects. In my experience, however, this has been due to brittle, undocumented automated checks and newbie-hostile maintainers who have built a complex contribution process. I'm not convinced that a different version control system would change this. There are also many projects on GitHub that are very pleasant to work with.
Re:What comes after Git? by tomcooks on Friday December 25, 2020 @08:35AM (#25536382)
Isn't this "knowing how to use it" come with the usual dose of RTFM and/or trying things?

Moreover, I suggest you fork the project and apply your own modifications instead of worrying about a GitHub project administrator to accept your changes

Re:What comes after Git? by throwaway894345 on Friday December 25, 2020 @08:36AM (#25536392)
Don’t you just need to open a pull request? Or is there more ceremony that I’m missing?