!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
1 Aug 2025
@k900:0upti.meK900 How the fuck am I code owner 14:17:49
@k900:0upti.meK900lol14:17:51
@raitobezarius:matrix.orgraitobezarius
In reply to @charles:computer.surgery
So if you only do it piecemeal then your formatting will probably never actually converge
even a better reason for not doing in one shot then
14:18:02
@raitobezarius:matrix.orgraitobezariusbecause if CI enforces absolute validity, then we will have to reformat on each bumps14:18:11
@raitobezarius:matrix.orgraitobezariuswhich is a bit ridiculous14:18:14
@charles:computer.surgeryCharleshuh? that means you have to do it in one shot, and then reformat on bumps14:18:21
@raitobezarius:matrix.orgraitobezarius
In reply to @k900:0upti.me
How the fuck am I code owner
well you received an email about this cc jade_ :p
14:18:25
@charles:computer.surgeryCharlesyeah that's not a huge deal i don't think14:18:26
@raitobezarius:matrix.orgraitobezariusi am a big hater of "format commits"14:18:47
@raitobezarius:matrix.orgraitobezariusno useful information are contained in there14:18:55
@charles:computer.surgeryCharlesi think i would hate inconsistent formatting more14:19:15
@raitobezarius:matrix.orgraitobezariusi personally don't care14:19:26
@charles:computer.surgeryCharlessee also .git-blame-ignore-revs14:19:26
@raitobezarius:matrix.orgraitobezariusyes but it only ignore them on git blame14:19:37
@raitobezarius:matrix.orgraitobezariusnot on git rebase, not on git bisect, not on […]14:19:46
@emilazy:matrix.orgemilyfwiw I would be so much happier if it was just done outright16:03:58
@emilazy:matrix.orgemilyand the conflicts dealt with ~once16:04:04
@emilazy:matrix.orgemilybecause the partial formatting is inconvenient for My Workflow™16:04:14
@emilazy:matrix.orgemily(but I suspect others' workflow too, in general partial file formatting is not that great in terms of LSP support etc.)16:04:29
@raitobezarius:matrix.orgraitobezariusbut aren't editors these days able to have project-local configuration?16:04:57
@emilazy:matrix.orgemilyNix is doing (already did?) a treewide format16:04:58
@emilazy:matrix.orgemilyor do you mean across stable versions?16:05:05
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
or do you mean across stable versions?
Yes
16:05:29
@helle:tacobelllabs.nethelle (just a stray cat girl)(cross porting patches can be hilarious at times anyway, but yeah, it would make it more impossible) 16:05:54
@emilazy:matrix.orgemilycan just format on all branches16:05:45
@emilazy:matrix.orgemilyit's not about per-project config, it's about having to do region-based formats rather than whole-file ones etc.16:06:11
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
it's not about per-project config, it's about having to do region-based formats rather than whole-file ones etc.
That's the job of the pre-commit hook though, no?
16:06:26
@raitobezarius:matrix.orgraitobezarius(or git-clang-format)16:06:36
@charles:computer.surgeryCharleslots of people configure their editor to format files on save, which is super useful16:07:02
@emilazy:matrix.orgemily

yes if

  1. you are okay having no formatting while you work on commits, which can be very annoying
  2. you use tooling that works with pre-commit hooks
  3. pre-commit hooks do not make you fly into a rage
16:07:08

Show newer messages


Back to Room ListRoom Version: 10