[PATCH 2/3] docker: Simplify MySQL reset

2019-09-03 Thread Stephen Finucane
Just use the hardcoded configuration. Signed-off-by: Stephen Finucane --- tools/docker/Dockerfile| 3 --- tools/docker/entrypoint.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 81700711..556085ce 100644 --- a/t

[PATCH 1/3] Drop support for Python 3.4, add Python 3.7

2019-09-03 Thread Stephen Finucane
It's no longer supported upstream and the *second* last Ubuntu LTS release provides something newer. Time to move on. Signed-off-by: Stephen Finucane --- README.rst| 4 ++-- docs/development/installation.rst | 6 +++--- requirements-dev.txt | 4 ++-- requirem

[PATCH 3/3] docker: Use pyenv for Python versions

2019-09-03 Thread Stephen Finucane
This is slightly slower to initially configure but requires less hacking to get the same environment and should be a lot more maintainable (just a simple modification to change the Python version). Signed-off-by: Stephen Finucane --- tools/docker/Dockerfile| 79 ++

Re: [PATCH v5] Move to msgid based URLs

2019-09-03 Thread Stephen Finucane
On Sat, 2019-08-31 at 01:13 +1000, Daniel Axtens wrote: > Migrate our URL schema as follows: > > Patches: /project//patch// > Cover Letters: /project//cover// > > The usual sub-resources (mbox, raw) hang off those URLs. > The old style URLs (/patch/NNN/*, /cover/NNN/*) redirect appropriatel

[PATCH v4] tox: Integrate tox-docker

2019-09-03 Thread Stephen Finucane
This eliminates the need to use docker-compose for most use cases. Instead, we can now do: tox -e py27-django111-postgres If you're using a locally configured PostgreSQL or MySQL instance, you simply omit the last factor and things behave as before: tox -e py27-django111 We removed the

Re: [PATCH v3 4/5] tox: Integrate tox-docker

2019-09-03 Thread Stephen Finucane
On Mon, 2019-09-02 at 20:52 +1000, Daniel Axtens wrote: > Stephen Finucane writes: > > > On Mon, 2019-08-26 at 14:25 +1000, Daniel Axtens wrote: > > > Stephen Finucane writes: > > > > > > > On Thu, 2019-08-22 at 23:52 +1000, Daniel Axtens wrote: > > > > > > > .. code-block:: shell > > > > > >