by anon34568911 · 7y ago · 0 comments
If you think a bug is easy to fix, pleasez consider providing a patch.
It used to be ridiculously hard, back in the days of hq merge queues or even cvs, I give you that, but the general build stuff improved a lot since then.
The build system is hg clone/git clone + ./mach bootstrap + ./mach build... And there is a lot of docs for it too. I wouldn't call that "borderline insane".
Submitting a patch for review is a only moz-phab command away (after you set it up once, which took me under half an hour).
A full build on a slow machine can take hours indeed (on my 2015 macbook it takes about about 2 hours I think, but my beefy desktop finishes in under one hour). But you often do not even need a full build, but an artifact build[1], which brings it down to a few minutes and just a few seconds on rebuilds (./mach build faster).
>and most importantly people who can approve your changes clearly have more important things to do and regularly fail to answer.
Now that's actually a problem. It's usually not that they are too busy to respond, but that they do not read their bug mail (because they get thousands of emails a day). That's why you either have to actually request a review or need-info them on bugzilla. That usually draws their attention, simply because review requests are listed in a neat list and need-info-s are listed in another neat list, and if that still fails to grab attention, there is enough folks on the irc channels who can either help you directly or point you in the right direction.
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
./mach bootstrap will usually help you set up your environment mostly automated after some confirmations, and will ask you if you want to do full builds or artifact builds, too
A general build guide is available too: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
I have no trouble believing that contributing to Chrome is even harder, but then again I didn't hear someone from Google saying "If you think a bug is easy to fix, pleasez consider providing a patch."
I would put the number more at 99 with a 1% error in that figure
I stopped bothering raising Chrome bug reports years ago.
If it's a js/css/html/xul-only fix (and chances are good it is, when it's a usability issue, as the frontend/UI code js on a high level), then you do not even have to really build Firefox but can use artifacts mode[1], which takes a few minutes for the initial build and only a few seconds for subsequent builds.
Then find a reviewer. I usually look at the recent activity of files I touch (or related files, or related bugs), find functional changes and just add whoever reviewed those most recent changes. Even easier when it's regressions, then you can see who reviewed the regressed changeset and who wrote it and CC them as well.
If the person(s) you picked do not want to review it or cannot review it, they will tell you, and usually suggest who else to ask. If this doesn't work, then you can always ask/nag on IRC.
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...