Skip to content

Conversation

@pinpox
Copy link
Member

@pinpox pinpox commented Oct 30, 2023

Fixes #250306

Description of changes

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/)
  • 23.11 Release Notes (or backporting 23.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.

@olivia-fl
Copy link
Contributor

Result of nixpkgs-review pr 264362 run on aarch64-darwin 1

1 package built:
  • ripgrep-all

Tested the resulted binary against the files in nixpkgs-review/exampledir/demo, and it seems to work. Confirmed that the tests that were removed from installCheckPhase are part of the cargo test tests that run during the build now.

@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 30, 2023
@ofborg ofborg bot requested review from Ma27 and zaninime October 30, 2023 17:34
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package 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. labels Oct 30, 2023
Copy link
Member

@magnetophon magnetophon left a comment

Choose a reason for hiding this comment

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

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

1 package built:
  • ripgrep-all

rga and rga-fzf work as expected, but there are also two binaries in /bin dir that I didn't recognize and seem to be "internal" tools:
rga-fzf-open and rga-preproc.
Not sure if they should be in /bin.

@phiresky
Copy link

Yes, they are used internally. Afaik rga expects them to be in the same location the rga binary is

@delroth delroth 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 Oct 30, 2023
Copy link
Contributor

@zaninime zaninime left a comment

Choose a reason for hiding this comment

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

Result of nixpkgs-review pr 264362 run on aarch64-darwin 1

1 package built:
  • ripgrep-all

@delroth delroth added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Oct 31, 2023
@Ma27
Copy link
Member

Ma27 commented Oct 31, 2023

I can take a look later today and merge if everything seems OK :)

Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

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

Tested for a while, also with larger directories and it seems fine so far. The only issue I encountered was that poppler complained about a locked database which could be solved by deleting my old cache (phiresky/ripgrep-all#188), but given that clearing the cache as workaround is sufficient (and there seem to be quite a lot of changes), I'm fine with that.

The author claims that it's working fine for them and should generally be releasable, but they'd like to see if more problems come up. To me the current state seems good enough and the implementation in this PR is IMHO highly preferable over applying all the patches between 0.9.6 and now that fix known issues with adapters without the more complex changes that were the reason for a new major (which is the only other option left short of marking this as broken).

@Ma27 Ma27 merged commit f7f98bc into NixOS:master Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package 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. 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: ripgrep-all

7 participants