-
Notifications
You must be signed in to change notification settings - Fork 969
exec-file, exec-env: support extracting sub-part #1098
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
base: main
Are you sure you want to change the base?
exec-file, exec-env: support extracting sub-part #1098
Conversation
is there a chance to get this reviewed? is the only way to use a password file with a unique secret, like |
This looks good to me. @mikonieminen can you please rebase and sign-off the commit? |
e41c965
to
a644c4a
Compare
Add support for extracting subset of the document when running exec-file or exec-env command. Signed-off-by: Miko Nieminen <miko.nieminen@iki.fi>
a644c4a
to
49e56fe
Compare
Done and sorry for the delay. I hope it's good now. What do you think about the error handling and messages? Maybe I should use Also, I've added example part in the command description. Do you think this is good or should that go somewhere else? How about adding tests? I'm not experienced with |
Thanks, I think it looks good!
I think it is good this way.
I think it's fine (also it has been there in the 'original'
I think tests would be great. I think functional tests would be suited best for exec-env and exec-file, but right now there are none so there's nothing you can easily copy. I'll try to create some for the existing exec-env and exec-file functionalities, then you can take a look at that PR. |
That explains. Would be great, if you find the time to add tests that would be easy for me to use as an example for adding tests for these features. Happy to have a look at such PR. Thanks. |
You can take a look at the latest commit of #1396. Right now I'm struggling with that the tests for the PR fail, while the same tests pass locally, and I have no clue why. This isn't the first time this is happening to me, and I'm still trying to figure out what happens... |
I finally managed to get #1396 working. I hope it'll get merged soon, then it should be easy to add a test for this :) |
#1396 got merged btw. |
@mikonieminen ping |
Add support for extracting sub-part of the document when running
exec-file or exec-env command.