Open hedyhli opened 4 years ago
Yes, it's not just the hacktoberfest
topic, but also PRs labeledhacktoberfest-accepted
.
@ChrisGallardo @Den4200
i'm talking about fetching issues (.hacktoberissues) command, not PRs, so I don't think #475 fixes this, and I don't think hacktoberfest-accepted
label on PRs is related. Am I missing something?
@hedythedev Right, sorry, I misread the issue.
Oh I see.
@hedyhli Greetings. I seem to be around a year late to this, but would you still like to implement this fix?
@Xithrius I'm not sure I'll have the time, and I haven't worked with the codebase for quite a while so I might need some getting use to.
Also (for hacktoberfest stats/prs), this year's hacktoberfest (if it's happening) probably doesn't need the "first 3 days counts even if it doesn't haven hacktoberfest label" anymore. Again, I haven't been on discord for a long time nor have I seen the commits and stuff so I'm not sure if that needs to be changed before October.
In any case, I think we should let this issue be open to others, though if I'm lucky I might have time to have a look at it this weekend.
Alright, I'll leave it up for grabs for now.
I can work on this but it's blocked by #919 for now
After rethinking about it I decided it should include two types of issues:
hacktoberfest
as an issue label. Doesn't matter if it has hacktoberfest
in the repo topics.hacktoberfest
in the issue's repo topicsThis is because they accept PRs where the repo doesn't have the hacktoberfest
topic but has the hacktoberfest-accepted
label in the PR itself. If an issue has the hacktoberfest
label (for type 1), maintainers would probably be willing to add the acceptance label if they don't have hackoberfest
topic.
Description
hacktoberissues
command returns issues, but the repo should also have "hacktoberfest" topic for it to count (and i don't really think a hacktoberfest label is needed but i may be wrong, please let me know)with current logic, it finds issues with hacktoberfest label, without checking if the repo is even eligible
Possible Solutions
loop through results, only include those that has hacktoberfest topic
Would you like to implement a fix?
Note: For high-priority or critical bugs, fixes may be implemented by staff.
Anyone can implement the bug fix