!UNVBThoJtlIiVwiDjU:nixos.org

Staging

315 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/108 Servers

Load older messages


SenderMessageTime
23 Sep 2025
@vcunat:matrix.orgVladimír Čunát🤔 I think default merging will merge two same changes without conflict?12:41:52
@vcunat:matrix.orgVladimír Čunát(i.e. if both sides make the same change, it just passes)12:42:14
@vcunat:matrix.orgVladimír Čunát* (i.e. if both sides of the 3-way diff make the same change, it just passes)12:42:25
@vcunat:matrix.orgVladimír ČunátThough I believe there's not a 100% consensus whether that's a good thing to do.12:42:59
@wolfgangwalther:matrix.orgWolfgang Walther

Yeah, but:

  • staging changes to 1.14.0 -> 1.15.1, this is now in staging-next
  • master changes the same.
  • master is merged into staging-next, but now has a conflict in the fetcher.
  • this conflict is resolved when manually merging. (probably in a wrong way, if that caused a mass rebuild - the right conflict resolution should have just kept what was on staging-next!)
  • we revert on master.
  • the revert is merged cleanly into staging-next... the diff shows "1.15.1 -> 1.14.0".
  • But the file still has "1.15.1" in it.

How did the revert apply and show a diff - but not make a change?

12:44:38
@wolfgangwalther:matrix.orgWolfgang WaltherIt seems that the merges from master->staging-next->staging after the revert didn't actually apply the revert. At least the diff for these merges doesn't show any changes to that file.12:46:43
@vcunat:matrix.orgVladimír ČunátAh, you reverted too fast.12:49:18
@vcunat:matrix.orgVladimír Čunát So staging-next never knew this merge+revert. 12:49:36
@vcunat:matrix.orgVladimír Čunáti.e. the merge base (for master->staging-next) always seemed like master didn't change anything and staging-next updated it.12:50:29
@wolfgangwalther:matrix.orgWolfgang WaltherAh, that was a misunderstanding on my part, then.12:50:40
@wolfgangwalther:matrix.orgWolfgang Walther I thought this was already in staging-next. 12:50:47
@wolfgangwalther:matrix.orgWolfgang WaltherBut it was what caused the merge conflict and never made it there.12:50:55
@wolfgangwalther:matrix.orgWolfgang WaltherAfter the revert, the state was clean again.12:51:00
@wolfgangwalther:matrix.orgWolfgang Walther(there was never a manual merge)12:51:07
@vcunat:matrix.orgVladimír Čunát It is in staging-next now, but there was no auto-merge on the state between merging the PR and reverting it. 12:51:58
@vcunat:matrix.orgVladimír Čunát * It is in staging-next now, but there was no merge on the state between merging the PR and reverting it. 12:52:10
@wolfgangwalther:matrix.orgWolfgang Waltheryes.12:52:15
@wolfgangwalther:matrix.orgWolfgang WaltherIt only came in as merge+revert = no-op. I see.12:52:22
@k900:0upti.meK900Yeah12:52:35
@wolfgangwalther:matrix.orgWolfgang WaltherIn any case, the update is already there, so nothing to do for me :D12:52:54
@vcunat:matrix.orgVladimír ČunátRarely you run into such "problems" resulting from the dumbness of 3-way merging.12:53:05
@vcunat:matrix.orgVladimír ČunátIf the auto-merge timing was different, it would resolve differently.12:53:21
@vcunat:matrix.orgVladimír ČunátOr "luckily" it wouldn't merge cleanly because of the fetcher rewrite.12:54:31
@wolfgangwalther:matrix.orgWolfgang Waltherexactly12:54:43
@vcunat:matrix.orgVladimír ČunátSo, when are we switching to pijul? 😆12:58:38
@fabianhjr:matrix.orgFabián HerediaHi, for cmake 4 I want to pull a patch from sourceforge but I can't seem to find an easy way to do that and seems like other maintainers have opted to inline / commit the patch into a file in nikpkgs. wsid? https://sourceforge.net/p/panotools/libpano13/ci/698e20b4d296c1dbde9d010c3fb8d54050e56ddb/15:03:10
@fabianhjr:matrix.orgFabián Heredia* Hi, for cmake 4 I want to pull a patch from sourceforge but I can't seem to find an easy way to do that and seems like other maintainers have opted to inline / commit the patch into a file in nikpkgs. What should I do? https://sourceforge.net/p/panotools/libpano13/ci/698e20b4d296c1dbde9d010c3fb8d54050e56ddb/15:03:21
@k900:0upti.meK900IMO just vendor it15:06:49
@k900:0upti.meK900It's three lines who gives a shit15:06:52
@vcunat:matrix.orgVladimír Čunát Or even substituteInPlace 😄 15:39:51

Show newer messages


Back to Room ListRoom Version: 6