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

Update docs regarding becoming a new member #497

Merged
merged 3 commits into from
Apr 10, 2019
Merged

Update docs regarding becoming a new member #497

merged 3 commits into from
Apr 10, 2019

Conversation

dpryan79
Copy link
Contributor

@dpryan79 dpryan79 commented Apr 9, 2019

@bioconda/core Can someone do some sanity checking on this and see if I've missed anything?

Needed for bioconda/bioconda-recipes#14395

Closes bioconda/bioconda-recipes#1

branch.

- You want to have other team members make changes directly to your branch
- You are a bioconda team member. Team members have write access to branches
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

master and bulk if I'm not misleading.

Copy link
Contributor Author

@dpryan79 dpryan79 Apr 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, at the moment we're not requiring anything on bulk. Shouldn't we just directly restrict who can merge to it? We can then document that here. We should remove the restriction on admins there as well.

Copy link
Contributor Author

@dpryan79 dpryan79 Apr 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the settings on bulk so only admins can merge to it. I think this is what was originally intended (the previous settings had anyone able to merge with no actually required checks!). I'm not sure when those settings got changed, I expect it was an accident...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update, people can still merge once tests pass on bulk. They weren't required previously for some reason.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mh, not sure why I can't add bioconcda/core to "Restrict who can push to matching branches".

I think core needs to merge to bulk, even if it fails. All others can not merge to bulk [at all | if it passes ]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same issues. I don't see how to set "no one can merge" except admin. Unless that's what happens if we require tests to pass but then don't select any.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From reading through the documentation it seems that it's not possible to completely prevent members from merging PRs to bulk if the CI tests pass. That explains how I could sometimes merge things into bulk 6 months ago. I expect that's a risk we'll have to take for the time being. BTW, we should add CODEOWNERS for the CI configuration stuff, just to prevent anyone from accidentally mucking with it. I'll try to make a PR for that today and see if I can use it to prevent any modifications outside of recipes/, to prevent things like the current /multiphate.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I not afraid people merging passed PRs to bulk, it's as risky as merging passed PRs to master. What is a problem is merging failed into bulk, which should only be allowed for admins.

BTW, we should add CODEOWNERS for the CI configuration stuff, just to prevent anyone from accidentally mucking with it. I'll try to make a PR for that today and see if I can use it to prevent any modifications outside of recipes/, to prevent things like the current /multiphate.

I thought that can be only be used to ping people if certain files are modified. Does it prevent people from modifying files? Can the bot fail linting iff user != bioconda/core and modified-files != recipes/* | blacklist ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners have reviews requested automatically, so yes at least we get notified.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ditching the CODEOWNERS idea, since there's no way I can find to whitelist the blacklist and I don't want to get spammed every time someone needs to update that.

docs/source/contrib-setup.rst Outdated Show resolved Hide resolved
@dpryan79
Copy link
Contributor Author

dpryan79 commented Apr 9, 2019

@bgruening Thanks for having a look. I've made some updates, so please look again when you have time.

@epruesse
Copy link
Member

epruesse commented Apr 9, 2019

Haven't gotten around to doing a welcome message for first PR contributions yet. It would help greatly someone came up with some text. I feel like the message template should be in bioconda-recipes/.github/welcome_new_contributor.md.

@dpryan79
Copy link
Contributor Author

@epruesse Makes sense, I'll try to put something together today for everyone to review.

@dpryan79
Copy link
Contributor Author

@bgruening If there are no other issues I'll merge this.

@bgruening
Copy link
Member

Please go ahead. This looks good!

@dpryan79 dpryan79 merged commit 6ad85fa into master Apr 10, 2019
@dpryan79 dpryan79 deleted the contributing branch April 10, 2019 08:56
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

Successfully merging this pull request may close these issues.

3 participants