Closed Bug 1678766 Opened 4 years ago Closed 3 years ago

Add license header to SVG files that are missing one

Categories

(Thunderbird :: Testing Infrastructure, task)

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: rjl, Assigned: Paenglab)

References

Details

(Keywords: leave-open)

Attachments

(2 files, 1 obsolete file)

There are a number of SVG files missing license headers:

comm/calendar/base/themes/common/calendar-itip-icons.svg
comm/calendar/base/themes/common/calendar-occurrence.svg
comm/calendar/base/themes/common/icons/newevent.svg
comm/calendar/base/themes/common/widgets/images/drag-center.svg
comm/mail/components/cloudfile/wetransfer/images/logo.svg
comm/mail/components/enterprisepolicies/content/policies-active.svg
comm/mail/components/enterprisepolicies/content/policies-documentation.svg
comm/mail/components/enterprisepolicies/content/policies-error.svg
comm/mail/themes/addons/dark/icon.svg
comm/mail/themes/addons/light/icon.svg
comm/mail/themes/shared/mail/icons/cert-error.svg
comm/mail/themes/shared/openpgp/attach-active-18.svg
comm/mail/themes/shared/openpgp/attach-disabled-18.svg
comm/mail/themes/shared/openpgp/attach-inactive-18.svg
comm/mail/themes/shared/openpgp/decrypt-active-18.svg
comm/mail/themes/shared/openpgp/decrypt-inactive-18.svg
comm/mail/themes/shared/openpgp/encrypt-active-18.svg
comm/mail/themes/shared/openpgp/encrypt-disabled-18.svg
comm/mail/themes/shared/openpgp/encrypt-inactive-18.svg
comm/mail/themes/shared/openpgp/headerProtected-18.svg
comm/mail/themes/shared/openpgp/headerUnprotected-18.svg
comm/mail/themes/shared/openpgp/ok-sign.svg
comm/mail/themes/shared/openpgp/password-error.svg
comm/mail/themes/shared/openpgp/sign-active-18.svg
comm/mail/themes/shared/openpgp/sign-disabled-18.svg
comm/mail/themes/shared/openpgp/sign-inactive-18.svg

Attached patch 1678766-SVG-license-header.patch (obsolete) — Splinter Review

When I was on it I optimised some SVGs.

For the WeTransfer icon I'm not sure if adding a Mozilla License header is okay. I don't know if this icon comes from WeTransfer itself. This should investigated.

The OpnPGP files seems to be not used but still packaged to the executables. I only added the license without anything other. Someone should look at this folder and clean-up what isn't needed.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9189350 - Flags: review?(alessandro)
Comment on attachment 9189350 [details] [diff] [review]
1678766-SVG-license-header.patch

Review of attachment 9189350 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM, thanks!
Attachment #9189350 - Flags: review?(alessandro) → review+
Target Milestone: --- → 85 Branch

This is sill lacking those few files Richard pointed out, right? Who is checking on those? Let's not close this bug until they're all done and the check can be turned on for these files.

Keywords: leave-open

None should lacking the header.

Geoff, what about the WeTransfer icon? I've added a Mozilla license header. Is this okay or should Rob add an exception for that file?

Flags: needinfo?(geoff)

I don't think it should have a Mozilla header as it's not our property. I'm not sure what our agreement with WeTransfer says about use of their logo, but it's probably best left without a header.

Flags: needinfo?(geoff)

Patch without the WeTransfer icon.

Rob, when you enable the linting you need to add a exception.

Attachment #9189350 - Attachment is obsolete: true
Attachment #9189579 - Flags: review+

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/cdea27c3fabd
Add license header to SVG files that are missing one. r=aleca

I'm going to go ahead and land this since its just enabling the check for SVGs and I fixed one more file that snuck in since Richard posted his patch.

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/2daad155803e
Enable license linting SVG files. rs=linting
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Regressions: 1648014
No longer regressions: 1648014
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: