-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix #1981, improve ini-options help text #1983
Conversation
@tomviner please check your git setup, you accidentally pushed your topic branch to the main repo should we add a few lines for the workflow setup to the documentation (i recall making the same mistake a few weeks back) |
Yes, it is recommended to open PRs from branches in your fork. FWIW the only drawback of opening PRs from branches in the main repository is that the CI services run twice. Other than that, there's really no long term drawback though.
I believe the documentation is explicit about the recommendation of opening PRs from forks already... do you have something in mind @RonnyPfannschmidt? I'm merging this, the py35-trial failure on Linux is not related, hopefully I'll be able to investigate it in #1979. |
@nicoddemus i believe we should propose a configuration workflow, recently i started to always clone from the pristine repos, and setting my fork as the push url for origin |
I see, I usually:
I think that's the recommended workflow in general when working on GH, although I don't really remember reading it specifically anywhere. |
@RonnyPfannschmidt very sorry about that! The only reason it happened is because I made the change using the github web interface. I would never normally create a branch on pytest-dev otherwise. And of course, it's only possible because I'm a pytest plugin maintainer, otherwise I'd have no rights to create branches here anyway. @nicoddemus for what it's worth, my usual workflow for open source contributions is:
function git-forked {
git remote rename origin upstream
git remote add origin $(git ls-remote --get-url upstream | sed s/":[A-Za-z0-9-]\+\/"/":tomviner\/"/)
git fetch --all
git branch master -u origin/master
} I'm sure that could be simplified though! |
Hey @tomviner!
Absolutely, I've done so in the past myself. 😁 |
@nicoddemus thanks for the clean up! |
Fix for #1981