Closed Bug 1619145 Opened 4 years ago Closed 4 years ago

Add missing locale to app.update.url.* in firefox-branding.js

Categories

(Toolkit :: Application Update, enhancement)

73 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: suriyaa, Assigned: bytesized)

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

Steps to reproduce:

Viewed the firefox-branding.js files in browser/branding/aurora/pref/firefox-branding.js and browser/branding/official/pref/firefox-branding.js.

Actual results:

Both prefs "app.update.url.manual" and "app.update.url.details" don't have a "%LOCALE%" in their URLs.

Expected results:

Adding missing "%LOCALE%" to these prefs. I'm working on this.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Application Update
Product: Firefox → Toolkit
Assignee: nobody → mozilla

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:suriyaa, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(mozilla)

[Sorry for dropping in; just stumbled across this bug & noticed that it seems to have stalled]

:bytesized, do you know if this was intended to land?

See comment 3; looks like you reviewed this, and :suriyaa doesn't seem to have been active on bugzilla for a few months. so perhaps you could shepherd this in, if that'd be appropriate?)

Flags: needinfo?(ksteuber)

As far as I know this was intended to land. Taking a look at the code, it looks like the patch is still needed. Unfortunately, it looks like a rebase is needed. I'm not really if I can (or should) to do that and retain :suriyaa's authorship of the patch. I guess I'll just take over the bug altogether.

Assignee: mozilla → ksteuber
Flags: needinfo?(mozilla)
Flags: needinfo?(ksteuber)
Attachment #9130029 - Attachment is obsolete: true
Pushed by ksteuber@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/00e6c3477d8d
Add locale to app.update.url.manual and app.update.url.details in firefox-branding.js r=mhowell
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78

Thanks for the reply & for taking care of this!

(In reply to Kirk Steuber (he/him) [:bytesized] from comment #5)

I'm not really if I can (or should) to do that and retain :suriyaa's authorship of the patch.
I guess I'll just take over the bug altogether.

For future reference -- you can indeed retain (or add) someone else as the patch-author, when tweaking patches after-the-fact. (And typically in this sort of situation, where you're not making meaningful changes & you trust yourself not to screw anything up when editing the patch, it's a good idea to do that, so that the author "gets credit" in version control.)

You can set any arbitrary patch-author when committing by doing e.g. hg comm --user "[personA]" (or even [personA and personB] -- it's just a string), to override the default of using your own authorship info from your ~/.hgrc file. You also don't need to bother with this if you start out with a patch that you've imported (e.g. via moz-phab) which already has someone else as the author in the patch headers. You should be able to submit/resubmit the patch to phabricator regardless of who the recorded author is, and it'll preserve the author info that you specified.

(Not a big deal in this case, anyway, since the patch was relatively trivial. Thanks again for closing this out.)

Ah, thanks for letting me know! I'll do that in the future.

@bytesized and @dholbert: Thank you for taking care of this patch.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: