Page MenuHomePhabricator

Bug 1950511 - part 1: prepare the repackaging files related to rpm r=gabriel
ClosedPublic

Authored by alubert on Jan 29 2025, 2:03 PM.
Referenced Files
Unknown Object (File)
Nov 18 2025, 2:06 PM
Unknown Object (File)
Nov 18 2025, 2:06 PM
Unknown Object (File)
Oct 15 2025, 11:36 PM
Unknown Object (File)
Oct 13 2025, 12:13 PM
Unknown Object (File)
Sep 3 2025, 4:01 PM
Unknown Object (File)
Aug 7 2025, 11:37 PM
Unknown Object (File)
Jul 12 2025, 5:58 PM
Unknown Object (File)
Jun 22 2025, 9:58 AM

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
jcristau added inline comments.
browser/installer/linux/app/rpm/manpages.in
1 ↗(On Diff #976159)

This looks odd. Is this file actually used?

sylvestre added inline comments.
browser/installer/linux/app/rpm/package-prefs.js
7

@gerard-majax isn't it the default value now on Linux?

browser/installer/linux/app/rpm/package-prefs.js
7

yes only nightly for now

browser/installer/linux/app/rpm/manpages.in
1 ↗(On Diff #976159)

This file come from the browser/installer/linux/app/deb directory and its only mandatory with the debian building process.

We can remove this file, the mv_manpage_files function from the patch part-2 needs to be modify to not copy this file if missing.

gabriel added inline comments.
browser/installer/linux/app/rpm/manpages.in
1 ↗(On Diff #976159)

I think we should remove this and modify the function if it is un-used.

browser/installer/linux/app/rpm/package-prefs.js
7

LGTM we do the same thing on .deb (for now.)

This revision now requires changes to proceed.Feb 5 2025, 10:29 PM
alubert updated this revision to Diff 981926.
browser/installer/linux/app/rpm/manpages.in
1 ↗(On Diff #976159)

Instead of modifying mv_manpage_files let's not call it here: https://phabricator.services.mozilla.com/D235976#8216799

If it is specific to .deb let's leave it out of the common module.

jcristau added inline comments.
browser/installer/linux/app/rpm/firefox.spec.in
5

Should this be a variable, so nightly/beta/etc get different summaries?

python/sites/repackage-rpm.txt
1–2 ↗(On Diff #981926)

This belongs with part 3. That said I'm not sure we have a separate site for this, it could presumably reuse repackage-deb or repackage-desktop-file which are identical?

This revision now requires changes to proceed.Feb 24 2025, 4:20 PM
browser/installer/linux/app/rpm/firefox.spec.in
5

You right! There is the variable DESCRIPTION available for this summary. I’ve must have forget to update this file.

python/sites/repackage-rpm.txt
1–2 ↗(On Diff #981926)

For what I’ve understand, this file is automatically detected during the process by using the value of the virtual environment related to the command. So can it mean that, to reuse one of these other files, the virtual env must be shared?

And you right, this file belong to the part 3, I will move it in this patch.

alubert updated this revision to Diff 990094.
This revision now requires changes to proceed.Feb 26 2025, 12:02 AM
alubert updated this revision to Diff 990862.
alubert retitled this revision from Bug 213920 - part 1: prepare the repackaging files related to rpm r=gabriel to Bug 1950511 - part 1: prepare the repackaging files related to rpm r=gabriel.
alubert changed the Bugzilla Bug ID from 213920 to 1950511.
This revision is now accepted and ready to land.Apr 24 2025, 3:04 PM

This revision requires a Testing Policy Project Tag to be set before landing. Please apply one of testing-approved, testing-exception-unchanged, testing-exception-ui, testing-exception-elsewhere, testing-exception-other. Tip: this Firefox add-on makes it easy!