-
Notifications
You must be signed in to change notification settings - Fork 887
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
add pyramid_retry to cookiecutters #3042
Comments
I prefer option 2 as well. I would like to see cookiecutter branches aligned with the releases of Pyramid: 1.8, 1.9 (soon to be released), and master/unstable/dev. That would also help with keeping Pyramid docs aligned and consistent. |
So ideally we keep the latest docs using the latest cookiecutter (master). If we want the 1.8 docs to keep working we may want to update our RELEASING info to change the cookiecutter links on old branches.
We could also consider adding |
Agreed on updating Thinking out loud:
I think we need to update the CC's During the time that a version is in alpha/beta status, taking 1.9 as an example, we want to add pyramid_retry to the cookiecutters. On which branch of the CC's, and when, do we make such a change? |
My thinking is that in general changes to pyramid are bw compatible so if 1.9 is installed things should still work. That's an issue with the old scaffolds as well but in a less likely way since you had to install pyramid first to install the scaffold but when you went to install pyramid again it could get a different version. Anyway as for your last question we could make the change at any time. Just update the docs on master in such a way that they assume the cookiecutter is coming from master even if it isn't. |
The actual pyramid_retry changes should be:
|
To clarify, would those changes would go on branches |
They go on master which will be snapshotted to 1.9-branch prior to release. |
I'll leave it off of pyramid-cookiecutter-starter because there is no |
Correct the starter doesn't need pyramid_retry. |
Both the above PRs passed CI and are ready for review. |
Fixed in #3082 and related cookiecutter issues. |
EDIT:
--checkout 1.8-branch
--checkout 1.9-branch
--checkout master
upon final release of 1.9pyramid_retry requires Pyramid > 1.9a1. This causes an issue with the independently deployed cookiecutters. There are two options:
Add a
"release": ["stable", "master"]
option tocookiecutter.json
. This isn't super great because it's not easy to install master in a consistent way just because of howsetup.py
works.Just add an unstable/dev branch to the cookiecutters and push the changes there. When 1.9.0 is released we can merge that branch into master and just do a coordinated release.
Choice 2 is what I would choose but I wanted to be clear what the options were in my view.
Finally, we need to update any relevant parts of the tutorials - only in 1.9 (not 1.7 / 1.8). This basically means the cookiecutter only works with 1.9. We could consider snapshotting the cookiecutter into a 1.8-branch such that people could use the old cookiecutter if they really wanted to and we wouldn't be obligated to keep the master branch working with 1.8.
The text was updated successfully, but these errors were encountered: