Closed Bug 1783250 Opened 3 years ago Closed 3 years ago

Uplift issues caused by bug 1779145

Categories

(Thunderbird :: Upstream Synchronization, task)

task

Tracking

(thunderbird_esr102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
thunderbird_esr102 --- fixed

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(2 files, 1 obsolete file)

Bug 1779145 was supposed to only remove the "Services" imports from javascript files.

Unfortunately, it also included some white-space & line-length reformatting such as https://hg.mozilla.org/comm-central/diff/2f4f7096c6f65daf861d6a7bafc7072feeb8690e/mail/components/addrbook/content/aboutAddressBook.js which is wreaking havoc on efforts to uplift later changes to comm-esr102.

This bug is for a c-esr102 only patch that is essentially 2f4f7096c6f65daf861d6a7bafc7072feeb8690e with the "Services" import removals removed in order to facilitate future uplifts.

More to come, this is just what's needed for 102.1.1.

It's a mystery to me why those changes happened. I mean, it's all up to the linter!

Assignee: nobody → rob
Status: NEW → ASSIGNED

How the incoming patch was produced:

# Remove the first hunk from patched files where the change contains the Services.jsm resource URL
grepdiff  resource://gre/modules/Services.jsm  2f4f7096c6f65daf861d6a7bafc7072feeb8690e.patch  | xargs -rn1 filterdiff 2f4f7096c6f65daf861d6a7bafc7072feeb8690e.patch -\#2- -i > tmp1.patch
# Save the list of files in tmp1.patch
lsdiff tmp1.patch > files2remove.txt
# Extract patched files that did not have Services.jsm imported
filterdiff -X files2remove.txt 2f4f7096c6f65daf861d6a7bafc7072feeb8690e.patch > tmp2.patch
# Save the list of files in tmp2.patch
lsdiff tmp2.patch > noservices.txt
# Combine tmp1.patch and tmp2.patch into a single file
cat tmp1.patch tmp2.patch > tmp3.patch
# Using the original patches file order, reorder the files in tmp3.patch
lsdiff 2f4f7096c6f65daf861d6a7bafc7072feeb8690e.patch| xargs -rn1 filterdiff  tmp3.patch -i > output.patch

output.patch is easily compared to the original patch to verify that it's correct.

Additional changes were needed to some`chat protocol files due to conflicts from bug 1772283 in the reformatted lines.

Attached patch Bug1783250.patch (obsolete) — Splinter Review
Attached patch Bug1783250.patchSplinter Review
Attachment #9290054 - Attachment is obsolete: true
Attachment #9290098 - Flags: review?(mkmelin+mozilla)
Attachment #9290098 - Flags: review?(mkmelin+mozilla) → review?(leftmostcat)
Attachment #9290098 - Flags: review?(leftmostcat) → review+

Comment on attachment 9290098 [details] [diff] [review]
Bug1783250.patch

[Triage Comment]
Formatting changes only to prevent merge issues upliftng.

Attachment #9290098 - Flags: approval-comm-esr102+
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: