Skip to content
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

Filter git reporting by type? #306

Open
daobrien opened this issue Jun 1, 2023 · 5 comments
Open

Filter git reporting by type? #306

daobrien opened this issue Jun 1, 2023 · 5 comments

Comments

@daobrien
Copy link

daobrien commented Jun 1, 2023

Is it possible to filter the output of git reporting to see, or not see, different types or classes?

E.g., I want to see all the issues and PRs that I opened, reviewed, or closed, but not all the issues that I commented on.

I haven't been able to find any docs on how to set up filters in the config file. Thanks

@psss
Copy link
Owner

psss commented Jun 1, 2023

As for now this is only possible through command line options, for example like this:

> did --github-issues-created --github-pull-requests-created last month
Status report for května (2023-05-01 to 2023-05-31).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Petr Šplíchal <psplicha@redhat.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Issues created on github: 2
    * teemtee/tmt#2063 - Repeated failures when fetching the `centos:7` image
    * teemtee/tmt#2054 - Use consistent format for all multiword keys

* Pull requests created on github: 3
    * beakerlib/libraries#011 - Update the list of existing libraries
    * teemtee/fmf#191 - Update pre-commit checks to the latest versions
    * teemtee/tmt#2055 - Request newer os image and python version for docs

Having the same possibility in the config file could be useful.

@daobrien
Copy link
Author

daobrien commented Jun 1, 2023

Would def be useful in the config file because I have GH, Jira, and Trello all set up. Thanks. (I'm not a coder so not really something I could tackle.)

@psss
Copy link
Owner

psss commented Jun 6, 2023

Sorry, currently I don't have capacity for implementing this but it's definitely open for anyone interested to submit a patch.

@daobrien
Copy link
Author

daobrien commented Jun 6, 2023

Sorry, currently I don't have capacity for implementing this but it's definitely open for anyone interested to submit a patch.

No worries. I'm trying to find time to have a go at #305 and I'll try to get one of my coder friends interested in this one.
Thank you again for did.

@psss
Copy link
Owner

psss commented Jun 6, 2023

No worries. I'm trying to find time to have a go at #305 and I'll try to get one of my coder friends interested in this one.

Nice!

Thank you again for did.

Thanks for the feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants