Dump last migration of other apps (dependencies)

12 views
Skip to first unread message

Thomas Güttler

unread,
Jul 16, 2014, 6:10:53 AM7/16/14
to south...@googlegroups.com
Hi,

in Juni 2012 I wrote the same feature request[1]

Today we stumbled over the problem again.

Here is my idea: the migration file created by south, should contain
the last migration of the other apps as comment.

If you use "--freeze" south should create real dependencies, not
just a commented out one.

What do you think?

Should I create a feature request ticket? If yes, where? AFAIK the
south ticket system is in read only mode.


1: https://groups.google.com/forum/#!topic/south-users/u2BSB__3r00

--
Thomas Güttler
http://thomas-guettler.de/

Shai Berger

unread,
Jul 16, 2014, 12:05:46 PM7/16/14
to south...@googlegroups.com
Hi Thomas,

South has been effectively frozen in favor of the core migrations (coming in
Django 1.7). Core migrations don't have the concept of "freezing", other than
that the cross-app dependency issues are very similar to those in South
(although the "last migration of an app" is no longer well defined, in
general).

Personally, I don't think the comments are warranted -- but if you want to see
this feature, please start a discussion on django-developers.

Thanks,
Shai.

Andrew Godwin

unread,
Jul 16, 2014, 12:32:33 PM7/16/14
to south...@googlegroups.com
Hi Thomas,

Shai is correct - there will be no more releases of South. The problem you described has been fixed entirely in the new Django migrations, where dependencies are worked out fully and correctly and added into all the files for you, including rearranging and splitting of operations to avoid circular dependencies. You should consider them to be a "South 2", as they reflect what I would have done externally had I been able to sensibly without modifying Django itself so much.

Andrew



--
You received this message because you are subscribed to the Google Groups "South Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to south-users...@googlegroups.com.
To post to this group, send email to south...@googlegroups.com.
Visit this group at http://groups.google.com/group/south-users.
For more options, visit https://groups.google.com/d/optout.

Thomas Güttler

unread,
Jul 17, 2014, 10:04:48 AM7/17/14
to south...@googlegroups.com


Am 16.07.2014 18:32, schrieb Andrew Godwin:
> Hi Thomas,
>
> Shai is correct - there will be no more releases of South. The problem you described has been fixed entirely in the new
> Django migrations, where dependencies are worked out fully and correctly and added into all the files for you, including
> rearranging and splitting of operations to avoid circular dependencies. You should consider them to be a "South 2", as
> they reflect what I would have done externally had I been able to sensibly without modifying Django itself so much.
>
> Andrew

Thank you very much for these great news.

Thomas
Reply all
Reply to author
Forward
0 new messages