package opam-grep

  1. Overview
  2. Docs
An opam plugin that greps anything in the sources of every opam packages

Install

Dune Dependency

Authors

Maintainers

Sources

opam-grep-0.4.0.tar.gz
md5=2a4cb24224971059020b824d83ed0d2e
sha512=e64767464c22e71b4bddc3de676633a60713282dd8397274f855472a48136d6503484d75fb8c8993a4f4f906515e7c588c57db1561ca84ea3b0de9c6c61b17c8

CHANGES.md.html

v0.4.0 (13/10/2022)

  • Add a --depends-on option to grep through only the packages that (recursively) depends on some packages (#4 suggestion from @raphael-proust)

  • Upgrade to the cmdliner 1.1.0 API

v0.3.0 (25/01/2022)

  • Add a --repos option to grep through only the selected repositories and not all of them (#3 suggestion from @Sudha247)

v0.2.0 (11/09/2021)

  • Complete rewrite from POSIX shell script to OCaml, making it more portable

  • Use the faster ripgrep and ugrep over grep when available (suggestion from @Engil)

  • Ignore read failures from grep (symlinks to unreachable files can make it fail)

  • Use $XDG_CACHE_HOME when available to store the archives instead of just ~/.cache

  • Use the progress library to show progress instead of a non-portable/DIY spinner

  • Use the cmdliner library to handle arguments and produce a manpage via --help

v0.1.1 (20/06/2021)

  • Fix missing shell quotes resulting in the impossibility of having regexp with spaces in them

v0.1.0 (18/06/2021)

  • Just a simple shell script that greps in the sources of every opam packages

  • General quality of life improvements by @dra27 in #1

OCaml

Innovation. Community. Security.