News for hackers. Stuff that matters.
Re:Firefox Moves to GitHub by SCdF on Tuesday May 13, 2025 @02:11AM (#43970018)
I get what you're saying, but tbf hosting on github doesn't (yet!) box you out of just moving back to that system. It's still just git. It's still distributed, in the sense that if github goes down you could still generate patches and email them around, and then push back to github when it's back.

Everything surrounding code: issues, CICD, etc, is obviously another story. But it's not a story that is answered by distributed git either. (though I would love a good issue tracking system that is done entirely inside git)

Re:Firefox Moves to GitHub by nextaccountic on Tuesday May 13, 2025 @03:43AM (#43970514)
Unfortunately the project is not just code. It also has issues, PRs and other stuff. Github has two kinds of lock in, a) your stuff is there and if you move elsewhere you probably will wipe your issues etc (huge loss of institutional knowledge), and b) there is a network effect because everyone has a github account and people are used to just hop on a repository and file an issue (rather than being greeted by a log in page), cross-reference issues between repositories (hard to make work if repos aren't in the same site, unless both sites use some interop thing like activitypub which github will never use), etc

> Everything surrounding code: issues, CICD, etc, is obviously another story. But it's not a story that is answered by distributed git either. (though I would love a good issue tracking system that is done entirely inside git)

There is https://github.com/git-bug/git-bug - would love if people started o use it, even in a read only way: use github issues normally, but also have a bot that saves all coments to git-bug, so that i can read issues without an internet connection. Then, at a later date, make it so that people that make issues on git-bug also gets the issue posted on github, making a two way bridge.

Then, optionally, at a later stage when almost everyone migrated to git-bug, make the github issues a read only mirror of the git-bug issues. Probably not worth it: you lose drive-by comments from newcomers (that already have a github account but probably never heard of git-bug), raising the friction to report bugs

Re:Firefox Moves to GitHub by mkingston on Tuesday May 13, 2025 @04:10AM (#43970653)
I was reading the git-bug documentation and found "bridges" to third-party platforms:

https://github.com/git-bug/git-bug/blob/master/doc/usage/thi...

I have not tried it.

Re:Firefox Moves to GitHub by SCdF on Tuesday May 13, 2025 @03:54AM (#43970562)
> Unfortunately the project is not just code.

The literal project we are discussing is just code. It's literally just code. It doesn't have issues, PRs are disabled as much as they can be (by a GitHub action that automatically closes all PRs with a note that code should be submitted elsewhere), and all "other stuff" is disabled.

https://github.com/mozilla-firefox/firefox

Re:Firefox Moves to GitHub by elAhmo on Tuesday May 13, 2025 @04:07AM (#43970638)
What you are referring to is more of a mirror-like approach usage of GitHub.

Some big repos or organizations might be able to pull this off, but good luck having a small project and then directing users to go through all of those hoops to submit issues somewhere else, open PRs somewhere else, etc.

Re:Firefox Moves to GitHub by nextaccountic on Tuesday May 13, 2025 @10:46PM (#43980206)
This mirror is just code, but Firefox has issues. They are just stored elsewhere (bugzilla)
Re:Firefox Moves to GitHub by aktau on Tuesday May 13, 2025 @04:22AM (#43970726)
This is one area where Gerrit Code Review is (was? I don't know if it changed) is superior. It stores everything it knows about in git repositories (preferences in a separate meta git repository, comments, patches). With the right refspec, you can pull it all down and have a full backup.
Re:Firefox Moves to GitHub by sshine on Tuesday May 13, 2025 @02:41AM (#43970143)
> if github goes down you could still generate patches and email them around, and then push back to github when it's back.

You could, but generally people can’t. They learn a set of narrow workflows and never explore beyond. GitHub use translates into GitLab use, but not into general git use workout a central repository.

> Everything surrounding code: issues, CICD, etc, is obviously another story. But it's not a story that is answered by distributed git either. (though I would love a good issue tracking system that is done entirely inside git)

Radicle offers one. CLI-based, too.

Re:Firefox Moves to GitHub by flohofwoe on Tuesday May 13, 2025 @02:52AM (#43970214)
> They learn a set of narrow workflows and never explore beyond.

And tbh, that's how it should be for a version control system. Before git with its byzantine workflows and a thousand ways to do the same thing, version control (e.g. svn) was a thing that's just humming along invisibly in the background, something that you never had to 'learn' or even think about, much like the filesystem.

I don't need to know how a filesystem works internally to be able to use it.

And having a centralized store and history helps a lot to keep a version control system conceptually simple.

Re:Firefox Moves to GitHub by writebetterc on Tuesday May 13, 2025 @03:00AM (#43970270)
You don't need to learn how git works internally to be able to use it. You need to know a lot about filesystems in order to use them: Folders, files, symbolic links, copy, cut, paste, how folders can exist on different devices, etc. There's just a tonne of assumed knowledge regarding them, and it's very obvious when you meet someone that doesn't have it (regular people often don't have all it).

Subversion also isn't some thing humming along invisibly in the background, it has its own quirks that you need to learn or you'll get stung.

Re:Firefox Moves to GitHub by baq on Tuesday May 13, 2025 @02:59AM (#43970262)
svn was not 'humming' unless you confined yourself to a very narrow set of functionality, e.g. merging was best left to experts.
Re:Firefox Moves to GitHub by flohofwoe on Tuesday May 13, 2025 @03:06AM (#43970323)
In a centralized version control system with a single history, branching and merging is also much less important.

In git, working on your own branch is essential to not step on other people's feet and to get a clean history on a single main/dev branch (and tbf, git makes this easy for devs and text files). With a centralized version control system, both problems don't even exist in the first place.

When we did game development with a team of about 100 peeps (about 80 of those non-devs, and about 99% of the data under version control being in binary files) we had a very simple rule:

(1) do an update in the morning when you come to work, and (2) in the evening before you leave do a commit.

Everybody was working on the main branch all the time. The only times this broke was when the SVN server in the corner was running full and we either had to delete chunks of history (also very simple with svn), or get more memory and a bigger hard drive for the server.

Re:Firefox Moves to GitHub by vishnugupta on Tuesday May 13, 2025 @03:25AM (#43970425)
svn was a nightmare when it came to handling conflicts. So at least for me, humming in the background wasn’t the term used for it at work.
Re:Firefox Moves to GitHub by flohofwoe on Tuesday May 13, 2025 @04:55AM (#43970929)
This was only for true before svn 1.5 (before it had 'merge tracking'). Also, branching and merging by far wasn't as essential in svn as it is in a decentralized version control system like git. In a centralized version control system it works perfectly well to do all development in the main branch, and only branch off dead-end 'release branches' which are never merged back.

Tbh, I really wonder where the bad reputation of svn is coming from. Git does some things better, especially for 'programmer-centric teams'. But it also does many things worse, especially in projects where the majority of data is large binary files (like in game development) - and it's not like git is any good either when it comes to merging binary data.

Re:Firefox Moves to GitHub by guappa on Tuesday May 13, 2025 @03:55AM (#43970565)
Have you ever actually used svn?
Re:Firefox Moves to GitHub by flohofwoe on Tuesday May 13, 2025 @04:37AM (#43970815)
Yes for about 18 years(?) in the context of game development (I don't exactly remember when we had switched from cvs to svn, but it must have been around 2003..2005) in teams up to about 100 people, working copy sizes up to about 150 GB (with most of the data being binary game asset files), and everybody working on trunk (we only used branches for releases which were branched off trunk but never merged back, only cherry-picking bugfixes from the main into release branches as needed).

We used TortoiseSVN as UI which worked well both for devs and non-devs.

With this sort of setup, git would break down completely if it weren't for awkward hacks like git-lfs (which comes with its own share of problems).

Re:Firefox Moves to GitHub by nsagent on Tuesday May 13, 2025 @06:13PM (#43978342)
Interesting. At game companies I worked at we generally used version control solutions that easily allowed storing code and assets together, such as Perforce and Alienbrain.
Re:Firefox Moves to GitHub by AStonesThrow on Tuesday May 13, 2025 @02:53AM (#43970218)
Re:Firefox Moves to GitHub by lucianbr on Tuesday May 13, 2025 @02:50AM (#43970191)
People could learn, if there was suddenly a need. Just like they learned the narrow workflows they use now.
Re:Firefox Moves to GitHub by laserbeam on Tuesday May 13, 2025 @03:46AM (#43970525)
> You could, but generally people can’t. They learn a set of narrow workflows and never explore beyond.

The point is you CAN. Joe can in theory do it, and Steve can make an alternative piece of software to do it for Joe. In most other centralized places (like social media), you CANNOT. Joe cannot take his data off of Facebook and interact with it outside of the platform or move it to another platform.

Re:Firefox Moves to GitHub by arp242 on Tuesday May 13, 2025 @03:26AM (#43970429)
"I only accept patches and bug reports over email" is just as much of a narrow set of workflows as "I only accept patches and bug reports through PRs".
Re:Firefox Moves to GitHub by account-5 on Tuesday May 13, 2025 @02:42AM (#43970151)
This is why I like fossil, it comes with most of the stuff I use built in, and you can deploy it as a website too. Use it for all of my personal projects and used it extensively for coursework at university.
Re:Firefox Moves to GitHub by int_19h on Tuesday May 13, 2025 @05:25AM (#43971110)
The annoying thing about Fossil is that it doesn't let you squash commits, not even in your private branches - they have some kind of philosophical point about that.

If you happen to agree with it, then yeah, it's great. If you like to commit quick and dirty and then tidy it up by squashing into logically complete and self-consistent commits, too bad.

Re:Firefox Moves to GitHub by account-5 on Tuesday May 13, 2025 @06:38AM (#43971495)
I can certainly see the appeal of having neat commits but I tend not to worry about them. On a couple of occasions, with my university writing, having a immutable history helped me figure out, for example, how something had ended up in a final draft without citation. I'd deleted the citation which was a quick URL paste in a comment block in an earlier draft, and I'd never saved it to zotero. If I'd been able to tidy up my commits I'd likely have lost it completely.
Re:Firefox Moves to GitHub by int_19h on Tuesday May 13, 2025 @07:15AM (#43971657)
The appeal depends on how messy your commits are to begin with. When you know that commit history can be rewritten later, it suddenly becomes okay to commit incomplete code that doesn't properly run or even build, effectively using git as an undo system with branching. But the resulting history is completely unsuitable for any future attempt to use `git blame` and such.
Re:Firefox Moves to GitHub by rablackburn on Tuesday May 13, 2025 @03:04AM (#43970301)
>> I would love a good issue tracking system that is done entirely inside git

You might like git-bug:

https://github.com/git-bug/git-bug

Re:Firefox Moves to GitHub by sublinear on Tuesday May 13, 2025 @07:21AM (#43971681)
Why bury this in the documentation if it's the sole feature its users would care about? https://github.com/git-bug/git-bug/blob/master/doc/design/da...

This should be one of the very first links in the readme.

Re:Firefox Moves to GitHub by rablackburn on Tuesday May 13, 2025 @11:56PM (#43980638)
>> ...if it's the sole feature its users would care about?

The tag-line covers it pretty well I thought?

"git-bug is a standalone, distributed, offline-first issue management tool that embeds issues, comments, and more as objects in a git repository (not files!), enabling you to push and pull them to one or more remotes."

That tells you what the feature is - if you need/want a more technical overview you can still get from the `README` to `entity data model` in two clicks (Documentation > Data model).

Re:Firefox Moves to GitHub by sudoforge on Wednesday May 14, 2025 @12:10AM (#43980718)
hey there! i maintain git-bug, and recently trimmed down the README, which was, in my opinion, a bit too dense prior to this recent change (https://github.com/git-bug/git-bug/commit/96c7a111a3cb075b5c...).

i rewrote the README with the goal of providing a clear overview of git-bug's features, and why you might want to use it, and ensuring that for those who are more technically inclined, things like the data model, internal architecture, and more were easy to find under the documentation folder (whether you're browsing through the files directly, or landing on //doc:README.md, which links to the files and folders under //doc.

if you think that there is information missing from the README, or hard to find in the repository (either by browsing through it, or clicking the rather prominent links from the main README), i'd welcome any suggestions in the form of a PR.

Re:Firefox Moves to GitHub by sublinear on Tuesday May 13, 2025 @02:38AM (#43970120)
IIRC Phabricator stored most of it's metadata in git-notes. In theory we could have been making tools compatible with such a format all this time.
Re:Firefox Moves to GitHub by Sander_Marechal on Tuesday May 13, 2025 @03:35AM (#43970480)
Gitlab is working on using ActivityPub for interoperability between instances. See: https://handbook.gitlab.com/handbook/engineering/architectur...
Re:Firefox Moves to GitHub by frizlab on Tuesday May 13, 2025 @02:47AM (#43970180)
Like fossil?
Re:Firefox Moves to GitHub by kaichanvong on Tuesday May 13, 2025 @03:44AM (#43970516)
while --it-is possible seeing how fossil confuses, for the Github conversation, it's not really in the same category, conversation, some clever happenings happening within fossil-scm, however, it's not really the same as the problem design-led github solves given people saying downtimes; sure, git, github; however how people using github, different–similar, git, however, github.

However, were you to say liken-able (slang keywords: comparative something else--) of, "fossil with git-github", then again: no.

Good call were the conversation (comments, almost interchangeable at-times haha!) being, everyone use git for Firefox, something kinda wild-topic!

Re:Firefox Moves to GitHub by frizlab on Tuesday May 13, 2025 @10:02AM (#43973099)
I don’t get any of that. I tried, but no, it just makes no sense.
Re:Firefox Moves to GitHub by kaichanvong on Tuesday May 13, 2025 @12:39PM (#43974827)
;( I feel for you, hopefully–you can get more out from things in the future.
Re:Firefox Moves to GitHub by dijit on Tuesday May 13, 2025 @03:04AM (#43970299)
> Everything surrounding code: issues, CICD, etc, is obviously another story. But it's not a story that is answered by distributed git either. (though I would love a good issue tracking system that is done entirely inside git)

Embrace, Extend..

(largely this is unfair, as plain git leaves much to be desired- but you can’t deny that the things surrounding git on github are very sticky).

Re:Firefox Moves to GitHub by blueflow on Tuesday May 13, 2025 @04:09AM (#43970648)
Lets pray that Microsoft won't use Github to find new ways to extract money.
Re:Firefox Moves to GitHub by wordofx on Tuesday May 13, 2025 @03:13AM (#43970365)
Build a bridge and…
Re:Firefox Moves to GitHub by littlestymaar on Tuesday May 13, 2025 @02:16AM (#43970039)
> Everything surrounding code: issues, CICD, etc, is obviously another story

That's what Github is though, it's not about the code itself it's about all your project management being on Github, and once you move it, moving out isn't realistic.

Re:Firefox Moves to GitHub by enos_feedler on Tuesday May 13, 2025 @02:18AM (#43970050)
And how are we suppose to solve this problem? By creating distributed versions of every possible component of every piece of software? Seems unrealistic. I think we should be grateful that the core underlying protocol for the most important data has the distributed properties we want. It's a lot more than we can say vs. lots of other platforms out there.
Re:Firefox Moves to GitHub by hnlmorg on Tuesday May 13, 2025 @02:51AM (#43970202)
As a GitHub user myself, I don’t disagree with your point. However I’d like to say that this isn’t quiet as different a problem to solve as it might first appear:

The issue tracking can be a branch and then you just need a compatible UI. In fact some git front ends do exactly this.

CI/CD does already exist in git via githooks. And you’re already better off using make/just/yarn/whatever for your scripts and rely as little on YAML as possible. It’s just a pity that githooks require users to set up each time so many people simply don’t bother.

Re:Firefox Moves to GitHub by groestl on Tuesday May 13, 2025 @02:29AM (#43970087)
> And how are we suppose to solve this problem? By creating distributed versions of every possible component of every piece of software? Seems unrealistic.

That's how we started out.

Re:Firefox Moves to GitHub by baq on Tuesday May 13, 2025 @02:57AM (#43970252)
Maybe that's the reason everything tends to get centralized.
Re:Firefox Moves to GitHub by groestl on Tuesday May 13, 2025 @06:16AM (#43971381)
It's an emergent phenomenon, it requires less energy expenditure overall. It's also the way of the Dodo.
Re:Firefox Moves to GitHub by int_19h on Tuesday May 13, 2025 @05:27AM (#43971124)
By storing issues etc in the repo itself. A git repo is just a generic object graph, after all, and objects don't necessarily describe files.

There are several such solutions already. The problem is that neither of them is popular enough to become a de facto standard. And, of course, centralized git providers like GitHub have a vested interest in keeping in this way, so they are unlikely to support any such solution even if it does become popular enough.

Re:Firefox Moves to GitHub by enos_feedler on Tuesday May 13, 2025 @06:16PM (#43978369)
Wouldn’t it make economic sense for a git host to emerge that just did things this way and collect big pay for it? Gits been around forever and you’re idea sounds simple enough that a market of people would probably choose it on principle. There must be something more fundamental at play here.
Re:Firefox Moves to GitHub by SCdF on Tuesday May 13, 2025 @02:20AM (#43970059)
Right, but distributed git As Torvalds Intended™ doesn't solve those problems, so it's not related.

For the actual event we are commenting on, they have disabled all features other than code hosting and PRs.

Re:Firefox Moves to GitHub by Flimm on Tuesday May 13, 2025 @02:38AM (#43970118)
It's impossible to disable PRs on GitHub, sadly. See https://github.com/dear-github/dear-github/issues/84
Re:Firefox Moves to GitHub by SCdF on Tuesday May 13, 2025 @04:20AM (#43970714)
Interestingly mozilla has effectively done this here, by using a GitHub action that automatically closes any PR with a message explaining that PRs are not to be used.

It's very silly they have to do this, but at least they can I suppose.

Re:Firefox Moves to GitHub by tigroferoce on Tuesday May 13, 2025 @02:25AM (#43970073)
GitHub is about the community. There are others alternatives, more in line with what Mozilla claim to be their view (I'm thinking to GitLab, for instance), but nothing gives you visibility like GitHub.

Sad to see that Mozilla is becoming less and less what they promised to be once Google funding are depleting.

Re:Firefox Moves to GitHub by arp242 on Tuesday May 13, 2025 @03:30AM (#43970450)
GitHub has a fairly extensive API without too many limits AFAIK. You can definitely migrate all your data to $something_else if you want to.
Re:Firefox Moves to GitHub by LtWorf on Tuesday May 13, 2025 @03:59AM (#43970597)
I managed to move to codeberg all my projects. There's everything except the secret deals with pypi to directly publish from github. Which is massively insecure anyway.
Re:Firefox Moves to GitHub by xboxnolifes on Tuesday May 13, 2025 @02:17AM (#43970041)
Sure, but then we are no longer talking about git.
Re:Firefox Moves to GitHub by nicoburns on Monday May 19, 2025 @10:02AM (#44030042)
> It's still distributed, in the sense that if github goes down you could still generate patches and email them around, and then push back to github when it's back.

You can also quite easily set up a temporary remote (this can be as simple a directory on an SSH server), or if you're on the same local network, pull and push directly from each others' local copies.