Re: [Django] #34859: Format SQL code prodcued by sqlmigrate

2023-09-22 Thread Django
#34859: Format SQL code prodcued by sqlmigrate
-+-
 Reporter:  Paolo Melchiorre |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  Migrations   |  Version:  dev
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:  sql, sqlmigrate, | Triage Stage:
  migrations |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by David Sanders):

 > Did you mean that sqlmigrate's formatting is subpar, or that sqlparse's
 is?

 oops! I meant sqlparse :)

-- 
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/0107018abcd9a702-73fdec63-b6ea-4a73-aba9-7c5176fae1b6-00%40eu-central-1.amazonses.com.


Re: [Django] #34859: Format SQL code prodcued by sqlmigrate

2023-09-22 Thread Django
#34859: Format SQL code prodcued by sqlmigrate
-+-
 Reporter:  Paolo Melchiorre |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  Migrations   |  Version:  dev
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:  sql, sqlmigrate, | Triage Stage:
  migrations |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Natalia Bidart):

 Replying to [comment:1 David Sanders]:
 > Personally I'm not sure it's worth formatting… it's kinda nice to have
 the current format have 1 line per ddl statement. Additionally in my
 experience sqlmigrate's formatting of ddl is lack lustre 路‍♂️

 Did you mean that `sqlmigrate`'s formatting is subpar, or that
 `sqlparse`'s is?

-- 
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/0107018abcd83860-9270bead-b69d-4494-9afe-90c4098aea43-00%40eu-central-1.amazonses.com.


Re: [Django] #34859: Format SQL code prodcued by sqlmigrate

2023-09-22 Thread Django
#34859: Format SQL code prodcued by sqlmigrate
-+-
 Reporter:  Paolo Melchiorre |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  Migrations   |  Version:  dev
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:  sql, sqlmigrate, | Triage Stage:
  migrations |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Natalia Bidart):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Thanks Paolo for your ticket!

 I personally think that if we were to do this, it should be via a
 dedicated CLI switch, I wouldn't change the default formatting because
 there may be tools that parse this output and assume one command per line.

 Having said that, I would suggest/like that this feature request is
 proposed in the Django forum to reach a wider audience, Trac notifications
 are receive by a small subset of people from the community.

 Following the triage procedure, I'll close as wontfix pending the
 conversation in the forum, happy to re-open later!

-- 
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/0107018abcd63f64-00187c80-8691-48a9-9eeb-0f66c56809ad-00%40eu-central-1.amazonses.com.


Re: [Django] #34859: Format SQL code prodcued by sqlmigrate

2023-09-21 Thread Django
#34859: Format SQL code prodcued by sqlmigrate
-+-
 Reporter:  Paolo Melchiorre |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Migrations   |  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  sql, sqlmigrate, | Triage Stage:
  migrations |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by David Sanders):

 Personally I'm not sure it's worth formatting… it's kinda nice to have the
 current format have 1 line per ddl statement. Additionally in my
 experience sqlmigrate's formatting of ddl is lack lustre 路‍♂️

-- 
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/0107018ab7871aa8-61120de7-6dca-4f45-8dac-b559db3ee676-00%40eu-central-1.amazonses.com.