Merge 3.24.5 into default branch
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Feb 2017 13:37:32 +0100
changeset 11947 3c58ea2fd745
parent 11946 8de62610cea2 (current diff)
parent 11941 f96f77a190f2 (diff)
child 11950 68766861debe
Merge 3.24.5 into default branch
cubicweb.spec
cubicweb/__pkginfo__.py
--- a/.hgtags	Tue Jan 10 16:08:55 2017 +0100
+++ b/.hgtags	Fri Feb 03 13:37:32 2017 +0100
@@ -593,3 +593,6 @@
 35fd54c0065d622647f2d1fffc9874a455a1b9be 3.24.4
 35fd54c0065d622647f2d1fffc9874a455a1b9be debian/3.24.4-1
 35fd54c0065d622647f2d1fffc9874a455a1b9be centos/3.24.4-1
+70d28e632206aa1a3d3654f52468deccd2451f4c 3.24.5
+70d28e632206aa1a3d3654f52468deccd2451f4c debian/3.24.5-1
+70d28e632206aa1a3d3654f52468deccd2451f4c centos/3.24.5-1
--- a/cubicweb.spec	Tue Jan 10 16:08:55 2017 +0100
+++ b/cubicweb.spec	Fri Feb 03 13:37:32 2017 +0100
@@ -8,7 +8,7 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           cubicweb
-Version:        3.24.4
+Version:        3.24.5
 Release:        logilab.1%{?dist}
 Summary:        CubicWeb is a semantic web application framework
 Source0:        https://pypi.python.org/packages/source/c/cubicweb/cubicweb-%{version}.tar.gz
--- a/cubicweb/misc/migration/3.24.0_Any.py	Tue Jan 10 16:08:55 2017 +0100
+++ b/cubicweb/misc/migration/3.24.0_Any.py	Fri Feb 03 13:37:32 2017 +0100
@@ -6,14 +6,15 @@
 rql('DELETE CWProperty X WHERE X pkey "system.version.pyramid"',
     ask_confirm=False)
 
-sql('DROP TABLE moved_entities')
-sql('ALTER TABLE entities DROP COLUMN asource')
 # before removing extid, ensure it's coherent with cwuri
 for eid, etype, encoded_extid in sql(
         "SELECT eid, type, extid FROM entities, cw_CWSource "
         "WHERE cw_CWSource.cw_name=entities.asource AND cw_CWSource.cw_type='ldapfeed'"):
     sql('UPDATE cw_{} SET cw_cwuri=%(cwuri)s WHERE cw_eid=%(eid)s'.format(etype),
         {'eid': eid, 'cwuri': b64decode(encoded_extid)})
+
+sql('DROP TABLE moved_entities')
+sql('ALTER TABLE entities DROP COLUMN asource')
 sql('ALTER TABLE entities DROP COLUMN extid')
 sql('DROP INDEX entities_type_idx')
 
--- a/cubicweb/misc/migration/3.24.4_Any.py	Tue Jan 10 16:08:55 2017 +0100
+++ b/cubicweb/misc/migration/3.24.4_Any.py	Fri Feb 03 13:37:32 2017 +0100
@@ -14,10 +14,10 @@
             column = 'cw_{0}'.format(rdef.rtype)
             if any(isinstance(cstr, UniqueConstraint) for cstr in rdef.constraints):
                 source.create_index(cnx, table, column, unique=True)
-                commit()
+                commit(ask_confirm=False)
             if rschema.inlined or rdef.indexed:
                 source.create_index(cnx, table, column)
-                commit()
+                commit(ask_confirm=False)
 
 schema_indices = expected_indexes(cnx)
 db_indices = database_indexes(cnx)
--- a/debian/changelog	Tue Jan 10 16:08:55 2017 +0100
+++ b/debian/changelog	Fri Feb 03 13:37:32 2017 +0100
@@ -1,3 +1,9 @@
+cubicweb (3.24.5-1) unstable; urgency=medium
+
+  * New upstream release. 
+
+ -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Tue, 31 Jan 2017 10:40:14 +0100
+
 cubicweb (3.24.4-1) unstable; urgency=medium
 
   * New upstream release.