-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compare to all-contributors #45
Comments
That's interesting. All Contributors looks mostly like a manifesto that alignes with what name-your-contributors does pretty closely. It's a very different technique though; we're automatically scraping the list of contributions where contributions are defined as certain GitHub actions. Whereas, all-contributors-cli is a tool to make manual maintenance of a contributors list easier. That has the obvious tradeoffs: automation is less work, but doing it by hand lets you be more generous and flexible with your definition of contribution. We could output json that conforms to the all-contributors-cli format and use it to generate a contributors section in the README. Better than making our own I'd reckon. |
I've put a bit more legwork into this, and I think that we have little to gain from integration with all-contributors. They may have something to gain, but it would be fairly minimal. To explain: All Contributors divides contributions into a set of categories which we can't map to. They have So using All Contributors to produce our contributors sections isn't viable. We could produce a version of NYC which only outputs what we know AC could handle and that could help automate the initial setup of a project for AC, but we'd have to talk to them to see how much benefit there really is. The number of devs on a project tends to be relatively small, so I don't think it would be very large. |
The thing with I'm personally very keen on collaborating with you guys and I'm sure the rest of the core team are as well.
It might be minimal in contribution/code but in terms of functionality and use cases, it would be a lot (especially since quite a few users expected our tools to have this functionality) and having this would be a huge improvement for both the CLI and the bot.
It's true that some categories are difficult to map contributors to from the Github but as I explained here it's better to start with some categories (ie. Relevant discussions: all-contributors-cli#69, all-contributors-cli#117, all-contributors#18 /ref Emoji key (category table) There's probably a more efficient contribution classification than what I drafted in the diagram but having the possibility to automatically get and add contributors who committed code, wrote issues, responded to questions, made/reviewed PRs while having the rest done (semi-) manually is better than how it is now. As for what you guys would gain, well here's a list of things that comes to mind:
I'm going to have another look at the contribution types that this package finds and make another diagram showcasing a way in which NYC and AC could co-operate to in regards to finding who did what. |
Friendly ping @tgetgood @RichardLitt! |
This sounds pretty awesome, to me. Also, the last point. Thanks for the friendly ping - I was traveling this week, and haven't had time to really look into working on this. Let's see if we can improve that. What's the best way forward? Video call? Figuring it out here? |
@RichardLitt I'm pretty flexible so I wouldn't really mind. |
Word. Ok, for now - I think fixing the egregious issues is the main thing. Been working on the travis for the past half hour. I think I have it fixed? Need to update the other deps, now, and then attack #85. |
I've got around to make the diagram I was on about when I said:
It can be accessed here. |
Pretty much. I wonder if we should have it more fine-grained; for instance, getting the label of 'bug' and putting that in the nyc output? |
It will certainly help to have issues pre-populated with labels (cf. example of bug template) which would then be kept in the JSON object which would help in distinguishing what was the nature of the issue someone created. That way, it would be possible to see what labels (ie. categories) were linked to a PR and an issue which would allow NYC and AC-CLI to see what category/categories a contributor would fall into. |
The objects in `prCreators` and `issueCreators` now have an additional `labels` field exposing the labels of the relevant PRs/issues associated with a contributor re mntnr#73 (comment) and mntnr#45 (comment)
* feat(queries): added labels to `*Creators` The objects in `prCreators` and `issueCreators` now have an additional `labels` field exposing the labels of the relevant PRs/issues associated with a contributor re #73 (comment) and #45 (comment) * perf(queries): optimised the contribution merge * test(queries): added a test case * refactor(queries): added a missing sorting call And fixed some lint errors * chore: fix linting error * build(travis): fixed some typos
Are there any blockers preventing this feature from being possible? |
@protoEvangelion On my PR (^196) there is.
If you can help, it will be much appreciated. |
Ended up hacking together a workflow that worked for my needs and was much faster than adding one by one: all-contributors/cli#117 (comment) |
@protoEvangelion Let me know if there is anything I can do to make this easier for you, outside of your work around. |
All Contributors is a similar tool. What do they do differently? How can we help them? How can we work together to make contributions easier?
The text was updated successfully, but these errors were encountered: