TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mozilla Firefox – Official GitHub repo

855 点作者 thefilmore16 天前

36 条评论

jgraham16 天前
(I work at Mozilla, but not on the VCS tooling, or this transition)<p>To give a bit of additional context here, since the link doesn&#x27;t have any:<p>The Firefox code has indeed recently moved from having its canonical home on mercurial at hg.mozilla.org to GitHub. This only affects the code; bugzilla is still being used for issue tracking, phabricator for code review and landing, and our taskcluster system for CI.<p>In the short term the mercurial servers still exist, and are synced from GitHub. That allows automated systems to transfer to the git backend over time rather than all at once. Mercurial is also still being used for the &quot;try&quot; repository (where you push to run CI on WIP patches), although it&#x27;s increasingly behind an abstraction layer; that will also migrate later.<p>For people familiar with the old repos, &quot;mozilla-central&quot; is mapped onto the more standard branch name &quot;main&quot;, and &quot;autoland&quot; is a branch called &quot;autoland&quot;.<p>It&#x27;s also true that it&#x27;s been possible to contribute to Firefox exclusively using git for a long time, although you had to install the &quot;git cinnabar&quot; extension. The choice between the learning hg and using git+extension was a it of an impediment for many new contributors, who most often knew git and not mercurial. Now that choice is no longer necessary. Glandium, who wrote git cinnabar, wrote extensively at the time this migration was first announced about the history of VCS at Mozilla, and gave a little more context on the reasons for the migration [1].<p>So in the short term the differences from the point of view of contributors are minimal: using stock git is now the default and expected workflow, but apart from that not much else has changed. There may or may not eventually be support for GitHub-based workflows (i.e. PRs) but that is explicitly not part of this change.<p>On the backend, once the migration is complete, Mozilla will spend less time hosting its own VCS infrastructure, which turns out to be a significant challenge at the scale, performance and availability needed for such a large project.<p>[1] <a href="https:&#x2F;&#x2F;glandium.org&#x2F;blog&#x2F;?p=4346" rel="nofollow">https:&#x2F;&#x2F;glandium.org&#x2F;blog&#x2F;?p=4346</a>
评论 #43971745 未加载
评论 #43974555 未加载
评论 #43970669 未加载
评论 #43974450 未加载
评论 #43971472 未加载
floriangosse16 天前
I think it&#x27;s actually an understandable strategical move from Mozilla. They might loose some income from Google and probably have to cut the staff. But to keep the development of Firefox running they want to involve more people from the community and GitHub is the tool that brings most visibility on the market right now and is known by many developers. So the hurdle getting involved is much lower.<p>I think you can dislike the general move to a service like GitHub instead of GitLab (or something else). But I think we all benefit from the fact that Firefox&#x27;s development continues and that we have a competing engine on the market.
评论 #43970680 未加载
评论 #43971628 未加载
评论 #43972919 未加载
评论 #43972174 未加载
评论 #43983811 未加载
评论 #43971800 未加载
Kuinox16 天前
It&#x27;s good that they fixed one of the major tech debt for contributing to firefox. When I tried a few years ago, mercurial took multiple hours to clone, and I already had to use the unofficial git support in order to have things working before the end of the day.<p>Their docs was also a mess back then and made me recompile everything even if it wasnt needed.
antalis16 天前
Firefox Mobile (Fenix) had just moved to Mozilla&#x27;s Mercurial mozilla-central repository after using GitHub including for issues. <a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla-mobile&#x2F;firefox-android&#x2F;wiki#upcoming-migration-to-mozilla-central">https:&#x2F;&#x2F;github.com&#x2F;mozilla-mobile&#x2F;firefox-android&#x2F;wiki#upcom...</a><p>Now, both the desktop and the mobile version will be on Github, and the &quot;issues&quot; will stay on Bugzilla.<p>This will take advantage of both GitHub&#x27;s good search and source browsing and Git&#x27;s familiar system.<p>As a former Firefox and Thunderbird contributor, I have to say that I used local search instead of trying to find something on the mozilla-central website.<p>Of course, when you&#x27;re actively developing software, you search inside your IDE, but allowing to find things easily on the website makes it more welcoming for potential new contributors.
评论 #43970559 未加载
评论 #43972241 未加载
mritzmann16 天前
What is the source of “Firefox Moves to GitHub”? It could be a mirror, just like Linux also has an mirror on GitHub.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux">https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux</a><p>&#x2F;&#x2F; EDIT: Source: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43970574">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43970574</a>
评论 #43970489 未加载
upcoming-sesame16 天前
Why did they choose the mozilla-firefox org as opposed to the already existing mozilla org ?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla">https:&#x2F;&#x2F;github.com&#x2F;mozilla</a>
评论 #43973110 未加载
评论 #43972122 未加载
noobermin16 天前
I guess the dream is dead. Even in open source, we have consolidation with no real hard monetary markets involved.<p>EDIT: skimming these comments, I like how none of the top comments are talking about the bigger story here which is the move away from mercurial to git and instead everyone is focusing on github itself. This has essentially sealed hg away to obscurity forever. Do people not realise git is a program that runs on your computer and github is just a service that uses git? May be this is an old man gripe at this point but I&#x27;m surprised at the lack of technical discussion around this.
评论 #43972671 未加载
评论 #43973331 未加载
mlenz16 天前
Great to see, but I wonder what lead to the decision of creating a new org instead of using github.com&#x2F;mozilla
评论 #43969973 未加载
评论 #43970040 未加载
评论 #43969924 未加载
评论 #43972622 未加载
zajio1am16 天前
To me it seems absurd that such organization like Mozilla uses third-party hosting like GitHub instead of something self-hosted or at least running under their own name. I understand that one-person projects use GitHub, but forcing contributors to make account with third-party service seems contributor-hostile.
评论 #43973365 未加载
nolok16 天前
I hope the bugzilla stay there even if only read only. There is a lot of historical data in there, especially for the web which was built as a &quot;ad-hoc&quot; platform, many times when you wonder why does X the answer can only be found in bugzilla (which will explain that some random website that used to be major but doesn&#x27;t even exists anymore, did something for some browser that used to be major but doesn&#x27;t even exists anymore).
评论 #43973360 未加载
评论 #43972385 未加载
thrdbndndn16 天前
Correct me if I&#x27;m wrong, IIRC the previous &quot;master&quot; branch is `mozilla-central`.<p>Now it has &quot;main&quot; and &quot;autoland&quot;, what are they? Which one is the equivalent of mozilla-central before?
评论 #43970194 未加载
CorrectHorseBat16 天前
So they moved from hg to git? Or is this just an official mirror
评论 #43969921 未加载
评论 #43970007 未加载
tgsovlerkhgsel16 天前
On one hand, centralization at a commercial provider isn&#x27;t great.<p>On the other hand, the plethora of different self-hosted platforms with limited feature sets is a huge pain. Just <i>finding</i> the repo is often a frustrating exercise, and then trying to view, or worse, <i>search</i> the code without checking it out is often even more frustrating or straight out impossible.
评论 #43971090 未加载
评论 #43970364 未加载
mintplant16 天前
Why is the mozilla-firefox org full of forks of the main repo named after trees?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla-firefox">https:&#x2F;&#x2F;github.com&#x2F;mozilla-firefox</a>
评论 #43977503 未加载
评论 #43973665 未加载
elmer00716 天前
Star Wars reference in a comment: <a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla-firefox&#x2F;firefox&#x2F;blob&#x2F;917c73cfe1a5b7d78bf163edbd9b471563088192&#x2F;modules&#x2F;libmar&#x2F;src&#x2F;mar_create.c#L255">https:&#x2F;&#x2F;github.com&#x2F;mozilla-firefox&#x2F;firefox&#x2F;blob&#x2F;917c73cfe1a5...</a><p>Fun to get a glimpse into someone&#x27;s thought process while they were working.
bingemaker16 天前
They already have an org github.com&#x2F;mozilla. Why didn&#x27;t they move ff source there?
upcoming-sesame16 天前
Why did they use mozilla-firefox org name instead of the already existing <a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla">https:&#x2F;&#x2F;github.com&#x2F;mozilla</a> one ?
kidsil15 天前
First commit: <a href="https:&#x2F;&#x2F;github.com&#x2F;mozilla-firefox&#x2F;firefox&#x2F;commit&#x2F;c4cc52826abd53e1121e4234d719cfd89ce58093">https:&#x2F;&#x2F;github.com&#x2F;mozilla-firefox&#x2F;firefox&#x2F;commit&#x2F;c4cc52826a...</a><p>Hard to believe it&#x27;s been 27 years. I remember when it was still in beta, and how exciting it was to have an open source alternative to Internet Explorer.<p>Good times!
reddalo16 天前
Why GitHub? If they truly cared about open-source they would&#x27;ve chosen something else, such as a self-hosted Forgejo [1], or its most common public instance Codeberg [2].<p>[1] <a href="https:&#x2F;&#x2F;forgejo.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;forgejo.org&#x2F;</a> [2] <a href="https:&#x2F;&#x2F;codeberg.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;</a>
评论 #43969969 未加载
评论 #43969983 未加载
评论 #43970001 未加载
评论 #43969959 未加载
评论 #43969953 未加载
评论 #43969978 未加载
评论 #43970065 未加载
rvz16 天前
Centralizing <i>everything</i> to GitHub really isn&#x27;t a good idea given their frequent incidents every week.
bandrami16 天前
Pretty cool that Linus Torvalds invented a completely distributed version control system and 20 years later we all use it to store our code in a single place.
评论 #43970018 未加载
评论 #43970419 未加载
评论 #43970002 未加载
评论 #43970036 未加载
评论 #43970008 未加载
评论 #43970418 未加载
评论 #43970198 未加载
评论 #43970472 未加载
评论 #43970028 未加载
评论 #43970037 未加载
评论 #43970314 未加载
评论 #43970142 未加载
评论 #43971387 未加载
评论 #43970431 未加载
评论 #43970019 未加载
评论 #43971586 未加载
评论 #43970434 未加载
评论 #43970154 未加载
评论 #43971268 未加载
评论 #43971299 未加载
评论 #43970451 未加载
评论 #43970541 未加载
评论 #43970032 未加载
评论 #43970904 未加载
评论 #43970282 未加载
评论 #43988717 未加载
评论 #43970343 未加载
评论 #43969999 未加载
评论 #43970031 未加载
edelbitter16 天前
So no IPv6 in the foreseeable future?
评论 #43979551 未加载
thund16 天前
Hate seeing how repos are so polluted by dot-files and dot-folders. I wish tools and SDKs converged into a single dot-folder, so that we could look at repos without seeing everything everywhere
metalliqaz16 天前
What are &#x27;pine&#x27;, &#x27;maple&#x27;, &#x27;holly&#x27;, etc?
评论 #43974908 未加载
octocop16 天前
Nice, I was just checking yesterday to find the source code of firefox. Even if it is only a mirror it&#x27;s a nice step to make it more available I think.
sylware16 天前
Bad Move.<p>github.com broke noscript&#x2F;basic (x)html interop for most if not all core functions (which were working before). The issue system was broken not that long time ago.<p>And one of the projects which should worry about, even enforce, such interop, moving to microsoft github...<p>The internet world is a wild toxic beast.
cubefox16 天前
I assume this is now one of the largest (lines of code) projects on GitHub.
评论 #43974227 未加载
DennisL12316 天前
A BUILD.md could be useful.
评论 #43974191 未加载
nikolayasdf12316 天前
nice, GitHub is defacto place to keep and release code
roschdal16 天前
Firefox moves to GitHub. Now someone better make a fork to make a proper web browser, small, fast, lean and without bloat and surveillance.
IshKebab16 天前
Not for PRs or issues though which are arguably the biggest reasons to use GitHub. Still this is definitely an improvement.
评论 #43970047 未加载
评论 #43971116 未加载
评论 #43970108 未加载
InTheArena16 天前
as a side note - I love the new bookmark tabs feature. About time :-)
mhh__16 天前
Inevitable. GitHub is a good platform in need of some proper dev workflows (pull requests are atrocious, branches footguns, yml driven CI is a noose) but they&#x27;ve obviously won.
评论 #43970486 未加载
mentalgear16 天前
Would have been great if they used an European alternative ( like Codeberg ).
评论 #43970324 未加载
评论 #43970362 未加载
kristel10016 天前
Honestly surprised it took this long. For a project that depends so much on community contribution, being on GitHub just lowers the barrier for new devs. Curious to see if this revives contribution velocity.
评论 #43970774 未加载
petepete16 天前
I wonder how long it&#x27;ll take for my PR which entirely removes the built in Pocket integration will take to be dismissed.
评论 #44070722 未加载