Reformatting and rearranging Tasks source code - Tuesday 6th September 2022 #1052
Replies: 6 comments 7 replies
-
OK It turns out that Tasks SQL Powered uses a line length of 120. What I'll do is try reformatting at that length first. If it feels comfortable to me, on a widescreen and a laptop, and looks moderately readable when printed, I'll stick with that. If not, I'll fall back to 100 and use that. It will still significantly reduce the number of diffs between the two code bases anyway. |
Beta Was this translation helpful? Give feedback.
-
I'm all for a longer line length 😎 |
Beta Was this translation helpful? Give feedback.
-
I've done the initial implementation of this. The PRs are: |
Beta Was this translation helpful? Give feedback.
-
Also: |
Beta Was this translation helpful? Give feedback.
-
Also: |
Beta Was this translation helpful? Give feedback.
-
This work was all released in Tasks 1.14.0. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
tl;dr
If you have any PRs in-flight, please try to submit them in time for being reviewed and merged by Tuesday 6th September 2022, before a reformatting and restructuring exercise will start.
Motivation
Over time, Tasks and Tasks SQL Powered have both been evolving and improving.
I would like to make it easier for:
To this end, I sometimes compare the two projects in a diff tool, and this is harder than I would like it be because the two projects differ in:
Small differences in directory structure
Tasks on left. Tasks SQL Powered on right
Events.ts
,Query.ts
andSort.ts
on the left have all been moved and/or renamed on the rightDifferences in line length, in snippet from tests
Tasks on left. Tasks SQL Powered on right
Proposal
Starting Tuesday 6th September 2022, I would like to:
Beta Was this translation helpful? Give feedback.
All reactions