Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find all public comments for a Github user?

Until recently I was able to find all my public comments using a link on my profile page. I was using this functionality to keep track of all issues where I have commented, but not contributed anything. It was under a section called "Public Activity".

This function seems to have been removed. I can not find anything about it on the help page about profiles.

Does anybody have any information on when and why this was removed?

like image 386
BillyTom Avatar asked Sep 19 '16 08:09

BillyTom


People also ask

How do I see all comments in git?

You can view all of the comments made in a single pull request review. You can find a pull request where you or a team you're a member of is requested for review with the search qualifier review-requested:[USERNAME] or team-review-requested:[TEAMNAME] .

How do I get comments from GitHub API?

If you want to have all comments from GitHub, you need to query both API endpoints. Show activity on this post. You can click on the date in the header of the comment to get a URL to the comment. It will give you specific comment URL in address bar.

Does GitHub have comments?

Pull request comments support the same formatting as regular comments on GitHub, such as @mentions, emoji, and references. You can add reactions to comments in pull requests in the Files changed tab.

Can you search for users on GitHub?

You can search for users globally across all of GitHub. For more information, see "About searching on GitHub." Tips: For a list of search syntaxes that you can add to any search qualifier to further improve your results, see "Understanding the search syntax".

How do I find all the comments on a GitHub post?

Show activity on this post. Type involves:<username> in the search box on the GitHub's main page. This will find all the issues that the specified user commented on, was assigned to or mentioned in. Note, that unlike involves similar search qualifiers - author and commenter - will omit certain results from the search:

How do I search for a specific issue on GitHub?

Type involves:<username> in the search box on the GitHub's main page. This will find all the issues that the specified user commented on, was assigned to or mentioned in. Note, that unlike involves similar search qualifiers - author and commenter - will omit certain results from the search:

How can I view GitHub events?

This is related to online activities on the GitHub website and goes beyond the commit log of a sole repository. You can use Github-events-viewer for your own user: rawgit.com/zbycz/github-events-viewer/master/… You can leverage the GitHub Events API to perform such task and retrieve a JSON formatted response.

How do I search for comments on a specific issue?

You can do this with an advanced search query. In the Issues search box, enter " commenter:username ". Or if you want to search a specific repo: " RepositoryName commenter:username ". Show activity on this post. This link is quite useful, it's a live feed of all issues you've commented.


5 Answers

You can do this with an advanced search query. In the Issues search box, enter "commenter:username".

Or if you want to search a specific repo: "RepositoryName commenter:username".

like image 61
nwxdev Avatar answered Oct 09 '22 20:10

nwxdev


This link is quite useful, it's a live feed of all issues you've commented.

https://github.com/notifications/subscriptions?reason=comment

enter image description here


Alternatively, this link is also helpful and is probably what the OP asked (issues where one has written comments):

https://github.com/search?l=&q=commenter%3AVadorequest+is%3Aissue&type=issues

Replace "Vadorequest" by the username you're looking for

You can also use the global search with commenter:Vadorequest is:issue to achieve the same result

enter image description here


Also, if you want to track discussions you participated in, this link might help:

https://github.com/search?l=&q=commenter%3AVadorequest&type=discussions

Replace "Vadorequest" by the username you're looking for

You can also use the global search with commenter:Vadorequest to achieve the same result

enter image description here


This 4th (and last) is not related to the OP's question, but might come in handy. It lists all PR you were requested as reviewer.

https://github.com/notifications/subscriptions?reason=review_requested

like image 20
Vadorequest Avatar answered Oct 09 '22 19:10

Vadorequest


Type involves:<username> in the search box on the GitHub's main page. This will find all the issues that the specified user commented on, was assigned to or mentioned in.

For example, if the user's name on GitHub is unclebob, the search query should look like:
involves:unclebob
Or when searching information about yourself if you're logged in to GitHub, simply:
involves:@me

Note, that unlike involves similar search qualifiers - author and commenter - will omit certain results from the search:

  • author will find only the issues that were started by the user; if the specified user comments on the issue that was started by someone else, author query won't return it in the search results.
    E.g., compare involves:unclebob and author:unclebob type:issue.

  • commenter will find only those issues where the specified user commented second or later (creator of the first comment in an issue is considered its author and not a commenter); if the user starts an issue and then never comments on it, the commenter query won't return it in the search results.
    E.g., compare involves:unclebob and commenter:unclebob.

In other words, when it comes to searching comments, author and commenter return only a subset of involves' results. So I recommend using involves not to miss anything.

like image 43
A. Milto Avatar answered Oct 09 '22 20:10

A. Milto


Since GitHub Universe 2016, the profile page has changed.

It still has a "Contribution activity" though, which includes your own comments. But you might need to click on "Show more activity" to see past the last few weeks.

And you can email yourself your own activity since last June: "Email updates about your own activity".

like image 37
VonC Avatar answered Oct 09 '22 21:10

VonC


If you want a list of all issues where you either created them or were a commenter on them, this link works best:

https://github.com/notifications/subscriptions?reason=author,comment

like image 22
Ryan Avatar answered Oct 09 '22 20:10

Ryan