"Yesterday (2021-03-28) two malicious commits were pushed to the php-src repo"

In related news, PHP switches to hosting their repositories on GitHub.


@fribbledom I mean as long as I dont need a github account to participate thats ok.
I'm honestly concerned about that monoculture on github.

I'm sure you'd need a GitHub account if you'd want to contribute. But then again, you would have needed to be part of the PHP team before as well

@sexybiggetje @fribbledom
Having a dependency on one proprietary service provider always enslaves you to the rules of this ones system. That shouldnt be a thing for opensource software.

For example if some country now decides to block US services, you will not be able to contribute to PHP anymore, merely because they depend only on github instead of an independent, self hosted service.

I'm pretty sure that git itself is decentralised by it's nature. One could just make a copy on another service and push to it. Just the management for releases is centralised. I don't see much of a problem at the moment. Note the word much in there

@sexybiggetje With mercurial, you can create a "bundle" which consists of just chosen commits. On the receiving end, they can pull those commits in as if the bundle were a full clone. Does git do something like that?


@sexybiggetje Cherry picking exports a file? I thought it was just for destroying your compatibility with upstream. Maybe I'm thinking of rebasing.

Β· Β· Web Β· 1 Β· 0 Β· 0

Maybe I'm not understanding your question correctly :) that's quite possible as well

Do you mean creating a patch file of specific commits? Those could just be done by Exporting git diff for specific commits to a file

@sexybiggetje I guess so, but the `hg bundle` command creates a binary file, not text you could potentially edit. And is easy to pull from. But also, pulling in mercurial doesn't update the bookmark (branch), or working directory. So in hg workflow, you often compare incoming commits after pulling, not before. Which means git users probably don't do things like this, huh?

No I don't think there is a direct equivalent function in git then

Actually there is. Never know this or used it :)

"Git - git-bundle Documentation" git-scm.com/docs/git-bundle

@sexybiggetje @travisfw

I think what’s being described here is most like git format-patch


git can also create a patch from a set of commits and email it.


Lots of options for creating patches and then applying them.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!