Skip to content

Conversation

tetov
Copy link
Contributor

@tetov tetov commented Jun 19, 2025

Exposes services.karakeep.meilisearch.dumplessUpgrade within the services.karakeep.meilisearch options in order to make upgrade to karakeep 0.25.0 easier.

Depends on #412414 because I rewrote quite a bit of the module in there..

Things done

  • 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/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (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, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@tetov tetov requested review from three and HritwikSinghal June 19, 2025 12:35
@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-10 This PR causes between 1 and 10 packages to rebuild on Linux. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Jun 19, 2025
Copy link
Contributor

@HritwikSinghal HritwikSinghal left a comment

Choose a reason for hiding this comment

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

looks good to me 👍

@github-actions github-actions bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 19, 2025
@tetov tetov force-pushed the karakeep_dumpless branch from ef2da9a to 996018e Compare June 22, 2025 20:17
@tetov
Copy link
Contributor Author

tetov commented Jun 22, 2025

@HritwikSinghal: Sorry, my initial change just added the option, and not the config. That's fixed now, and dumplessUpgrade now defaults to true. If the user uses meilisearch for something else and has explicitly turned of dumplessUpgrades that's respected. (Could still surprise someone but I suppose that's unlikely.

@tetov tetov requested a review from HritwikSinghal June 22, 2025 20:21
@HritwikSinghal
Copy link
Contributor

If the user uses meilisearch for something else and has explicitly turned of dumplessUpgrades that's respected. (Could still surprise someone but I suppose that's unlikely.

i also think this is a better approach since karakeep doesn't officially support this method yet (they will when its out of experimental in meilisearch).

@HritwikSinghal: Sorry, my initial change just added the option, and not the config. That's fixed now, and dumplessUpgrade now defaults to true.

no worries :) , thanks for updating.

@HritwikSinghal
Copy link
Contributor

@tetov can we move ahead and merge this?

@tetov
Copy link
Contributor Author

tetov commented Jul 4, 2025

@HritwikSinghal https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#how-can-i-get-a-committer-to-look-at-my-pr

Edit: we need #412414 merged. I'll check if I posted this to the discourse thread when I get to a computer.

@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jul 26, 2025
@tetov tetov force-pushed the karakeep_dumpless branch from 996018e to d3384a1 Compare August 6, 2025 14:08
@tetov
Copy link
Contributor Author

tetov commented Aug 6, 2025

Rebased against master instead of basing on PR #412414, making this easier to review hopefully.

If you were previously replacing the module based on this PR you could use https://github.com/tetov/nixpkgs/tree/karakeep_combined_prs instead which includes #412414, #416531, #418146 & #426982.

@tetov tetov marked this pull request as ready for review August 6, 2025 14:09
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Aug 6, 2025
@tetov tetov mentioned this pull request Aug 7, 2025
13 tasks
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Aug 11, 2025
@HritwikSinghal
Copy link
Contributor

fyi, its now services.meilisearch.settings.experimental_dumpless_upgrade. see https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/search/meilisearch.nix#L85C46-L85C75

@tetov tetov force-pushed the karakeep_dumpless branch from d3384a1 to fb70d17 Compare August 18, 2025 07:46
@tetov
Copy link
Contributor Author

tetov commented Aug 18, 2025

@HritwikSinghal: rebase original commit and pushed another that changes the option name. Thanks for notifying me!

EDIT: Took me a while to figure out that the setting not only changed name but also moved to the freeform option settings..

@tetov tetov force-pushed the karakeep_dumpless branch from fb70d17 to 61ade7b Compare August 20, 2025 08:32
@tetov tetov force-pushed the karakeep_dumpless branch 2 times, most recently from dfe9285 to f53380f Compare August 20, 2025 09:24
@tetov tetov force-pushed the karakeep_dumpless branch from f53380f to d842093 Compare August 20, 2025 09:59
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: module (update) This PR changes an existing module in `nixos/` 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. 12.approvals: 2 This PR was reviewed and approved by two persons.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants