Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-07-14 Thread Django
#22791: makemigrations interactive questioner ignores app labels
-+-
 Reporter:  bendavis78   |Owner:  whoshuu
 Type:   |   Status:  closed
  Cleanup/optimization   |  Version:  master
Component:  Migrations   |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Ready for
 Keywords:   |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Tim Graham ):

 In [changeset:"6d5238f6c873f8ad652ee206b88849a50e68accc"]:
 {{{
 #!CommitTicketReference repository=""
 revision="6d5238f6c873f8ad652ee206b88849a50e68accc"
 [1.7.x] Fixed #22791 -- Invoke interactive questioner only for conflicts
 in specified apps.

 Thanks bendavis78 for the report and Tim Graham for the review.

 Backport of f7a78f9bba 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 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/068.bd5b9fc244bb831134162efa8f4492a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-07-14 Thread Django
#22791: makemigrations interactive questioner ignores app labels
-+-
 Reporter:  bendavis78   |Owner:  whoshuu
 Type:   |   Status:  closed
  Cleanup/optimization   |  Version:  master
Component:  Migrations   |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Ready for
 Keywords:   |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham ):

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


Comment:

 In [changeset:"f7a78f9bba4efd0231aec0326a73fdbd004d1faa"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f7a78f9bba4efd0231aec0326a73fdbd004d1faa"
 Fixed #22791 -- Invoke interactive questioner only for conflicts in
 specified apps.

 Thanks bendavis78 for the report and Tim Graham for the review.
 }}}

-- 
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/068.82022b67bac9298575f52e1e3e4baa17%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-25 Thread Django
#22791: makemigrations interactive questioner ignores app labels
-+-
 Reporter:  bendavis78   |Owner:  whoshuu
 Type:   |   Status:  assigned
  Cleanup/optimization   |  Version:  master
Component:  Migrations   |   Resolution:
 Severity:  Normal   | Triage Stage:  Ready for
 Keywords:   |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by bendavis78):

 * cc: bendavis78 (added)


-- 
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/068.733e7e0b53ac19ad7ceffa9eff271d62%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-24 Thread Django
#22791: makemigrations interactive questioner ignores app labels
-+-
 Reporter:  bendavis78   |Owner:  whoshuu
 Type:   |   Status:  assigned
  Cleanup/optimization   |  Version:  master
Component:  Migrations   |   Resolution:
 Severity:  Normal   | Triage Stage:  Ready for
 Keywords:   |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timo):

 * stage:  Accepted => Ready for checkin


Comment:

 Looks good to me. Bumping to RFC to give Andrew a chance to look and
 ensure he's okay with the approach rather than the other option you
 mentioned.

-- 
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/068.ba581858e028008dcd8d0719721bbcb4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-24 Thread Django
#22791: makemigrations interactive questioner ignores app labels
--+
 Reporter:  bendavis78|Owner:  whoshuu
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Migrations|  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 whoshuu):

 * needs_better_patch:  1 => 0


Comment:

 The PR has been updated using suggestions left by Tim.

-- 
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/068.03b3efff73b804e437c19a53a67de6de%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-24 Thread Django
#22791: makemigrations interactive questioner ignores app labels
--+
 Reporter:  bendavis78|Owner:  whoshuu
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Migrations|  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 timo):

 * needs_better_patch:  0 => 1


Comment:

 I left comments for improvement on PR. Please uncheck "Patch needs
 improvement" when you update it, thanks.

-- 
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/068.012ba0c24d2027ff5125c5590127f8ab%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-19 Thread Django
#22791: makemigrations interactive questioner ignores app labels
--+
 Reporter:  bendavis78|Owner:  whoshuu
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Migrations|  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 whoshuu):

 * 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/068.f9303799673fd4e2eeefd97b2200b1f3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-19 Thread Django
#22791: makemigrations interactive questioner ignores app labels
--+
 Reporter:  bendavis78|Owner:  whoshuu
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by whoshuu):

 Made a quick change in `makemigrations` using approach 1.

 PR sent: ​​https://github.com/django/django/pull/2834

-- 
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/068.905ad6633614b657ee1dd2131717c082%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-19 Thread Django
#22791: makemigrations interactive questioner ignores app labels
--+
 Reporter:  bendavis78|Owner:  whoshuu
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by whoshuu):

 I'd actually change this ticket to, "makemigrations ignores app labels for
 conflicts". From the looks of it, there are three issues I would classify
 as improper behavior:

 1. (Original ticket) Interactive questioner will ask a "y/N" question for
 an app that was not specified.
 2. An outstanding conflict in an unspecified app will throw a
 `CommandErorr` if `merge` is set to `False`.
 3. An outstanding conflict in an unspecified app **will** create a
 migration file if `merge` is set to `True` and `interactive` is left as
 `False`.

 The expected behavior is to ignore apps that have not been specified when
 at least one app has been specified. There are two ways of going about
 eliminating these behaviors:

 1. Filter out `conflicts` from `loader.detect_conflicts` in the
 `makemigrations` module by `app_labels`. This localizes the required
 changes but may be inefficient as conflicts will be scanned for
 unspecified apps.
 2. Pass in `app_labels` to `loader.detect_conflicts()` and only scan for
 conflicts in the apps that have been specified. This is more efficient but
 touches more code.

 I'd like to hear what people have to say about this. If necessary, I can
 create the tickets for issues 2 and 3 if merging them all into this one is
 inappropriate.

-- 
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/068.7fcae4f4ea78b261b8922e24b0487f0d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-19 Thread Django
#22791: makemigrations interactive questioner ignores app labels
--+
 Reporter:  bendavis78|Owner:  whoshuu
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by whoshuu):

 * status:  new => assigned
 * owner:  nobody => whoshuu


-- 
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/068.58575a5bf9fa66dd5e864c589ad73446%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-15 Thread Django
#22791: makemigrations interactive questioner ignores app labels
--+
 Reporter:  bendavis78|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by bmispelon):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * type:  Uncategorized => Cleanup/optimization
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 Hi,

 Indeed, I've managed to reproduce the behavior you describe.

 I agree that we should try and make the interactive a bit smarter if we
 can (ie, not ask questions that won't be used for creating migrations).


 Thanks.

-- 
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/068.e48748a12224579953be8bc64bfb8208%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #22791: makemigrations interactive questioner ignores app labels

2014-06-07 Thread Django
#22791: makemigrations interactive questioner ignores app labels
---+
 Reporter:  bendavis78 |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Migrations |Version:  master
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 When running `makemigrations `, the interactive questioner will
 still ask questions regarding apps you didn't pass to the command, even
 though the migrations aren't created for those apps.

-- 
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/053.8c3476be3d923f34a74a2ce06f397008%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.