Skip to content

immich: update geonames hash and allow overriding of sourcesJSON - #386137

Merged
dotlambda merged 2 commits into
NixOS:masterfrom
tebriel:immich/geodata
Mar 2, 2025
Merged

dotlambda merged 2 commits into
NixOS:masterfrom
tebriel:immich/geodata

Conversation

@tebriel

@tebriel tebriel commented Mar 1, 2025

Copy link
Copy Markdown
Contributor

Hope this is the right way to do these two things! I'm unsure why the geo hash has changed but I'm not really clear on its provenance so maybe it can be in flux?

Things done

  • update geodata hash (errors every time I try to build master)
  • allow users to override the sourcesJson (lets me build custom version while I wait for updates to master) like so:
   immich = pkgs-bleeding.immich.override {
     sourcesJSON = ../overlays/immich/sources.json;
   };
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Mar 1, 2025
@tebriel

tebriel commented Mar 1, 2025

Copy link
Copy Markdown
Contributor Author

@Scrumplex could you have a look? I'm not sure why the geo data is generating this new hash for me but it deploys successfully on my infra with the updated hash. Thanks!

@xanderio

xanderio commented Mar 1, 2025

Copy link
Copy Markdown
Contributor

@tebriel I also see that hash update, this hash was changed in #385945.

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the commit message guidelines.

@dotlambda dotlambda changed the title Geodata and JSON Override immich: update geonames hash and allow overriding of sourcesJSON Mar 2, 2025
@dotlambda
dotlambda dismissed their stale review March 2, 2025 01:57

I only checked the PR title.

@dotlambda

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 386137


x86_64-linux

✅ 1 package built:
  • immich

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

successfully ran the NixOS test

@dotlambda
dotlambda merged commit c93efd4 into NixOS:master Mar 2, 2025
@tebriel
tebriel deleted the immich/geodata branch March 2, 2025 14:54
@dotlambda dotlambda mentioned this pull request Mar 2, 2025
3 tasks done
@Scrumplex Scrumplex mentioned this pull request Mar 18, 2025
2 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants