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

How does this detect Julia repos #5

Closed
logankilpatrick opened this issue Oct 6, 2021 · 4 comments
Closed

How does this detect Julia repos #5

logankilpatrick opened this issue Oct 6, 2021 · 4 comments

Comments

@logankilpatrick
Copy link
Member

@SaschaMann Hey, is this using the repo language to detect Julia projects?

@SaschaMann
Copy link
Collaborator

Yes, it performs the following GitHub Search: is:issue is:open language:julia label:hacktoberfest and then excludes all repos that haven't had any activity in the last ~6 months

@logankilpatrick
Copy link
Member Author

Any idea why: FluxML/fluxml.github.io#107 doesn't show up?

@SaschaMann
Copy link
Collaborator

Because the repo language is Javascript. I can see if I can adjust the search query to cover repos containing Julia, or manually add that repo

@SaschaMann
Copy link
Collaborator

SaschaMann commented Oct 9, 2021

For now the count will be wrong (it'll always be 1) but I don't have time to debug why

//additionalRepos := [...]string{
// "FluxML/fluxml.github.io",
//}
//for _, r := range additionalRepos {
// log.Printf("Manually search %v for Hacktoberfest issues...", r)
// searchString := fmt.Sprintf("is:issue is:open repo:%s label:hacktoberfest", r)
// res, resp, err := client.Search.Issues(ctx, searchString, opts)
// if err != nil {
// log.Fatalf("Could not execute search: %v", err)
// } else if resp.StatusCode != 200 {
// log.Fatalf("Search failed: %v - %v", resp.StatusCode, resp.Status)
// }
//
// fmt.Println(res.Issues)
//
// issues = append(issues, res.Issues...)
// if resp.NextPage == 0 {
// break
// }
// opts.Page = resp.NextPage
//}
doesn't find the issues atm.

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

No branches or pull requests

2 participants