!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
17 May 2024
@qyriad:katesiria.orgQyriad I thought there was a setting like "merge commit if necessary" or somwthing 00:32:50
@jade_:matrix.orgjade_yes00:32:56
@jade_:matrix.orgjade_that's what we have00:32:58
@qyriad:katesiria.orgQyriad ah 00:33:02
@jade_:matrix.orgjade_i think that merges tend to result in git tooling behaving better, at very little disadvantage00:33:20
@jade_:matrix.orgjade_also it allows commit signing, which some people like00:33:28
@qyriad:katesiria.orgQyriad yeah we don't mind the merges personally  00:34:21
@jade_:matrix.orgjade_https://gerrit-review.googlesource.com/Documentation/config-project-config.html#submit-type here we go00:34:30
@puck:puck.moepucki'd prefer not having them but not strongly00:34:30
@qyriad:katesiria.orgQyriad and often it ends up being a chain of at least a few commits 00:34:34
@jade_:matrix.orgjade_ the cherry-pick option is busted imo 00:34:40
@qyriad:katesiria.orgQyriad rip 00:34:45
@puck:puck.moepuck i'd set it to rebase always 00:35:03
@puck:puck.moepuck

When rebasing the patchset, Gerrit automatically appends onto the end of the commit message a short summary of the change’s approvals, and a URL link back to the change in the web UI

00:35:25
@puck:puck.moepuck..if we want this in the history, hrm00:35:45
@jade_:matrix.orgjade_ yeah that would be nice, but we could just fix forgejo to have links in that 00:35:52
@jade_:matrix.orgjade_change-ids can be linked00:35:57
@puck:puck.moepuck (it'll add Reviewed-by, etc) 00:36:03
@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

Show newer messages


Back to Room ListRoom Version: 10