Skip to content

Commit

Permalink
Merge branch '0.23'
Browse files Browse the repository at this point in the history
Conflicts:
	CHANGES
  • Loading branch information
leplatrem committed Jun 18, 2014
2 parents abe11a1 + 4393891 commit 57193e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
CHANGELOG
=========

0.23.4 (unreleased)
-------------------

**Bug fixes**

* Fix massive upgrade bug, where new migrations were ignored. Due to migration
operation introduction in 0.22 installation script.


0.23.3 (2014-06-18)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ serve:

deploy:
bin/develop update -f
bin/django syncdb --noinput --migrate
bin/django collectstatic --clear --noinput --verbosity=0
bin/django syncdb --noinput --migrate
bin/django sync_translation_fields --noinput
bin/django update_translation_fields
bin/django update_permissions
Expand Down
11 changes: 2 additions & 9 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ function geotrek_setup {
freshinstall=true
if [ ! -z $existing ] ; then
freshinstall=false
if [ $existing \< "0.21" ]; then
if [ $existing \< "0.22" ]; then
echo_warn "Geotrek $existing was detected."
echo_error "Geotrek 0.21+ is required."
echo_error "Geotrek 0.22+ is required."
exit 7
fi
fi
Expand Down Expand Up @@ -444,13 +444,6 @@ function geotrek_setup {
exit_error 3 "Could not setup python environment !"
fi

if ! $freshinstall ; then
# In v0.22 we erased Django migrations
for app in authent common core infrastructure land maintenance trekking ; do
bin/django migrate geotrek.$app --delete-ghost-migrations --fake
done;
fi

if $tests ; then
# XXX: Why Django tests require the main database :( ?
bin/django syncdb --noinput
Expand Down

0 comments on commit 57193e5

Please sign in to comment.