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

Org-wide issue/PR templates #2974

Closed
albertteoh opened this issue May 1, 2021 · 8 comments
Closed

Org-wide issue/PR templates #2974

albertteoh opened this issue May 1, 2021 · 8 comments

Comments

@albertteoh
Copy link
Contributor

albertteoh commented May 1, 2021

Requirement - what kind of business use case are you trying to solve?

This is a follow-up to jaegertracing/jaeger-idl#74 (comment).

Problem - what in Jaeger blocks you from solving the requirement?

Each project under the jaeger org is either missing or has a similar issue template which means:

Proposal - what do you suggest to solve the problem or improve the existing situation?

A single default issue/PR template similar to OpenTelemetry's (https://github.com/open-telemetry/.github) applied across the Jaeger org, by copying the contents from jaegertracing/jaeger's .github/ISSUE_TEMPLATE to jaegertracing's .github project: https://github.com/jaegertracing/.github.

Tested in my own "org" to confirm expected behaviour; default issue_templates can be overridden in the project repo's .github/ISSUE_TEMPLATE, otherwise, the default issue_templates will be applied when creating new issues.

Any open questions to address

  • Should existing issue_templates be deleted from all jaeger projects or should we be more selective.
  • Should we apply this to PULL_REQUEST_TEMPLATE.md as well?
@jpkrohling
Copy link
Contributor

There are other files that we can place there, like the security.md and the generic contributing.md. Perhaps the DCO and code of conduct as well?

@yurishkuro
Copy link
Member

I would prefer to only move those files which are understood by GitHub. I would keep DCO in the repos because it is part of the development process, and so are contributing docs. And our code of conduct is just a link to CNCF, so it's also better to keep in the repos (but OK to copy to .github as well for repos where we didn't define it).

@yurishkuro
Copy link
Member

Note that main repo has .github/ISSUE_TEMPLATE/config.yml, which is specific to the repo because it contains an exact link to Discussions. Do we want discussions for all repos to happen in one place or in individual repos? I'd probably go with one place.

@jpkrohling
Copy link
Contributor

I would prefer to only move those files which are understood by GitHub

I thought every file in there would show up in all repos from the organization. If that's not the case, I agree with you.

@yurishkuro
Copy link
Member

no, they don't "show up" in the repos, but are used by GitHub in various sections of the website.

@albertteoh
Copy link
Contributor Author

albertteoh commented May 5, 2021

Yup, good call @yurishkuro .

I propose to copy the following files from jaegertracing/jaeger into jaegertracing/.github repo. Please check these are correct:

  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/ISSUE_TEMPLATE/config.yml (so we have one place for discussions)
  • .github/PULL_REQUEST_TEMPLATE.md

Also, I propose (as a follow-up PR to the above task) we remove the following repos' ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE files which appear to be (more or less) identical to what we plan to add into jaegertracing/.github's, making them redundant:

The following differ to from the standard ISSUE_TEMPLATE and/or PULL_REQUEST_TEMPLATE files so I'll leave them for now:

Please let me know what you think.

@yurishkuro
Copy link
Member

sgtm

@albertteoh
Copy link
Contributor Author

jaegertracing/.github#1: PTAL.

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

3 participants