Skip to content

Extend the filter() documentation slightly - #235

Merged
psss merged 1 commit into
teemtee:mainfrom
The-Mule:filter-doc
Jun 5, 2024
Merged

psss merged 1 commit into
teemtee:mainfrom
The-Mule:filter-doc

Conversation

@The-Mule

@The-Mule The-Mule commented May 3, 2024 •

Copy link
Copy Markdown

People tend to try using parentheses in their filter expressions for obvious reasons. But it is not possible. I feel like this should be mentioned in the documentation. In fact, with DNF you never need parentheses to express any expression and I think this fact also needs to be noted there.

Comment thread fmf/utils.py Resolved
@lukaszachy lukaszachy added this to the 1.4 milestone May 10, 2024
@lukaszachy
lukaszachy requested a review from psss May 10, 2024 13:56

@psss psss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for improving the docs. Added a couple of questions and suggestions.

Comment thread fmf/utils.py Resolved
Comment thread fmf/utils.py Resolved
Comment thread fmf/utils.py Resolved
Comment thread fmf/utils.py Resolved
@psss psss added the docs label May 13, 2024
@psss psss changed the title Extend filter documentation slightly Extend the filter() documentation slightly May 13, 2024
@lukaszachy
lukaszachy self-requested a review May 13, 2024 15:34
@lukaszachy

Copy link
Copy Markdown
Contributor

Depends on #220, we have to adjust docs once that is merged.

@The-Mule

The-Mule commented Jun 5, 2024

Copy link
Copy Markdown
Author

Thanks for the fix, Petre, let me also rebase it now.

@The-Mule
The-Mule requested a review from psss June 5, 2024 08:39
@psss

psss commented Jun 5, 2024

Copy link
Copy Markdown
Member

Thanks for the rebase, going to squash the changes now.

@psss psss self-assigned this Jun 5, 2024
@psss psss added the filter label Jun 5, 2024

@psss psss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the docs improvement!

Comment thread fmf/utils.py Resolved

@lukaszachy lukaszachy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nitpick, but no point in blocking on that

People tend to try using parentheses in their filter expressions
for obvious reasons. But it is not possible. I feel like this
should be mentioned in the documentation. In fact, with DNF you
never need parentheses to express any expression and I think this
fact also needs to be noted there.

Signed-off-by: Ondrej Moris <[email protected]>
Co-authored-by: Petr Šplíchal <[email protected]>
@psss
psss merged commit dcab598 into teemtee:main Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants