News for hackers. Stuff that matters.
Re:GitHub CLI 1.0 by janvdberg on Thursday September 17, 2020 @12:24PM (#24506592)
Is this coming full circle: Git -> GitHub -> GitHub CLI?
Re:GitHub CLI 1.0 by yakubin on Thursday September 17, 2020 @01:00PM (#24507083)
CLI or not, it's centralized/siloed all the same. I'm sticking to Git.
Re:GitHub CLI 1.0 by londons_explore on Thursday September 17, 2020 @05:14PM (#24510047)
It would be really nice if the other features of github could get into the decentralized model of git... I could imagine issues and PR reviews/comments all being mini-commits to some kind of parallel metadata repo under the hood for example.
Re:GitHub CLI 1.0 by viraptor on Thursday September 17, 2020 @08:32PM (#24511667)
Re:GitHub CLI 1.0 by jackac on Thursday September 17, 2020 @08:18PM (#24511560)
There are some experimental tools for distributed code review and issues.

https://github.com/google/git-appraise

https://github.com/dspinellis/git-issue

Would be nice to have something more polished though.

Re:GitHub CLI 1.0 by pferde on Friday September 18, 2020 @07:18AM (#24515340)
Just make ForgeFed a reality, and then it won't really matter where the project is hosted. :)

https://forgefed.peers.community/

Re:GitHub CLI 1.0 by trilinearnz on Thursday September 17, 2020 @06:46PM (#24510875)
Good point.

It never seemed like the distributed "selling point" of Git (and Mercurial et al) really caught on. I remember trying to extoll it's virtues to our team at the time (pre-Github). No one source of truth as such, just everyone swapping changes as needed. It's kind of ironic that Git's most popular incarnation is based upon a centralised model.

Is it just a case of the distributed workflow just not being that useful for most people? Beyond the obvious example of Linux kernel development, of course!

Re:GitHub CLI 1.0 by brundolf on Thursday September 17, 2020 @09:49PM (#24512125)
I think in practice it's most useful as a recovery feature. I once got locked out of my Bitbucket account and had to recover a repo, which I'd been paid to develop, from Heroku of all places. I was extremely grateful at that point that all git repos are complete mirrors of each other.
Re:GitHub CLI 1.0 by matkoniecz on Friday September 18, 2020 @03:26AM (#24513933)
It is also useful that you have full access to repo when internet is unavailable.
Re:GitHub CLI 1.0 by int_19h on Friday September 18, 2020 @04:08AM (#24514187)
Distributed workflow is still plenty useful, but the master copy being hosted by GitHub doesn't really affect it all that much. The real benefit was the ability to clone a repo and just start working on it locally - with commit history, branches etc - and then tidying it up and merging it back upstream when possible and convenient.

Are people forgetting what life was like back in SVN days, when not having a connection to the server meant not being able to do many operations?

Re:GitHub CLI 1.0 by DC-3 on Thursday September 17, 2020 @12:35PM (#24506755)
Reminds me of React -> React Native -> React Native Web.
Re:GitHub CLI 1.0 by nxpnsv on Thursday September 17, 2020 @02:11PM (#24508019)
Can we expect -> GitHubCLIHub which simplifies using the CLI with a website?
Re:GitHub CLI 1.0 by dorianmariefr on Thursday September 17, 2020 @02:58PM (#24508571)
GitHubCLIHubCLIHub which simplifies using the GitHubCLIHub's CLI with a website
Re:GitHub CLI 1.0 by runarberg on Thursday September 17, 2020 @01:21PM (#24507321)
I guess GitHub CLI is kind of porcelain for the `git format-patch` and `git am`. Although I don’t know of any git commands that will send or fetch the `.patch` files to the mailbox.
Re:GitHub CLI 1.0 by u801e on Thursday September 17, 2020 @01:32PM (#24507454)
git send-email and git imap-send can send to a mailbox (the latter can be used to upload files to an IMAP folder). I don't know of a command that could download patches from a mailbox (though it would be nice if git provided one that would work with IMAP and/or NNTP).