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

Ensure all kubernetes repos follow the same contributing structure #28

Closed
caniszczyk opened this issue Apr 19, 2018 · 33 comments
Closed
Assignees
Labels
committee/steering Denotes an issue or PR intended to be handled by the steering committee. kind/feature Categorizes issue or PR as related to a new feature. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.

Comments

@caniszczyk
Copy link

Some CNCF members have higher maintenance legal departments and require a bit more documentation in repos regarding contributing criteria. For example, there is the Kubernetes Contributor Guide that mandates that the CNCF CLA be signed and seems to apply to all code, but has a big disclaimer at the top which makes some legal departments wary. Some of the repo’s have a CONTRIBUTING.md file with a clear process which is good, others point to the Contributor Guide which is okay but many others have no such file – for example:

https://github.com/kubernetes/apiserver
https://github.com/kubernetes/cloud-provider-aws
https://github.com/kubernetes/cloud-provider-gcp
https://github.com/kubernetes/cloud-provider-openstack
https://github.com/kubernetes/common
https://github.com/kubernetes/dashboard
https://github.com/kubernetes/examples
https://github.com/kubernetes/federation
https://github.com/kubernetes/gengo
https://github.com/kubernetes/kube-openapi
https://github.com/kubernetes/kube-state-metrics
https://github.com/kubernetes/kubernetes-anywhere
https://github.com/kubernetes/kubernetes-bootcamp
https://github.com/kubernetes/node-problem-detector
https://github.com/kubernetes/publishing-bot
https://github.com/kubernetes/release
https://github.com/kubernetes/repo-infra
https://github.com/kubernetes/test-infra
https://github.com/kubernetes/utils

Can we ensure that every proper Kubernetes project has a CONTRIBUTING.md with terms clearly spelled out?

@cblecker
Copy link
Member

@kubernetes/sig-contributor-experience-proposals @kubernetes/steering-committee

@k8s-ci-robot k8s-ci-robot added sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. kind/design Categorizes issue or PR as related to design. labels Apr 19, 2018
@cblecker cblecker added committee/steering Denotes an issue or PR intended to be handled by the steering committee. and removed kind/design Categorizes issue or PR as related to design. labels Apr 19, 2018
@philips
Copy link
Contributor

philips commented Jul 3, 2018

I don't see any reason to not just ensure CONTRIBUTING.md is copied from https://github.com/kubernetes/kubernetes-template-project

Any opposition? If not I will file the issues across the repos.

Hey @jessfraz can you recommend a tool for filing issues like you did with #30

@philips philips self-assigned this Jul 3, 2018
@cblecker
Copy link
Member

cblecker commented Jul 3, 2018

cc @spiffxp who has also done many-repo issue/PR creation

@jessfraz
Copy link

jessfraz commented Jul 3, 2018 via email

@philips
Copy link
Contributor

philips commented Jul 5, 2018

@jessfraz Great! I think I am going to just write a tool to ensure everyone's projects match the template project based on your code. :)

@philips
Copy link
Contributor

philips commented Jul 6, 2018

For example, there is the Kubernetes Contributor Guide that mandates that the CNCF CLA be signed and seems to apply to all code, but has a big disclaimer at the top which makes some legal departments wary.

@caniszczyk Where is the above happening? I don't know exactly what you are talking about.

@philips
Copy link
Contributor

philips commented Jul 6, 2018

I think largely this is an issue that @kubernetes/sig-contributor-experience-feature-requests needs to handle. Posted it over on their mailing list https://groups.google.com/forum/#!topic/kubernetes-sig-contribex/KqEXr5bVGDk

Happy to help though!

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 6, 2018
@jessfraz
Copy link

jessfraz commented Jul 6, 2018 via email

@philips
Copy link
Contributor

philips commented Jul 6, 2018 via email

@castrojo
Copy link
Member

@caniszczyk The contributor guide has had enough people go through it that we can safely drop the disclaimer. I'd be happy to add whatever language you feel would make it more authoritative so that we can just safely point to it from all the repos.

@spiffxp
Copy link
Member

spiffxp commented Aug 29, 2018

/assign
I agree implementation of this basically falls to other SIG's. I'll confirm whether or not we have an appropriate CONTRIBUTING.md in place everywhere. I noticed @nikhita has been helping out with this as well.

Related: moving all repos to use the same automation for code review and merging: kubernetes/test-infra#6227

@nikhita
Copy link
Member

nikhita commented Aug 29, 2018

xref kubernetes/community#1832

@philips
Copy link
Contributor

philips commented Sep 5, 2018 via email

@monopole
Copy link

monopole commented Sep 5, 2018

if you notice a URL parameter for that github UX experiment, please post it :)

meanwhile scroll scroll scroll https://github.com/kubernetes/kubernetes

@BenTheElder
Copy link
Member

It's being a/b tested I think, I've seen it a few times. With it "the fold" is a relatively short max length and the directories are scrollboxed above the README. Who knows if they'll actually make that change though.

If we can agree on the policy, the tooling changes to match should be straight forward. I'd hope we can standardize as much as possible though, Kubernetes and all of its projects are already a lot to wade through ...

@spiffxp
Copy link
Member

spiffxp commented Oct 18, 2018

Every repo in the kubernetes project now uses prow+tide for review and merge automation. There are some minor differences around whether /approve is implicitly added, and whether tide squashes or merges. But mostly everything is the same.

So now this is just a matter of vetting whether all the right docs are in the right places. And agreeing on where we want those right places to be.

@monopole
Copy link

monopole commented Dec 5, 2018

My comment should not be taken as blocking.
E.g. we've put all these docs at the top level in https://github.com/kubernetes-sigs/kustomize

@pwittrock
Copy link
Member

@nikhita FYI

@nikhita
Copy link
Member

nikhita commented Dec 6, 2018

@monopole @pwittrock Ack. 👍 It is not blocked on kustomize (thanks for sorting it out!).

I'm waiting on someone from csi owners to approve kubernetes-csi/kubernetes-csi.github.io#4 (comment) so that we can close this.

@nikhita
Copy link
Member

nikhita commented Dec 6, 2018

Oh we should also run a script to check if all repos have CONTRIBUTING.md before closing this. Afaik the newer repos have it, but would be good to double check.

(I am happy to hunt this down after KubeCon)

@BenTheElder
Copy link
Member

BenTheElder commented Dec 6, 2018 via email

@nikhita
Copy link
Member

nikhita commented Dec 27, 2018

I put together some quick Go code to list repos not having the CONTRIBUTING.md file and this is the list right now:

kubernetes:
kubernetes/dashboard
kubernetes/federation
kubernetes/cloud-provider-alibaba-cloud
kubernetes/cloud-provider-sample

kubernetes-sigs:
kubernetes-sigs/aws-alb-ingress-controller
kubernetes-sigs/mutating-trace-admission-controller

I have created PRs for all of these repos and will report back when they are merged. All PRs are referenced/linked above.
/assign

@nikhita
Copy link
Member

nikhita commented Dec 27, 2018

Fyi I used the same tool to identify repos with missing LICENSE (#57 (comment)) and CoC (kubernetes/community#3053).

Created PRs for all repos to fix this. We should look into automating this though (can discuss the automation in kubernetes/community#3053).

@philips
Copy link
Contributor

philips commented Jan 16, 2019

Remaining repos as of 2019-01-16:

@shashidharatd
Copy link

Remaining repos as of 2019-01-16:
kubernetes-retired/federation#299

The pr is merged.

@nikhita
Copy link
Member

nikhita commented Jan 17, 2019

Thanks, @shashidharatd! Closing this issue, let's discuss automating this in kubernetes/community#3053.

/close

@k8s-ci-robot
Copy link
Contributor

@nikhita: Closing this issue.

In response to this:

Thanks, @shashidharatd! Closing this issue, let's discuss automating this in kubernetes/community#3053.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
committee/steering Denotes an issue or PR intended to be handled by the steering committee. kind/feature Categorizes issue or PR as related to a new feature. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.
Projects
None yet
Development

No branches or pull requests