Open kocielnik opened 6 days ago
Thanks for all the work on this! I'll try to review it this weekend when we have some time, but generally I'm okay with any improvements to the project :)
1 - I don't have a strong preference. If we can do it as part of github actions, that should be fine. I just did Circle CI since I was familiar with it from other work.
2 - I'm not a python programmer by trade, so I never even heard of pyproject
haha. But it seems to be the standard per this - https://www.reddit.com/r/learnpython/comments/1bmxe6i/whats_the_difference_between_pyprojecttoml/. So let's do it.
3 - Seems fine. I don't have a strong opinion and src/server
is better named than main
.
4 - Seems reasonable to me.
Thanks for precise feedback right on the following day!
Regarding point 1, imagining we have GitHub Actions configured, we could next try out a Google-backed recipe to deploy to Google App Engine straight from GitHub using Actions at https://github.com/google-github-actions/deploy-appengine.
If you feel uncomfortable with either of these changes, please let me know! I can revert such a change or give more context why I think it may make sense.
Included propositions:
Replace CircleCI config with GitHub Actions config.
Move requirement specification to
pyproject.toml
.pyproject.toml
- this support was added a while ago and is now pretty standard.poetry install
to install all deps,poetry shell
to enter the virtualenv shell with them installed).pyproject.toml
file is pretty standard now as the format for describing packages, but the sections to be used depend on one's favourite build tool.Move code from
main.py
tosrc/server.py
for testing.src/templates
.Untrack
.envrc
.cd
-ing to the package directory.