this post was submitted on 06 Nov 2023
278 points (98.6% liked)

Linux

46775 readers
2113 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

For a long time Firefox Desktop development has supported both Mercurial and Git users. This dual SCM requirement places a significant burden on teams which are already stretched thin in parts. We have made the decision to move Firefox development to Git.

  • We will continue to use Bugzilla, moz-phab, Phabricator, and Lando
  • Although we'll be hosting the repository on GitHub, our contribution workflow will remain unchanged and we will not be accepting Pull Requests at this time
  • We're still working through the planning stages, but we're expecting at least six months before the migration begins

APPROACH

In order to deliver gains into the hands of our engineers as early as possible, the work will be split into two components: developer-facing first, followed by piecemeal migration of backend infrastructure.

Phase One - Developer Facing

We'll switch the primary repository from Mercurial to Git, at the same time removing support for Mercurial on developers' workstations. At this point you'll need to use Git locally, and will continue to use moz-phab to submit patches for review.

All changes will land on the Git repository, which will be unidirectionally synchronised into our existing Mercurial infrastructure.

Phase Two - Infrastructure

Respective teams will work on migrating infrastructure that sits atop Mercurial to Git. This will happen in an incremental manner rather than all at once.

By the end of this phase we will have completely removed support of Mercurial from our infrastructure.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 87 points 9 months ago (5 children)

Although we’ll be hosting the repository on GitHub

Why aren't they using a self-hosted instance of Gitea? This makes no sense move to Github of all places.

[–] [email protected] 54 points 9 months ago* (last edited 9 months ago) (4 children)

Could be familiarity? I saw an article go by recently about how projects that aren't on GitHub suffer from lack of contributions. Although that matters more for smaller projects, Mozilla is a beast and could probably pull people off GitHub if it wanted to.

Also if anyone should be trying to build up an alternative to GitHub, it should be Mozilla

[–] [email protected] 28 points 9 months ago (1 children)

If you are at a skill level, where you can meaningfully contribute to a project like this, registering for an alternative git provider should not be an obstacle

[–] [email protected] 35 points 9 months ago

Obstacle? No. Annoyance? Yes.

[–] [email protected] 17 points 9 months ago

I agree with this in a lot of cases, but I'm not sure about this case - Mozilla won't be accepting PRs over GitHub from what I can tell.

[–] [email protected] 11 points 9 months ago (4 children)

Git desperately needs something like activity pub. That's how it should have been from the beginning

[–] [email protected] 8 points 9 months ago (1 children)

and it was lol. Git was designed to work using email and plain text patches. No nonsense, no closed platforms. You can still use git that way.

load more comments (1 replies)
[–] [email protected] 7 points 9 months ago

Maybe you can convince Gitea guys to work on that? After all they're the leading open-source alternative.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago)

Lets just say it's coming... soon :)

[–] [email protected] 4 points 9 months ago (1 children)
[–] [email protected] 7 points 9 months ago

The J is lowercase, -ejo is an Esperanto suffix meaning "place".

load more comments (1 replies)
[–] [email protected] 19 points 9 months ago

Agreed. They could've hosted nearly any git forge since they'll keep using bugzilla and other workflows as is.

[–] [email protected] 13 points 9 months ago

They already use GitHub for a bunch of other projects. See https://github.com/mozilla/ and https://github.com/mozilla-mobile/

[–] [email protected] 5 points 9 months ago

It’s the most widely used platform that the most people are familiar with that they get to use likely for free. Newer projects of theirs are also hosted there. Why would you say it makes no sense?

load more comments (1 replies)
[–] [email protected] 43 points 9 months ago (2 children)

Out of all the possible Git choices, they chose one of the worst options. I am very curious about the reasoning for that. Could have been a Mozilla-hosted Gitlab instance, or something else like Gitea

[–] [email protected] 17 points 9 months ago (1 children)

Why do you say GitHub is the worst choice, out of curiosity?

[–] [email protected] 28 points 9 months ago (1 children)

Especially lately, incredibly poor performance, and constant outages. Plus if you're an owner of a private repository, I don't want them to train their asshole AI based on my code, without my knowledge

[–] [email protected] 9 points 9 months ago (1 children)
[–] [email protected] 6 points 9 months ago* (last edited 9 months ago)

At least when it comes to Git I'm not too concerned. What could MS possibly do to you? Maybe vendor lock in via the issue tracker? They aren't using it and it's not exactly that hard to migrate off of it in the first place.

[–] [email protected] 6 points 9 months ago* (last edited 7 months ago)
[–] [email protected] 28 points 9 months ago

Would have been amazing if they federated with Forgejo and supported federated git like they're doing with mastodon.

[–] [email protected] 16 points 9 months ago* (last edited 9 months ago) (1 children)

Mozilla being Mozilla, I'd guess. They should have gone sel-hosted with sourcehut, or at least gitlab. Or if not self-hosted, the choice should have been at the least gitlab or better, given it allows to chose DCO over CLA. But perhaps not everyone cares... I remember when gitlab introduced DCO, and how that helped debian and gnome to migrate to gitlab. After allowing DCO, other projects migrated as well.

I'm not that fan of gitlab, and I'd prefer sourcehut for open source projects, but if wanting something closer to github, then gitlab might be the answer. But Mozilla is a corp, maybe they don't care much about these things, and as a corp, perhaps they were looking for CLA sort of contribution any ways...

[–] [email protected] 14 points 9 months ago (2 children)

I also think gitlab hosted by Mozilla Foundation would have been a better solution than github.

Mozilla Corporation is owned by the Mozilla Foundation, so their incentives aren't that of a corporation but a non-profit.

load more comments (2 replies)
[–] [email protected] 11 points 9 months ago

I'm amazed people are still using Mercurial. I worked on a few hg projects about a decade ago and it wasn't a very good experience. It was easy for people who used subversion, but if you were even halfway familiar with git you just missed a lot of functionality.

[–] [email protected] 10 points 9 months ago* (last edited 9 months ago) (1 children)
  • Although we'll be hosting the repository on GitHub, our contribution workflow will remain unchanged and we will not be accepting Pull Requests at this time

Whyyyyy? Why github?

[–] [email protected] 6 points 9 months ago (1 children)

Reviewing PRs costs money/time

[–] [email protected] 11 points 9 months ago (1 children)
[–] [email protected] 3 points 9 months ago

Fair point. I would say on a personal level that GitHub actions is quite nice to use, especially with the marketplace. But I'd be surprised if switching version controls also entailed a CI/CD change for Mozilla, so I can't think of a good reason.

[–] [email protected] 9 points 9 months ago (1 children)

Wtf is wrong with gitlab...

[–] [email protected] 8 points 9 months ago (1 children)
[–] [email protected] 5 points 9 months ago (1 children)

Then why didn't Firefox use their power to support a git that's not owned by Microsoft?

[–] [email protected] 6 points 9 months ago

I don't know. Because they are not angry with Microsoft anymore and github better fits their workflow?

[–] [email protected] 8 points 9 months ago

It’s rather bold of many of the commenters in this thread to assume they know the needs of Mozilla and their developers rather than those people themselves. GitHub makes complete sense, even if it doesn’t live up to some people’s desires for free software purity.

[–] [email protected] 3 points 9 months ago

This is great. Honestly it is the best option.

[–] [email protected] 3 points 9 months ago

I wonder if they'll consider Codeberg as their future Git host of choice. GitHub is less than ideal in terms of digital sovereignty, GitLab also has some questionable leadership. Codeberg seems like the most solid alternative to these so far.

load more comments
view more: next ›