add_jetpack_core management command created

This commit is contained in:
Piotr Zalewa 2010-08-26 22:34:52 +01:00
Родитель 9faa2eae2b
Коммит b73154d1fc
2 изменённых файлов: 13 добавлений и 53 удалений

Просмотреть файл

@ -0,0 +1,6 @@
from django.core.management.base import BaseCommand, CommandError
from jetpack.management import create_or_update_jetpack_core
class Command(BaseCommand):
def handle(self, sdk_dir_name, *args, **options):
create_or_update_jetpack_core(sdk_dir_name)

Просмотреть файл

@ -9,16 +9,16 @@ endif
set shortmess=aoO set shortmess=aoO
badd +1 /private/tmp/------------Jetpack badd +1 /private/tmp/------------Jetpack
badd +571 ~/Projects/FlightDeck/flightdeck/jetpack/views.py badd +571 ~/Projects/FlightDeck/flightdeck/jetpack/views.py
badd +318 ~/Projects/FlightDeck/flightdeck/jetpack/models.py badd +426 ~/Projects/FlightDeck/flightdeck/jetpack/models.py
badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/tests/module_tests.py badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/tests/module_tests.py
badd +18 ~/Projects/FlightDeck/flightdeck/jetpack/managers.py badd +18 ~/Projects/FlightDeck/flightdeck/jetpack/managers.py
badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/admin.py badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/admin.py
badd +79 ~/Projects/FlightDeck/flightdeck/jetpack/urls.py badd +79 ~/Projects/FlightDeck/flightdeck/jetpack/urls.py
badd +16 ~/Projects/FlightDeck/flightdeck/jetpack/errors.py badd +16 ~/Projects/FlightDeck/flightdeck/jetpack/errors.py
badd +31 ~/Projects/FlightDeck/flightdeck/jetpack/default_settings.py badd +34 ~/Projects/FlightDeck/flightdeck/jetpack/default_settings.py
badd +11 ~/Projects/FlightDeck/flightdeck/jetpack/package_helpers.py badd +11 ~/Projects/FlightDeck/flightdeck/jetpack/package_helpers.py
badd +35 ~/Projects/FlightDeck/flightdeck/jetpack/xpi_utils.py badd +35 ~/Projects/FlightDeck/flightdeck/jetpack/xpi_utils.py
badd +113 ~/Projects/FlightDeck/flightdeck/jetpack/management/__init__.py badd +76 ~/Projects/FlightDeck/flightdeck/jetpack/management/__init__.py
badd +1 /private/tmp/---old badd +1 /private/tmp/---old
badd +373 ~/Projects/FlightDeck/flightdeck/jetpack/views_old.py badd +373 ~/Projects/FlightDeck/flightdeck/jetpack/views_old.py
badd +7 ~/Projects/FlightDeck/flightdeck/jetpack/managers_old.py badd +7 ~/Projects/FlightDeck/flightdeck/jetpack/managers_old.py
@ -181,22 +181,14 @@ badd +33 ~/Projects/FlightDeck/flightdeck/person/models.py
badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/templates/json/module_removed.json badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/templates/json/module_removed.json
badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/templates/json/package_deleted.json badd +1 ~/Projects/FlightDeck/flightdeck/jetpack/templates/json/package_deleted.json
badd +3113 ~/Projects/FlightDeck/flightdeck/media/js/lib/mootools-1.2.4-core-nc.js badd +3113 ~/Projects/FlightDeck/flightdeck/media/js/lib/mootools-1.2.4-core-nc.js
badd +0 ~/Projects/FlightDeck/flightdeck/jetpack/management/commands/add_jetpack_core.py
silent! argdel * silent! argdel *
edit ~/Projects/FlightDeck/flightdeck/jetpack/management/__init__.py edit ~/Projects/FlightDeck/flightdeck/jetpack/management/commands/add_jetpack_core.py
set splitbelow splitright set splitbelow splitright
wincmd _ | wincmd |
vsplit
1wincmd h
wincmd w
wincmd _ | wincmd |
split
1wincmd k
wincmd w
set nosplitbelow set nosplitbelow
set nosplitright set nosplitright
wincmd t wincmd t
set winheight=1 winwidth=1 set winheight=1 winwidth=1
wincmd =
argglobal argglobal
setlocal fdm=manual setlocal fdm=manual
setlocal fde=0 setlocal fde=0
@ -207,50 +199,12 @@ setlocal fml=1
setlocal fdn=20 setlocal fdn=20
setlocal fen setlocal fen
silent! normal! zE silent! normal! zE
let s:l = 76 - ((19 * winheight(0) + 29) / 59) let s:l = 1 - ((0 * winheight(0) + 29) / 59)
if s:l < 1 | let s:l = 1 | endif if s:l < 1 | let s:l = 1 | endif
exe s:l exe s:l
normal! zt normal! zt
76 1
normal! 021l
wincmd w
argglobal
edit ~/Projects/FlightDeck/flightdeck/jetpack/default_settings.py
setlocal fdm=manual
setlocal fde=0
setlocal fmr={{{,}}}
setlocal fdi=#
setlocal fdl=0
setlocal fml=1
setlocal fdn=20
setlocal fen
silent! normal! zE
let s:l = 34 - ((27 * winheight(0) + 14) / 29)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
34
normal! 0 normal! 0
wincmd w
argglobal
edit ~/Projects/FlightDeck/flightdeck/jetpack/models.py
setlocal fdm=manual
setlocal fde=0
setlocal fmr={{{,}}}
setlocal fdi=#
setlocal fdl=0
setlocal fml=1
setlocal fdn=20
setlocal fen
silent! normal! zE
let s:l = 426 - ((23 * winheight(0) + 14) / 29)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
426
normal! 0
wincmd w
wincmd =
if exists('s:wipebuf') if exists('s:wipebuf')
silent exe 'bwipe ' . s:wipebuf silent exe 'bwipe ' . s:wipebuf
endif endif