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

ripgrep: 0.9.0 -> 0.10.0 #46331

Merged
merged 1 commit into from Sep 8, 2018
Merged

ripgrep: 0.9.0 -> 0.10.0 #46331

merged 1 commit into from Sep 8, 2018

Conversation

dywedir
Copy link
Member

@dywedir dywedir commented Sep 7, 2018

0.10.0 (2018-09-07)

Major new features include PCRE2 support, multi-line search and a JSON output format.

closes #46350

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

cc @tailhook

@@ -1,19 +1,24 @@
{ stdenv, fetchFromGitHub, rustPlatform, asciidoc, docbook_xsl, libxslt }:
{ stdenv, fetchFromGitHub, rustPlatform, asciidoc, docbook_xsl, libxslt
, withPCRE2 ? false, pcre2 ? null
Copy link
Member Author

@dywedir dywedir Sep 7, 2018

Choose a reason for hiding this comment

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

or withPcre2
or withpcre2?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine as is. Camel casing looks weird for abbreviations anyway.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

post-installation fixup
moving /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/man to /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
shrinking /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
checking for references to /build in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0...
/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

post-installation fixup
moving /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/man to /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
shrinking /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
checking for references to /build in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0...
/nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0

@xeji
Copy link
Contributor

xeji commented Sep 7, 2018

let's check darwin build
@GrahamcOfBorg build ripgrep

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

/nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: ripgrep

Partial log (click to expand)

          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `ripgrep`.

To learn more, run the command again with --verbose.
builder for '/nix/store/f7kmxd0h0f2r13qyd1sdkg08c0rx6id6-ripgrep-0.10.0.drv' failed with exit code 101
error: build of '/nix/store/f7kmxd0h0f2r13qyd1sdkg08c0rx6id6-ripgrep-0.10.0.drv' failed

@xeji
Copy link
Contributor

xeji commented Sep 7, 2018

darwin failure is a regression. Security framework is missing, just do a rg Security for examples 😄

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

post-installation fixup
moving /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/man to /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
shrinking /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
checking for references to /build in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0...
/nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

post-installation fixup
moving /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/man to /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
shrinking /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
checking for references to /build in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0...
/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

@xeji
Copy link
Contributor

xeji commented Sep 8, 2018

Let's try darwin again. Unfortunately we cannot tell ofborg to only build one platform...
@GrahamcOfBorg build ripgrep

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: ripgrep

Partial log (click to expand)

test result: ok. 186 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

installing
post-installation fixup
moving /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/man to /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/share/man
gzipping man pages under /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0
/nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ripgrep

Partial log (click to expand)

post-installation fixup
moving /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/man to /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
shrinking /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
checking for references to /build in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0...
/nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0

@xeji
Copy link
Contributor

xeji commented Sep 8, 2018

Thank you! (this is my favorite search tool)

@xeji xeji merged commit 3b4ab85 into NixOS:master Sep 8, 2018
@dywedir dywedir deleted the ripgrep branch September 8, 2018 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ripgrep just released version 0.10.0
3 participants