Closed Bug 1838408 Opened 3 years ago Closed 3 years ago

Avoid dangling references in license.html file

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox117 fixed)

RESOLVED FIXED
Tracking Status
firefox117 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

Details

Attachments

(1 file)

The license summary we show to users contains many dangling references to files and directories that have been removed from m-c or moved to another name.

It would be great to cleanup that file and make sure we don't regress in the future.

Paths mentioned between <code> tags are looked up in the repo, and an
error is emitted if they don't exist. This should make license.html more
resilient to code removal / move.

Idea inspired by a discussion with glandium.

This patch contains both the linter extension and the normalisation of
license.html to pass the linting.

Attachment #9339040 - Attachment description: Bug 1838408 - Lint paths referred in toolkit/content/license.html r=sylvestre → Bug 1838408 - Lint paths referred in toolkit/content/license.html r=Standard8
Attachment #9339040 - Attachment description: Bug 1838408 - Lint paths referred in toolkit/content/license.html r=Standard8 → Bug 1838408 - Lint paths referred in toolkit/content/license.html r=sylvestre
Attachment #9339040 - Attachment description: Bug 1838408 - Lint paths referred in toolkit/content/license.html r=sylvestre → Bug 1838408 - Lint paths referred in toolkit/content/license.html r=glandium
Attachment #9339040 - Attachment description: Bug 1838408 - Lint paths referred in toolkit/content/license.html r=glandium → Bug 1838408 - Lint paths referred in toolkit/content/license.html r=sylvestre
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/430670a710c1 Lint paths referred in toolkit/content/license.html r=sylvestre,glandium,ochameau,Standard8
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: