-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport release-24.05] factorio_2 + factorio-space-age: init at 2.0.8 #350379
[Backport release-24.05] factorio_2 + factorio-space-age: init at 2.0.8 #350379
Conversation
👀 #350377 |
23e38ae
to
13979f3
Compare
ok, creating a new PR actually didn't fix my CI checks issue, but doing |
yeah, I just saw that. Inclined to keep this as-is and just backport that as well when it's done, for the sake of simplicity, but can do the additional cherry-picks if someone thinks that's better |
oh! the merge conflicts are because 24.05 never got 1.1.110 and was still on 1.1.107, i.e. these were not backported:
anyway, it's time for me to go to bed for the night, I'll look at this in the morning if it's not already done by someone else instead for now I renamed the PR to reflect the real version change, but if we want to cherry-pick the full commit sequence properly I can do that tomorrow |
As much as I appreciate the effort to backport, please allow me to raise the question if it's worth it at this point. |
I'm running the game for myself personally and running a server for me and my friends, so I already have to do the necessary work here, so I might as well make PRs for it :) |
13979f3
to
8b33d2e
Compare
ok, I put in the missing backports and I think this is ready to be merged |
Fair enough. |
So we want to backport a major update which is explicitly breaking and recommend to start a new map to stable? |
The pop-up that recommends that you start a new game when you're loading a save is only there if you switch from base Factorio to space age, which also means switching which package you're installing, so I think it's reasonable to at least backport the new package. (I just checked and disabling the three mods that Space Age adds is sufficient to disable the warning.) The upgrade of base factorio from 1.1.107 to 2.0.7 is certainly bigger and more fraught than the average Factorio upgrade, but I'm not sure it's of a fundamentally different kind. A bunch of recipes and entities get replaced, some technologies get changed, and there are some balance changes, but it is at least intended that people are able to upgrade their saves. shrug My guess is that this is what people will want (it's certainly what I will want), but I can see the argument the other way. Let me know if you want any of:
|
|
Yes and yep. That is way more inline with the backporting rules. |
For the backport specifically we should have factorio_2 as a new package, and bump factorio to the latest 1.x release. This will be a bit weird when people upgrade to unstable or the next release but such is life. |
8b33d2e
to
29747bb
Compare
|
29747bb
to
b53af42
Compare
7256a19
to
08bd213
Compare
ok, the latest here is:
I'm mindful that nixos-24.11 is only about a month away, so if this is a tonne of effort, maybe it'll end up being not worth it, but honestly I'm interested in getting practice doing this kind of thing, so for my own efforts I don't really mind |
Freeze versions into a separate versions.json for _1; there are unlikely to be any more releases in that series, and this means that cherry-picking version updates from master will update the correct file. So far the _2 packages are misnamed because I haven't done the cherry-picking yet, but that will be fixed next.
(cherry picked from commit 56444f5)
(cherry picked from commit 5579fe3)
space-age needs to be based on `factorio_2`, not `factorio`
Note that this also deletes factorio-space-age-experimental; this is left in top-level/all-packages.nix for now since I don't know if they plan to bring it back. Longer term we should make it resolve to stable if it doesn't exist, probably. (cherry picked from commit ed88329)
883f4b0
to
ec4ab2e
Compare
thanks Luke, appreciate it ❤️ |
I got two GitHub Action failure notifications for this PR: https://github.com/NixOS/nixpkgs/actions/runs/11594177669 Both of them sound like GitHub was still trying to run pull request actions after the PR was closed and I deleted my branch, and that was leading to it failing to check out the changes? I plan to ignore them unless someone thinks otherwise. |
edit: the final version of this PR backported:
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.