Lix Development | 417 Members | |
| (Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel. | 139 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Aug 2025 | ||
| if the decision is as overdetermined as it sounds I probably won't have energy to open a Forgejo issue sadly | 16:27:23 | |
| I will probably just keep creating non-formatted diffs, since… well, CI is happy with it | 16:27:34 | |
(the algorithm is simply: to rebase a commit that takes state A to state B across formatting, format A and B to produce A' and B' and diff B' against A'. Git mergetools or jj fix or whatever only enter the picture in how you make this happen; the algorithm itself works 100% reliably to produce the commit you would have produced if the change was written post-format) | 16:29:20 | |
It's totally is and I'm sorry for that, I don't consider formatting discussions table stakes compared to other high profiles debates we may have here, especially given that it will impact first and foremost the people who are the most active sending patches & working on Lix (and I realize that this may discourage people who are not sending patches or work on Lix, but I don't know how many of them exist and if patches would happen if the codebase is reformatted that way), so it's a bit of I prioritize the regularity that I know right now | 16:30:18 | |
In reply to @emilazy:matrix.organd I'm totally happy with that as well | 16:30:53 | |
In reply to @emilazy:matrix.orgDon't get me wrong, I totally believe you that this is achievable | 16:31:08 | |
| Formatting is, to me, more than a technical discussion so I don't want you to lose time over something that I believe will disappoint more the participants than the ultimate achieved outcome | 16:31:55 | |
| (I find it discouraging that I am having to manually do code formatting tasks (albeit likely formatting-standard-noncompliant ones) because I cannot reasonably use the tooling fwiw) | 16:32:02 | |
| Obviously, this can be revisited in the future | 16:32:04 | |
| (I do know there are other Lix contributors using Jujutsu so I wonder what the workflow being used to deal with this is, but I suspect it involves editor hooks) | 16:32:56 | |
| Maybe I should forcibly switch myself to Jujutsu to understand what can be achieved | 16:33:15 | |
| we are likely doing that soon | 16:33:30 | |
| But really, this is the best I can offer at this point in time | 16:33:28 | |
| do iiiiiiit | 16:33:31 | |
| puck uses Jujutsu iwrc | 16:33:41 | |
| idk what she does with Lix with it | 16:33:47 | |
| I have seen jade_ active in Jujutsu spaces too at least | 16:33:55 | |
| yes, she has been trying to convince me to use it as well | 16:35:08 | |
| as long as you have a formatting tool that can work in-memory on entire files ( I wouldn't call this a Jujutsu perk though because as I said the exact same results can be achieved with Git and insofar as it is more awkward to do so it is only the usual Jujutsu–Git delta of awkwardness | 16:36:02 | |
| jj is great. i was hesitant to try it because i felt pretty comfortable with git despite its terrible ux but i regret not trying jj sooner because it's genuinely a huge improvement | 16:36:08 | |
In reply to @emilazy:matrix.orgyes but let's be clear again | 16:36:35 | |
| i don't want to make Lix a project that is jj-only | 16:36:43 | |
| or usable very much only if you use jj | 16:36:49 | |
| see my second paragraph :( | 16:36:54 | |
| ok sorry :( | 16:37:01 | |
| I really feel like there is a knowledge gap in how much simple merge tooling that Git supports as well as Jujutsu will resolve all formatting conflict issues automatically and that a small amount of documentation could resolve this, but I also understand that it's effectively not up for discussion | 16:37:27 | |
| because when you drum it too hard, I hear "let's make the experience great for jj users and for git… well doable but enjoy" | 16:37:27 | |
| alright. I was replying to you talking about the Jujutsu workflow around this. if you had asked about Git I could have given that information too :) | 16:37:54 | |
| it's a risk aversion thing | 16:37:54 | |
| yeah what i was focusing on is "emilazy cannot format their diffs nicely with jj on lix contributions, so i will try jj and understand what is broken or what could be improved" | 16:38:29 | |