!UNVBThoJtlIiVwiDjU:nixos.org

Staging

317 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen109 Servers

Load older messages


SenderMessageTime
23 Sep 2025
@wolfgangwalther:matrix.orgWolfgang WaltherWill you or shall I?12:28:59
@k900:0upti.meK900If you have the time12:29:25
@k900:0upti.meK900I am still pretty sick and busy with $work12:29:36
@wolfgangwalther:matrix.orgWolfgang WaltherOk, I will look at it.12:29:51
@wolfgangwalther:matrix.orgWolfgang Walther Turns out this update is already on staging as https://github.com/NixOS/nixpkgs/commit/60eb2b5686aa3a4d7f9a8f11d7757d259be9f34e. So no need to re-apply. I can't really wrap my head around how the revert was able to propagate back to staging without breaking this (by reverting back the version number), but it seems everything is alright. 12:39:41
@wolfgangwalther:matrix.orgWolfgang Walther(it's even on staging-next, so I assume there was a conflict to resolve when merging master to staging-next earlier?)12:40:19
@wolfgangwalther:matrix.orgWolfgang WaltherWhich also means.. that I'm not sure whether the revert actually stopped the mass rebuild - or whether that was caused by resolving the merge conflicts?12:41:44
@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

Show newer messages


Back to Room ListRoom Version: 6