Conversation
Add package for ripgrep:
ripgrep is a line-oriented search tool that recursively searches
your current directory for a regex pattern. ripgrep is similar to
other popular search tools like The Silver Searcher, ack and grep.
|
|
||
| homepage = "https://github.com/BurntSushi/ripgrep" | ||
| url = "https://github.com/BurntSushi/ripgrep/archive/11.0.2.tar.gz" | ||
|
|
There was a problem hiding this comment.
hi, do you want to list yourself as package maintainer, @hartzell ?
| maintainers = ['hartzell'] | |
There was a problem hiding this comment.
Not unless you insist, I'm between gigs at the moment and am not sure how OSS work I'll be able to do depending on where I land. AKA, commitment issues....
There was a problem hiding this comment.
FWIW, I threw all three of these things in because a) I use them and b) I'm playing with the support for "stacking" spack installations and needed some things that were built with rust so that I can ensure that Lmod's compiler based hierarchies don't get confused (e.g. at one point D things like sambamba ended up in separate parts of the hierarchy because D->LLVM and therefore couldn't be loaded alongside things built with gcc)
| from spack import * | ||
|
|
||
|
|
||
| class Ripgrep(Package): |
There was a problem hiding this comment.
Hm, we don't have a RustPackage or CargoPackage yet?
Do you want to define one? :)
There was a problem hiding this comment.
I don't know enough about how it all works to deal with it yet; it suffers from the "competing package manager & how do we handle dependencies that cargo wants to handle" issue and I don't know what the solution would look like.
I still have finishing up support for Go (#14061) on the list (I'd love input from more than me and @scheibelp about whether the spack community trusts the Go module systems signatures or wants to Do It Ourselves).
There was a problem hiding this comment.
I’d leave it for now, we have other rust packages that are built just like this. There’s also a bit of a policy decision we need to think about when making a first-class cargo package class. At the moment this, and others like it, fetch most of their actual deps with cargo and spack is completely unaware of them. Either way, I wouldn’t hold this one up on it.
|
@ax3l -- same answer 😧.... |
Add package for ripgrep: