-
Notifications
You must be signed in to change notification settings - Fork 254
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
Consider using Issue Forms for collections-index.yml? #244
Comments
Hi 👋 Thanks for sharing this with us, and being willing to contribute code ❤️ (I ordered some 🍕, it's super cool) In the "order pizza" example, once I added inputs to the issue form, it opened an issue followed by a commit with the changes.
@jcbhmr A clarifying question regarding the proposal ^,
|
You choose! The point that I wanted to make with the regex thing was that you can perform fancy custom validation in addition to the basic "this is an input field; any text can go here". ex: If I were to design such a thing, I might make it so that a PR is opened by the @github-actions[bot] user according to a form like this: https://github.com/stefanbuck/awesome-browser-extensions-for-github/blob/main/submission.js And then something like this: const ociReference = ...;
const repoURL = ...;
if (!someDockerAPI.ociReferenceExists(ociReference)) {
throw new Error()
}
if (!gitRepoExists(repoURL)) {
throw new Error()
}
octokit.openPRWithContents(..., "Opening on behalf of ...")
octokit.commentOnIssue(..., "I've opened a PR for you! #123...") |
Would like to go with option two, as it's nice to have devcontainers/maintainers 👀 on any PR for this repo. Your proposal sounds great, I had a chat with other devcontainers/maintainers and we are willing to accept your contributions. Thank you, again for such a wonderful community support. ✨
There's one tiny blocker, for the @jcbhmr do you want to wait before I sort the bot account permissions? Without that, I don't believe you would be able to implement the proposal (as we don't want to use any personal PATs) On a side note, we still want a GitHub Action workflow to validate the manual PRs for any changes to index file. (The validations you mentioned above, checking if the URLs exist, collection artifact is valid/pull-able, includes the devcontainer-collection file, we don't have duplicate index entries etc). @jcbhmr Hence, maybe you can start working on that if you are interested? I can help provide a validation list if that would be helpful. Let me know how we could help you in this process. |
@samruddhikhandale heres something that i think works according to what was outlined: https://github.com/devcontainers2/collections some notes:
|
I hope there hasn't been much work invested in the proposed changes, as I've just looked at containers.dev/collections for the first time and find it...lacking. It's a mishmash of entries with either the same vague name (e.g. The page needs to be more dynamic. By parsing the feature sets of the collections, a user could utilize feature filters to find collections of interest (even if they are terribly named... |
@jcbhmr Thanks for continuing work on this, appreciate it! Do you have any latest updates or ETA for the PR contribution? We have devcontainers/spec#405 open which might be interesting to you and these changes would definitely benefit it. @LesterCovax Thank you for sharing your thoughts, that's really helpful. We have devcontainers/spec#405 open for feedbacks and ideas on improving the community contributions for the index. Feel free to add your thoughts there, thank you! // cc @bamurtaugh |
@LesterCovax Have you taken a look at https://containers.dev/features (or https://containers.dev/templates)? They do provide a list of Features which are contributed by the community and directs to the source repository. I understand that we are missing a search bar, but you can currently find a list of all Features. Let us know if I have misunderstood your question, thanks! |
Thanks again all for the great discussion and feedback here! I've opened a PR to tackle the issue form + automation aspect: #354. Please feel free to check it out and provide any feedback/questions/recommendations! |
We additionally have a PR in progress for adding search: #325. |
Hello! 👋
This is an idea. If this is out-of-scope or something that seems too costly to maintain, that's OK.
https://github.com/stefanbuck/ristorante
https://github.com/stefanbuck/awesome-browser-extensions-for-github
☝ basically that.
https://stefanbuck.com/blog/codeless-contributions-with-github-issue-forms
Why this would be a cool idea:
I am willing to contribute code to do this. ❤️
The text was updated successfully, but these errors were encountered: