[WIP] Update docs to sync with cookiecutter master branch#3556
[WIP] Update docs to sync with cookiecutter master branch#3556mmerickel merged 37 commits intoPylons:masterfrom
Conversation
|
This monster is ready for review. |
|
Let's say hypothetically I moved the tests out of the package. On a scale from -1 to +1 how annoyed would you be to re-sync this again? |
|
+1. Tests are the least troublesome to synch, as they are at the end of every tutorial. It'll have to wait till Monday night though. |
|
OK I will try to sort it out tomorrow so that it’s ready for you on Monday. Thank you!
|
|
If you're feeling ambitious, test coverage for both the sqlalchemy and zodb backends are low, and maybe move source into |
|
I do not want to move the source into |
|
@mmerickel I could use some help with one failing test. pyramid/docs/tutorials/wiki2/src/tests/tests/test_initdb.py Lines 12 to 16 in 6c5f524 The database already exists and has been populated with data from an earlier step in the tutorial when changing the models. If I change the database name in Also there are a couple of warnings, one for I fiddled around with that for a while, but nothing obvious jumped out at me. |
|
This PR is now ready for review, and except for the above mentioned failing test and test warnings, can be merged. |
|
The test should be either
in its current form, initialize_db is meant to be run only one time ever. So if the database already exists it will fail to run again. The bug here (imo) is having this test in the first place and I'd just remove it. |
|
Thanks. Removal was my first thought. Tests should be repeatable, and modifying the script would feel like accommodating something that doesn't need to be accommodated. |
- Update output to reflect current cookiecutter - Fix minor typos - Use new links to PyPA for MANIFEST.in description and usage - Add missing keyword "keywords" to setup.py whirlwind description - Flip order of `install_requires` and `extras_require` to align with order in setup.py - Update line numbers and code references - Add watchman under hupper and rewrite paragraph @mmerickel should review
…nd models src files
…g tests directory
…g tests directory, including tests package
fc1e1d4 to
b5fec39
Compare
|
I rebased this branch on master, resolved conflicts and merged, then force pushed. I guess that wasn't the proper procedure, looking at the commit history. |
|
is this ready for review then or still wip? |
|
The only thing missing is how to resolve the warnings in #3556 (comment) I couldn't figure it out. Otherwise it is ready for review. |
|
I would edit the pkg_resources code in site-packages to add/change |
|
Thanks for the tip! I'll try that out tonight, after daylight runs out. |
|
PyCharm caching of diff will be the death of me. Refreshing cache revealed the file diff. Thanks to the tip to modifying Changes pushed, and this PR is now complete and ready for review. Ping @mmerickel. |
|
I pushed one small tweak to find_packages. This is great work. I'm going to merge it and will try to update the tutorials this weekend. |
docs/quick_tour.rstdocs/narr/project.rstdocs/quick_tutorial/*docs/tutorials/wiki/*docs/tutorials/wiki2/*docs/narr/myprojectSee #3523