Skip to content
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

clonehero: 0.23.2.2 -> 1.0.0.4080 #229321

Merged
merged 2 commits into from
May 24, 2023
Merged

clonehero: 0.23.2.2 -> 1.0.0.4080 #229321

merged 2 commits into from
May 24, 2023

Conversation

kira-bruneau
Copy link
Contributor

@kira-bruneau kira-bruneau commented May 1, 2023

Description of changes

Expands on draft PR #228096 to support the latest version of Clone Hero: https://clonehero.net/2022/11/29/v1-release.html

This release also no longer requires any wrappers!! User configured files are now stored in ~/.clonehero and clonehero now no longer tries to read system fonts from /usr/share/fonts, so we don't need the fhs wrapper!

@syboxez

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog 8.has: documentation labels May 1, 2023
@kira-bruneau
Copy link
Contributor Author

Result of nixpkgs-review pr 229321 run on x86_64-linux 1

1 package blacklisted:
  • nixos-install-tools
2 packages built:
  • clonehero
  • clonehero.doc

@wegank
Copy link
Member

wegank commented May 1, 2023

Breaking changes for 23.05 were restricted a few hours ago. Too bad.

@kira-bruneau
Copy link
Contributor Author

Breaking changes for 23.05 were restricted a few hours ago. Too bad.

😢 Hmm, well I could add a wrapper script back that would keep all the files in the same directory, so then it wouldn't be a breaking change...

now that the wrapper is no longer necessary though, I'd prefer to keep things closer to upstream.

@syboxez
Copy link

syboxez commented May 1, 2023

Not sure if symlinking the directory is an option, but that should result in no breaking changes, assuming that ~/.clonehero doesn't already exist.

Alternatively, we could have a wrapper that prioritizes the upstream location over the old location. (Just by checking if ~/.clonehero exists, then checking if "~/.config/unity3d/srylain Inc_/Clone Hero" exists, then if niether exist, use ~/.clonehero)

@kira-bruneau
Copy link
Contributor Author

kira-bruneau commented May 1, 2023

That could potentially work, but I'm a bit cautious trying to paper over something that's designed to have an explicit migration step. I'm just not sure of all the potential ways that things could go wrong.

I think the safest best would be to copy the files over, but then you'd have duplicates between the two folders.

Although, I also think it would be smarter not to try to be clever about it and just shift it to next release (even though that really sucks 😞)

@ofborg ofborg bot added 8.has: clean-up 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 labels May 1, 2023
@wegank
Copy link
Member

wegank commented May 22, 2023

I think we can now rebase it for 23.11.

Co-authored-by: Kira Bruneau <kira.bruneau@pm.me>
@kira-bruneau kira-bruneau mentioned this pull request May 24, 2023
12 tasks
@wegank wegank merged commit 94dca47 into NixOS:master May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog 8.has: clean-up 8.has: documentation 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants