-
Notifications
You must be signed in to change notification settings - Fork 183
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
Project state and Help Wanted: rga 1.0 with configurable external adapters and async rust #146
Comments
Here's a bit of info about the architecture https://github.com/phiresky/ripgrep-all/wiki/Architecture |
I think most (all?) of the missing stuff is implemented now. I'll release 1.0-beta soon I think |
@phiresky I noticed that the above item has not been checked off in the opening post. Has it been completed yet? |
The alpha is now released. |
@phiresky Are there any remaining known issues or pending features blocking 1.0.0? |
I don't think so, I think it all works. Just needs some testing maybe, and maybe feedback on the config format. I kinda don't want to release 1.0 then realize I did something dumb and either break semver or immediately release 2.0 |
For what it's worth, I wrote a custom adapter yesterday (added the result to the wiki a few minutes ago) and found the config format perfectly satisfactory. |
Great! I forgot to change that, but I think it makes more sense maybe if we put the community adapters in discussions: https://github.com/phiresky/ripgrep-all/discussions/categories/show-your-adapter |
Thanks for letting me know. I've copied the content I contributed to the wiki into a new discussion. Thoughts on removing the "Show Your Adapter" page entirely from the wiki? I anticipate that having both the discussion category and the wiki page would cause confusion. |
Just noticed that you've already deleted the wiki page. Thanks! |
yeah. just need to link the wiki from the readme i guess |
Ah, I remember I also wanted to go through all the existing issues to see whether they are now fixed or not and if not fix them. Didn't have time for that yet. |
When to publish a new version (can be 0.9.7 or 1.0.0)? It should be helpful to fix NixOS/nixpkgs#250306. |
I'll maybe release the rewrite as 0.10.0 as a compromise since I don't feel it's had enough testing to quality as a 1.0, but the current stable version 0.9.6 has even more issues due to its oldness. #188 still remains which I'd like to figure out. |
what were previously 1.0-alphas is now released as 0.10.x stable. |
The current version of rga is 0.9.6, released in 2020.
This is a small side project for me, so I've only spent very little time on this project even though I've regularily been using this tool myself.
For the next version the focus is on being able to configure custom preprocessors in addition to the internal ones.
For example, the integrated PDF adapter is rewritten and would look pretty much like this in
~/.config/ripgrep-all/config.jsonc
:While implementing this, I hit some issues with threading though that exceeded my Rust, so I stopped working on it for a while.
More recently, I converted the core of the code to async rust (now passing around
Box<dyn AsyncRead + Send>
).The following work still needs to be done:
postproc_encoding
andpostproc_pagebreaks
in https://github.com/phiresky/ripgrep-all/blob/master/src/adapters/postproc.rs .postproc_prefix
already works with async.ripgrep-all/src/adapters.rs
Lines 120 to 126 in 54799f1
I'll implement these myself at some point, but at a trickling rate that may take a long time until the next release.
So I'm happy for PRs that help.
The text was updated successfully, but these errors were encountered: