Open dilijev opened 8 years ago
We've had a couple of discussions about making things more flexible - see #244 and #240 for example - but nothing concrete. We've also been looking at ways to leverage the GitHub API to get more relevant/interesting data from projects - I think if we find a way to structure the YAML that satisfies all these scenarios we'll be :fire: :fire: :fire: :fire:
I like to help out on this - but should we merge it into #240, which is almost identical?
It looks like, using this YAML validator, this could work as a list format:
upforgrabs:
-
link: "https://hi.com"
name: help-wanted
-
link: "https://hi.com"
name: first-timers-only
I see you parse the YAML files in this file on the CI hook: https://github.com/up-for-grabs/up-for-grabs.net/blob/8b6647926010f199de407211e8e0e2875830f175/scripts/cibuild.rb
I'm happy to submit a PR to try to add multiple tags, but not sure where in the code to begin. Perhaps one file where they're parsed and stored, and another where they're templated into HTML?
I'm happy to submit a PR to try to add multiple tags, but not sure where in the code to begin.
For the sake of checking compatibility, I'd change one file to support two tags and then test these things out:
ruby script/cibuild.rb
pass for both the existing syntax and this new syntax? #491 was just merged which will make it easier to test this out.The label is being generated here - I'm not sure how best to parse the YAML here to detect old and new syntax, but I'm sure you're clever enough to figure it out š
Being slow on this one, sorry!
I would also really love to see support for multiple labels like āgreat first issueā, āmentor availableā, āhelp neededā .. I am afraid of just labeling certain tickets as āgreat first issueā that might overwhelm some people .. with multiple labels we can āfine tuneā the challenges a bit more
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It is possible to add additional tags for up-for-grabs issues, to make a distinction between things we are just accepting help for, versus things we think would be good first contributions?
At the moment I think the best way to solve this problem would be to add another
.yml
file to generate a new heading for our project, described as first time contributions, and indicate a different tag and link to be used. Is that recommended/discouraged? Is there anyone already doing this?