Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2019-10-02 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by felixxm):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Using `django-docker-box` is now documented and we moved it into Django
 org.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.c06bdf787ff036a0200e518c2861f599%40djangoproject.com.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2019-10-02 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Mariusz Felisiak ):

 In [changeset:"b6da3192c0d7561dd1daf3c2a8e7b82c66204a51" b6da319]:
 {{{
 #!CommitTicketReference repository=""
 revision="b6da3192c0d7561dd1daf3c2a8e7b82c66204a51"
 [3.0.x] Refs #30010 -- Doc'd running tests with django-docker-box.

 Backport of f7eb9fb676d7afba16fc577283610b359718e644 from master
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.b41dec55977fa98ff88d614402644bc2%40djangoproject.com.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2019-10-02 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Mariusz Felisiak ):

 In [changeset:"8ac918a91349df26d83264b37da9dbd0140aeede" 8ac918a9]:
 {{{
 #!CommitTicketReference repository=""
 revision="8ac918a91349df26d83264b37da9dbd0140aeede"
 [2.2.x] Refs #30010 -- Doc'd running tests with django-docker-box.

 Backport of f7eb9fb676d7afba16fc577283610b359718e644 from master
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.40fc6de980f59c91c54d5a3861350816%40djangoproject.com.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2019-10-02 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Mariusz Felisiak ):

 In [changeset:"f7eb9fb676d7afba16fc577283610b359718e644" f7eb9fb]:
 {{{
 #!CommitTicketReference repository=""
 revision="f7eb9fb676d7afba16fc577283610b359718e644"
 Refs #30010 -- Doc'd running tests with django-docker-box.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.9f535b96b0d54726a9d8a7efe920271e%40djangoproject.com.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2019-09-26 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by felixxm):

 * needs_better_patch:  1 => 0


Comment:

 [https://github.com/django/django/pull/11838 PR]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.cbd58f5ed049b7908aba252f02c0dc0b%40djangoproject.com.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2019-02-27 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Johannes Hoppe):

 FYI, there is an official Docker image for Oracle now. I added it to the
 wiki too, seealso: https://code.djangoproject.com/wiki/OracleTestSetup

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.f69812227bfa5af6e51eef77019d399b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2019-02-18 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Carlton Gibson):

 * needs_better_patch:  0 => 1


Comment:

 I'm marking this ''Patch needs improvement'' since there are
 comments/issues on the PR and in the django-docker-box repo.

 There's [https://github.com/orf/django-docker-box/issues/1 an ongoing
 discussion thread on django-docker-box] which seems to be home to the
 conversation currently.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.029e5354acf4ca9e22cc974a6cd762d2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2018-12-23 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  Tom Forbes
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Tom Forbes):

 * owner:  nobody => Tom Forbes
 * status:  new => assigned


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.487d6ee61d76f5473a2cc37977f1c510%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2018-12-23 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+
 Reporter:  Tom Forbes |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Tom Forbes):

 * needs_docs:  1 => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.1b928ec5b7f50a2f830346eba2428515%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2018-12-06 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+
 Reporter:  Tom Forbes |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Tom Forbes):

 * has_patch:  0 => 1


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.9e2a280625bea40e81b42fd13bb09bfa%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2018-12-04 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+
 Reporter:  Tom Forbes |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  1
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tom Forbes):

 Initial PR: https://github.com/django/django/pull/10725

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.ae40a106e0b192f4f6d331e9e24c8197%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2018-12-04 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+
 Reporter:  Tom Forbes |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  1
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Simon Charette):

 * needs_docs:  0 => 1
 * stage:  Unreviewed => Accepted


Comment:

 Accepting on the basis that I've used Tom's `django-docker-box`
 extensively since I learned about it and it greatly simplified my testing
 setup.

 I assume it would help speeding up initial contributor setup as well.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.259f1e71ad210cf4c3eefb356a66b5b0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30010: Add support for running the test suite through docker with docker-compose

2018-12-04 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
---+--
 Reporter:  Tom Forbes |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Description changed by Tom Forbes:

Old description:

> As
> [https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
> /django-developers/_SRnleXuyzI/KYYQXiPHDQAJ per a discussion on the
> developers mailing list], I would like to propose adding docker-compose
> support to Django.
>
> Right now running the test suite across different databases is annoying
> at best, and is a pain point for new developers wishing to join the
> project. With a relatively small number of changes we can add a docker-
> compose definition to the Django project itself which will allow anyone
> to quickly run tests across any supported Python/database version.
>
> One option is to add this to runtests.py, i.e `runtests.py --docker`. I
> do not think this is a good approach as there are a large ecosystem of
> tools that already work with docker, including editors, CLI tools and
> shells, which will not work with runtests.py.
>
> I've already done most of the work for this in [https://github.com/orf
> /django-docker-box django-docker-box]. We would need to copy the
> [https://github.com/orf/django-docker-box/blob/master/docker-compose.yml
> docker-compose.yml] file as well [https://github.com/orf/django-docker-
> box/blob/master/Dockerfile as the Dockerfile], and add documentation.
>
> Getting this to work with Oracle would require more work and I believe it
> can be done as a future ticket.

New description:

 As
 [https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
 /django-developers/_SRnleXuyzI/KYYQXiPHDQAJ per a discussion on the
 developers mailing list], I would like to propose adding docker-compose
 support to Django.

 Right now running the test suite across different databases is annoying at
 best, and is a pain point for new developers wishing to join the project.
 With a relatively small number of changes we can add a docker-compose
 definition to the Django project itself which will allow anyone to quickly
 run tests across any supported Python/database version.

 One option is to add this to runtests.py, i.e `runtests.py --docker`. I do
 not think this is a good approach as there are a large ecosystem of tools
 that already work with docker, including editors, CLI tools and shells,
 which will not work with runtests.py.

 I've already done most of the work for this in [https://github.com/orf
 /django-docker-box django-docker-box]. We would need to copy the
 [https://github.com/orf/django-docker-box/blob/master/docker-compose.yml
 docker-compose.yml] file as well [https://github.com/orf/django-docker-
 box/blob/master/Dockerfile as the Dockerfile], and add documentation.

 Getting this to work with Oracle would require more work and I believe it
 can be done as a future ticket.

 In django-docker-box I've had [https://github.com/orf/django-docker-
 box/tree/master/settings to create specific settings files for each
 backend]. I can't see a way around not including this in core as well,
 perhaps under a `tests/settings/docker/` subdirectory?

--

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.7b99ca407a0d51366eb00bfe4a38e07d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #30010: Add support for running the test suite through docker with docker-compose

2018-12-04 Thread Django
#30010: Add support for running the test suite through docker with 
docker-compose
-+
   Reporter:  Tom Forbes |  Owner:  nobody
   Type:  New feature| Status:  new
  Component:  Testing framework  |Version:  master
   Severity:  Normal |   Keywords:
   Triage Stage:  Unreviewed |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+
 As
 [https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
 /django-developers/_SRnleXuyzI/KYYQXiPHDQAJ per a discussion on the
 developers mailing list], I would like to propose adding docker-compose
 support to Django.

 Right now running the test suite across different databases is annoying at
 best, and is a pain point for new developers wishing to join the project.
 With a relatively small number of changes we can add a docker-compose
 definition to the Django project itself which will allow anyone to quickly
 run tests across any supported Python/database version.

 One option is to add this to runtests.py, i.e `runtests.py --docker`. I do
 not think this is a good approach as there are a large ecosystem of tools
 that already work with docker, including editors, CLI tools and shells,
 which will not work with runtests.py.

 I've already done most of the work for this in [https://github.com/orf
 /django-docker-box django-docker-box]. We would need to copy the
 [https://github.com/orf/django-docker-box/blob/master/docker-compose.yml
 docker-compose.yml] file as well [https://github.com/orf/django-docker-
 box/blob/master/Dockerfile as the Dockerfile], and add documentation.

 Getting this to work with Oracle would require more work and I believe it
 can be done as a future ticket.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/046.66dca4d63ad000423e2c2933f892350b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.