Closed
Bug 2050591
Opened 3 months ago
Closed 1 month ago
Replace ktlint with ktfmt for android linting and autoformat mobile/android/** files
Categories
(Firefox for Android :: Tooling, enhancement)
Tracking
()
RESOLVED
FIXED
156 Branch
| Tracking | Status | |
|---|---|---|
| firefox156 | --- | fixed |
People
(Reporter: adhingra, Assigned: adhingra)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fxdroid][group6])
Attachments
(12 files, 4 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
To see if we want to use https://github.com/facebook/ktfmt instead of or in addition to ktlint.
| Assignee | ||
Updated•3 months ago
|
Assignee: nobody → adhingra
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•3 months ago
|
||
| Assignee | ||
Comment 5•3 months ago
|
||
| Assignee | ||
Updated•3 months ago
|
Whiteboard: [fxdroid][group6]
Updated•3 months ago
|
Updated•2 months ago
|
Attachment #9601570 -
Attachment is obsolete: true
Updated•2 months ago
|
Attachment #9601569 -
Attachment is obsolete: true
Updated•2 months ago
|
Attachment #9601566 -
Attachment is obsolete: true
Updated•2 months ago
|
Attachment #9601562 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•2 months ago
|
||
| Assignee | ||
Comment 7•2 months ago
|
||
| Assignee | ||
Comment 8•2 months ago
|
||
Updated•2 months ago
|
Attachment #9601559 -
Attachment description: WIP: Bug 2050591 - Setup ktfmt for android linting → Bug 2050591 - Setup ktfmt for android linting
Updated•2 months ago
|
Attachment #9616822 -
Attachment description: WIP: Bug 2050591 - Update detekt baseline configs → Bug 2050591 - Update detekt baseline configs to fix errors after ktfmt formatting
Updated•2 months ago
|
Attachment #9616823 -
Attachment description: WIP: Bug 2050591 - Remove ktlint and replace with ktfmt where possible → Bug 2050591 - Remove ktlint and replace with ktfmt where possible
Updated•2 months ago
|
Blocks: detekt/ktlint/lint
Updated•2 months ago
|
Attachment #9616821 -
Attachment description: WIP: Bug 2050591 - Add ktfmt to linters → Bug 2050591 - Add ktfmt to linters
| Assignee | ||
Comment 9•2 months ago
|
||
| Assignee | ||
Comment 10•2 months ago
|
||
| Assignee | ||
Comment 11•2 months ago
|
||
| Assignee | ||
Comment 12•2 months ago
|
||
| Assignee | ||
Comment 13•2 months ago
|
||
| Assignee | ||
Comment 14•2 months ago
|
||
Updated•1 month ago
|
Attachment #9620497 -
Attachment description: Bug 2050591 - Format fenix source files with ktfmt → Bug 2050591 - Format apilint plugin files with ktfmt.
Updated•1 month ago
|
Attachment #9620497 -
Attachment description: Bug 2050591 - Format apilint plugin files with ktfmt. → Bug 2050591 - Format fenix source files with ktfmt
| Assignee | ||
Comment 15•1 month ago
|
||
Updated•1 month ago
|
Attachment #9620496 -
Attachment description: Bug 2050591 - Format geckoview files with ktfmt → Bug 2050591 - Format geckoview files with ktfmt.
Updated•1 month ago
|
Attachment #9620497 -
Attachment description: Bug 2050591 - Format fenix source files with ktfmt → Bug 2050591 - Format fenix source files with ktfmt.
Updated•1 month ago
|
Attachment #9620499 -
Attachment description: Bug 2050591 - Format fenix ui test files with ktfmt → Bug 2050591 - Format fenix ui test files with ktfmt.
Updated•1 month ago
|
Attachment #9620501 -
Attachment description: Bug 2050591 - Format focus files with ktfmt → Bug 2050591 - Format focus files with ktfmt.
Updated•1 month ago
|
Attachment #9616822 -
Attachment description: Bug 2050591 - Update detekt baseline configs to fix errors after ktfmt formatting → Bug 2050591 - Update detekt baseline configs to fix errors after ktfmt formatting.
Updated•1 month ago
|
Attachment #9620507 -
Attachment description: Bug 2050591 - Format android-components files with ktfmt → Bug 2050591 - Format android-components files with ktfmt.
Comment 16•1 month ago
|
||
Pushed by adhingra@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/9a71fe1f0d46
https://hg.mozilla.org/integration/autoland/rev/7933bea7ced6
Setup ktfmt for android linting r=ahochheiden,sfamisa,geckoview-reviewers,android-reviewers,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/6619d8a7fe84
https://hg.mozilla.org/integration/autoland/rev/a73ae1352d14
Add ktfmt to linters r=ahochheiden,android-reviewers,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/20167d0508ce
https://hg.mozilla.org/integration/autoland/rev/a088a97a74e4
Remove ktlint and replace with ktfmt where possible r=geckoview-reviewers,android-reviewers,owlish,taskgraph-reviewers,ahal,ahochheiden,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/fafdd808a2f3
https://hg.mozilla.org/integration/autoland/rev/1c5eb1d67326
Format geckoview files with ktfmt. r=geckoview-reviewers,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/d0469c5e7f19
https://hg.mozilla.org/integration/autoland/rev/d7b71e8b1ec6
Format fenix source files with ktfmt. r=android-reviewers,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/d48158104cb4
https://hg.mozilla.org/integration/autoland/rev/31ac63afe670
Format fenix test files with ktfmt r=android-reviewers,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/8e38afc76776
https://hg.mozilla.org/integration/autoland/rev/987e275f8134
Format fenix ui test files with ktfmt. r=android-reviewers,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/747bf11e140d
https://hg.mozilla.org/integration/autoland/rev/57663ff81e4a
Format focus files with ktfmt. r=android-reviewers,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/1967f78d98ef
https://hg.mozilla.org/integration/autoland/rev/c63a2448da19
Format android-components files with ktfmt. r=android-reviewers,webcompat-reviewers,twisniewski,jonalmeida
https://github.com/mozilla-firefox/firefox/commit/8825237d2598
https://hg.mozilla.org/integration/autoland/rev/8d2b55769a1e
Update detekt baseline configs to fix errors after ktfmt formatting. r=android-reviewers,gl
https://github.com/mozilla-firefox/firefox/commit/b4f712874bb3
https://hg.mozilla.org/integration/autoland/rev/1d723ff15ec0
Format apilint plugin files with ktfmt. r=geckoview-reviewers,jonalmeida
| Assignee | ||
Updated•1 month ago
|
Keywords: leave-open
| Assignee | ||
Updated•1 month ago
|
Summary: Investigate using ktfmt for android linting → Replace ktlint with ktfmt for android linting and autoformat mobile/android/** files
| Assignee | ||
Comment 17•1 month ago
|
||
| Assignee | ||
Updated•1 month ago
|
Keywords: leave-open
Comment 18•1 month ago
|
||
Pushed by rvandermeulen@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/1d36bdead529
https://hg.mozilla.org/integration/autoland/rev/db7a532cea2e
Add ktfmt formatting commits to .hg-annotate-ignore-revs and .git-blame-ignore-revs. r=RyanVM
Comment 19•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7933bea7ced6
https://hg.mozilla.org/mozilla-central/rev/a73ae1352d14
https://hg.mozilla.org/mozilla-central/rev/a088a97a74e4
https://hg.mozilla.org/mozilla-central/rev/1c5eb1d67326
https://hg.mozilla.org/mozilla-central/rev/d7b71e8b1ec6
https://hg.mozilla.org/mozilla-central/rev/31ac63afe670
https://hg.mozilla.org/mozilla-central/rev/987e275f8134
https://hg.mozilla.org/mozilla-central/rev/57663ff81e4a
https://hg.mozilla.org/mozilla-central/rev/c63a2448da19
https://hg.mozilla.org/mozilla-central/rev/8d2b55769a1e
https://hg.mozilla.org/mozilla-central/rev/1d723ff15ec0
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox156:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
Comment 20•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•