!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

419 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

Load older messages


SenderMessageTime
1 Aug 2025
@charles:computer.surgeryCharlesi think it's more like "if you don't, the experience can be miserable, IF you need to rebase changes across the formatting commit" which seems like it would be pretty rare if you formatted all branches, no?16:14:22
@emilazy:matrix.orgemilythere are a finite and relatively small number of patches in flight right now16:14:26
@emilazy:matrix.orgemilythere are always new people creating new patches from scratch16:14:32
@emilazy:matrix.orgemilyand the partially-formatted state is worse for them16:14:41
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @charles:computer.surgery
i think it's more like "if you don't, the experience can be miserable, IF you need to rebase changes across the formatting commit" which seems like it would be pretty rare if you formatted all branches, no?
No because Lix work involve going back a lot in the past
16:14:44
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)I took care of CVE rebases and stuff, I know that if a formatter was in my way, this could have been one of those moments where this could have exceeded my patience16:15:25
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @emilazy:matrix.org
and the partially-formatted state is worse for them
This I truly don't understand
16:16:02
@emilazy:matrix.orgemilyis this not going to be true when the incremental reformat eventually completes…?16:16:06
@emilazy:matrix.orgemilythere is always going to be a flag day16:16:14
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @emilazy:matrix.org
is this not going to be true when the incremental reformat eventually completes…?
The window is completely different on an incremental reformat process
16:16:28
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)(also because I literally had to deal with very few issues reformatting to very old versions)16:16:49
@emilazy:matrix.orgemily this started with WeetHet giving an example (and it's also bad enough for my workflow that I'm just pushing formatting-noncompliant diffs right now), it may be that for WeetHet the solution is simple as finding the right editor toggle, but that's still not zero pain either 16:17:16
@emilazy:matrix.orgemilyright I mean I agree that formatting on only one branch would be bad16:17:36
@emilazy:matrix.orgemilybut I don't see any reason why you'd do that16:17:42
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @emilazy:matrix.org
this started with WeetHet giving an example (and it's also bad enough for my workflow that I'm just pushing formatting-noncompliant diffs right now), it may be that for WeetHet the solution is simple as finding the right editor toggle, but that's still not zero pain either
I understand the pains and I'm willing to see how we can better document help, even check in the files to do per-project configuration automatically for you
16:18:06
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)I do not think that a big reformat commit is at the agenda and will not be unless there's a very compelling reason to do so16:18:23
@emilazy:matrix.orgemilyI am pretty confident that there is no fix you can do with the current scheme that will be tolerable for my workflow. (but most people's problems are probably not my workflow's problems)16:18:47
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)I understand that and I am sorry we cannot do better16:19:05
@emilazy:matrix.orgemily(it is frustrating that hypothetical problems without enough detail provided to explain why they would cause issues that cannot trivially be solved are prioritized over real-world problems people are having now…)16:20:29
@charles:computer.surgeryCharlesfor backporting or forward-porting?16:21:34
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)(If I had energy to sit down, review the notes we had on this, provide them, go into it, come to the conclusion we cannot do it for valid reasons and spent that energy, I think other priorities that I deem more important would be abandoned, so I'm sorry I'm pushing back on this a bit because we know what tradeoffs we made. Another thing important to me is that these apparently simple decisions are taken by people with stakes / responsibilities in the project otherwise I feel like it's the in-charge maintainers who have to carry them and it's a bit unfair if they are not comfortable with them.)16:23:46
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)(but if I were only in charge of DX / formatting, I'd do it with pleasure but I'm really too strained right now)16:24:22
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @charles:computer.surgery
for backporting or forward-porting?
for performance tracking, root cause analysis, etc.
16:24:52
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)We go back, we cherry pick things, we revert things and so on and so forth16:25:00
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)It's not only for actually applying patches, it's also part of our development cycle16:25:10
@k900:0upti.meK900 just filter-branch it 16:25:49
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)When we go back 14 years ago, sometimes, the patches are trivial enough and we can rewrite them by hand, but we would prefer stability16:25:52
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @raitobezarius:matrix.org
(If I had energy to sit down, review the notes we had on this, provide them, go into it, come to the conclusion we cannot do it for valid reasons and spent that energy, I think other priorities that I deem more important would be abandoned, so I'm sorry I'm pushing back on this a bit because we know what tradeoffs we made. Another thing important to me is that these apparently simple decisions are taken by people with stakes / responsibilities in the project otherwise I feel like it's the in-charge maintainers who have to carry them and it's a bit unfair if they are not comfortable with them.)
Also, in general: I think these discussions are better suited in a medium like Forgejo issues, because I'm like the only core team member chiming in there and it's also unfair that no one else will come and provide answers
16:26:43
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)(hence why I push to the issues)16:26:55
@emilazy:matrix.orgemilyI understand limited time to deal with such decisions but I feel like "we can spend time talking about how to patch your/others' problems with the current workflow but not spend equivalent time explaining our problems with the proposed workflow" is somewhat imbalanced :( again, any problem caused by a patch going forward across a pre-format state to a post-format one can be solved 100% automatically with one single command, in all cases. (as in, any remaining conflicts are guaranteed to be for non-reformatting reasons.) so it can never get more than one command in the way of a revert or cherry-pick from pre-reformatting. I believe the cost of the current workflow is >one command for at least me and likely others16:26:57

Show newer messages


Back to Room ListRoom Version: 10