Freeze leaflet to 0.7

This commit is contained in:
Yohan Boniface 2013-11-30 13:05:23 +01:00
parent 35ff54c093
commit 57199fd290
2 changed files with 2 additions and 3 deletions

4
fabfile.py vendored
View file

@ -238,7 +238,7 @@ def collect_remote_statics():
remote_static_dir = '{project_dir}/{project_name}/remote_static'.format(**env) remote_static_dir = '{project_dir}/{project_name}/remote_static'.format(**env)
run_as_umap('mkdir -p {0}'.format(remote_static_dir)) run_as_umap('mkdir -p {0}'.format(remote_static_dir))
remote_repositories = { remote_repositories = {
'leaflet': "git://github.com/Leaflet/Leaflet.git@master", 'leaflet': "git://github.com/Leaflet/Leaflet.git@master#v0.7",
'draw': "git://github.com/Leaflet/Leaflet.draw.git@master", 'draw': "git://github.com/Leaflet/Leaflet.draw.git@master",
'hash': "git://github.com/mlevans/leaflet-hash.git@master", 'hash': "git://github.com/mlevans/leaflet-hash.git@master",
'storage': 'git://github.com/yohanboniface/Leaflet.Storage.git@master', 'storage': 'git://github.com/yohanboniface/Leaflet.Storage.git@master',
@ -265,7 +265,7 @@ def collect_remote_statics():
exists = run_as_umap('if [ -d "{0}" ]; then echo 1; fi'.format(subdir)) exists = run_as_umap('if [ -d "{0}" ]; then echo 1; fi'.format(subdir))
if exists: if exists:
with cd(subdir): with cd(subdir):
run_as_umap('git pull origin {0}'.format(branch)) run_as_umap('git pull origin {0} --tags'.format(branch))
else: else:
run_as_umap('git clone {0} {1}'.format(repository, subdir)) run_as_umap('git clone {0} {1}'.format(repository, subdir))
with cd(subdir): with cd(subdir):

View file

@ -33,7 +33,6 @@ CHARSET = "utf-8"
from sesql.fields import * from sesql.fields import *
from sesql.sources import * from sesql.sources import *
from django.db.models import Q
from leaflet_storage import models from leaflet_storage import models
# #