top of page
Search
sergeyzakharov625

How I Search Issues for All starred GitHub Repositories Together and Why You Should Too



Before you make a request to any API, you need to figure out which endpoints are exposed by the provider. In this case, GitHub provides endpoints for search, repositories, projects, markdown, users, and many more. Find out more in Github's official docs. In this guide, you will only make use of the /users endpoint. All requests to the API are supposed to be made to the root endpoint ( ).


The second point gets at my original question the best: I think the data shows that the gender breakdown across languages is pretty similar. Though the different programming languages showed some variation in the absolute percentages of owners with male, female, and neutral names, the relative gender distribution was pretty consistent across languages. No language showed a pattern deviating from: majority of starred repositories owned by users with male names, a good number of starred repos owned by users with neutral names, and a very small minority of repos owned by users with female names.




How to Search Issues for All starred GitHub Repositories Together



When searching for issues, you can get text match metadata for the issuetitle, issue body, and issue comment body fields. (See the sectionon text match metadata for full details.)


(You might need to remove the old checkout of sgrj/github-ci-states first. In its current form, the script cannot handle git repositories with references to multiple GitHub repositories. See below for a fix.)Next, we check out a new branch, add some changes, and push the branch to GitHub.


Glue everything together in MainActivity. This is essentially the Activity that gets displayed when we first launch the app. In here, we ask the user to enter their GitHub username, and finally, display all the starred repositories by that username.


After backing up all my gists and cloning all my starred repositories there is one more thing I want to accomplish: backup my Github repositories, and by that I really mean the ones I manage and have commit rights to. I could do this by cloning and periodically pulling (as we discussed here), but you might have noticed that I explicitly exclude my own repositories in that script by checking for repo.owner.login. The reason is: I want to mirror them into Gitea.


2ff7e9595c


0 views0 comments

Recent Posts

See All

Comments


bottom of page