-
Notifications
You must be signed in to change notification settings - Fork 151
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
Feature request: Advanced exporting with tags #167
Comments
How about
This would also solve #98. @scelis, opinions? |
Are there other tools that do similar ORing and ANDing (and maybe NOTing)? I find the order of operations above (without explicit parentheses) quite hard to follow. |
My command-line-foo is pretty weak and I actually don't know very many CLIs, so not that I'm aware of :-) Maybe the rules seem more complicated than what I had in mind.
So the last example could be reordered and still yield the same result:
And maybe the rules become even simpler if the third one is rephrased: Invert all tags with
@dmi3j, @rk13: you requested this feature, what's your opinion? |
My initial idea was instead of currently available: It's hard to image who would needs comprehensive combinations of OR and AND |
For #98 we'd also need |
@scelis, what do you like better? A little more complex syntax or more command line options? I personally prefer the syntax, because
|
Honestly, both of these options seem overly complicated to me. What about a separator other than comma for ANDing?
Comma for OR, plus for AND. If there are both, ORs have a higher order of precedence. ! Could be added for NOT if necessary or that could be done in a later PR. It's similar to what you have above, but I think a tad simpler. |
So Since filtering for missing tags is already on the list, I'd like to at least come up with a plan on how it would work to be sure it will work.
I'm cool with that :-) |
The not still requires an OR or AND separator.
|
Cucumber project has quite simple logical ANDing and ORing for tags Scenarios which match @Important OR @billing Running scenarios which match @Important AND @billing Applying similar approach for Twine might result AND NOT |
I need to check how the |
It's supported, so we could also do that. |
Hmm, I'd like to see if we can find 1 or 2 more tools that do something similar before deciding. |
All right, here we go: Cucumber
Rspec
behat
AWS EC2
I also looked at Android's logcat, but that doesn't really apply. Results
|
Awesome! Thanks so much for looking into this. I agree totally with your assessments. |
Would be nice to specify tags are in "OR" or "AND" mode. Currently when exporting with multiple tags all the translations with "any" of tags are exported. I would like to export translation where "all" mentioned tags present.
The text was updated successfully, but these errors were encountered: