!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
17 May 2024
@qyriad:katesiria.orgQyriad (which btw is also in refs/notes/, just not on the commit itself) 00:36:41
@jade_:matrix.orgjade_i am confused why you can't have that behaviour on merge always00:37:02
@qyriad:katesiria.orgQyriad I guess just since it would then have put to that message in the merge commit and duplicate it for every commit in the merge? idk 00:37:40
@puck:puck.moepuck
In reply to @jade_:matrix.org
i am confused why you can't have that behaviour on merge always
mmm, we can check the source tomorrow
00:38:05
@delroth:delroth.netdelrothfwiw it doesn't add a merge commit if it doesn't need to, see e.g. my 2 commits on main: https://git.lix.systems/lix-project/lix/commits/branch/main00:39:32
@delroth:delroth.netdelroth * fwiw it doesn't add a merge commit if it doesn't need to, see e.g. my 3 commits on main: https://git.lix.systems/lix-project/lix/commits/branch/main00:39:40
@qyriad:katesiria.orgQyriad okay yeah that's what we thought 00:40:33
@jade_:matrix.orgjade_
In reply to @qyriad:katesiria.org
I guess just since it would then have put to that message in the merge commit and duplicate it for every commit in the merge? idk
mm right yeah ok that makes sense
00:40:54
@qyriad:katesiria.orgQyriad we could just get in the habit of hitting the rebase button in gerrit more often. most of the time that even keeps reviews 00:40:55
@puck:puck.moepuckit probably merges if you have >1 commit00:42:24
@qyriad:katesiria.orgQyriad I think it is probably >1 commit submitted at the same time || commit's base is not HEAD 00:42:52
@julia:the-apothecary.clubjuliayou can have more than 1 commit with Gerrit? do I misunderstand how it works00:42:55
@qyriad:katesiria.orgQyriad you can have a relation chain! 00:43:26
@julia:the-apothecary.clubjuliaoh those can be merged all at once?00:43:44
@qyriad:katesiria.orgQyriad you can push a commit and that gets a change ID, and then push another commit on top which still gets reviewed separately, but can all be merged at once yep! 00:44:00
@qyriad:katesiria.orgQyriad this is one of the best things about gerrit. you can be working on these huuuuuge changes that are still reviewable because they're split up logically and you can review each commit as it comes, but then still keep working on the later parts without blocking the whole thing 00:45:35
@qyriad:katesiria.orgQyriad and then if it turns out that the later commits have some problems that will take more time, you can just merge the entire chain below and still have merged significant progress into the codebase 00:46:19
@julia:the-apothecary.clubjulia:)00:46:33
@jade_:matrix.orgjade_it also /forces/ good commit hygiene00:51:27
@jade_:matrix.orgjade_idk if you have noticed the commit history of lix but it is probably one of the cleanest and clearest commit histories i have ever worked with in any project.00:51:48
@strawberry:puppygock.gaystrawberry🍓 (it/pup/she/they) 🏳️‍⚧️ 💜 🦴 (puppygock.gay)
In reply to @jade_:matrix.org
it also /forces/ good commit hygiene
most underrated thing about projects ever
00:52:05
@strawberry:puppygock.gaystrawberry🍓 (it/pup/she/they) 🏳️‍⚧️ 💜 🦴 (puppygock.gay)idk if it's just the places i hang out in but apparently it's such an unpopular opinion to want clean commit history00:52:30
@qyriad:katesiria.orgQyriadsee, the thing about clean commit history00:53:13
@jade_:matrix.orgjade_the thing about gerrit is that it /forces/ it because your commit message is your change description. you have to write something in there for someone to be able to review it and understand where you're coming from00:53:35
@qyriad:katesiria.orgQyriad is it sounds like potential dogma right? it sounds like "yeah this is clearly best practices but shrugs" for a lot of people. but clean commit history doesn't just look nice, and it's not even just nice for rebases, it is necessary for code review 00:54:46
@jade_:matrix.orgjade_ yeah. github having the change description in two places is wild though 00:55:23
@qyriad:katesiria.orgQyriad clean commit history is nice for looking back on. but it is necessary to be able to review changes 00:55:25
@jade_:matrix.orgjade_oh right i think i remember that the forgejo AGit flow doesn't update PR descriptions into line with commit messages00:56:00
@strawberry:puppygock.gaystrawberry🍓 (it/pup/she/they) 🏳️‍⚧️ 💜 🦴 (puppygock.gay)i dont even have high standards, i just dont want PRs to be full of "Update <filename>", "address reviews", "Update <filename>, "address more reviews", etc00:56:07
@strawberry:puppygock.gaystrawberry🍓 (it/pup/she/they) 🏳️‍⚧️ 💜 🦴 (puppygock.gay)and merged like that00:56:16

Show newer messages


Back to Room ListRoom Version: 10