scritps: handle local trees

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
Corentin Chary 2011-04-27 10:14:09 +02:00
parent 0aba96f66f
commit 244e7d64fd

View File

@ -1,8 +1,17 @@
#!/bin/sh #!/bin/sh
## Setup some vars to use local portage tree
# export PATH=${HOME}/euscan/:${PATH}
# export PORTAGE_CONFIGROOT=${HOME}/local
# export ROOT=${HOME}/local
# export EIX_CACHEFILE=${HOME}/local/var/cache/eix
## Go to euscanwww dir
# cd ${HOME}/euscan/euscanwww/
## Update local trees ## Update local trees
# emerge --sync # emerge --sync --root=${ROOT} --config-root=${PORTAGE_CONFIGROOT}
# layman -S # ROOT="/" layman -S --config=${ROOT}/etc/layman/layman.cfg
## Also update eix database, because we use eix internaly ## Also update eix database, because we use eix internaly
# eix-update # eix-update
@ -15,4 +24,4 @@
## Scan uptsream packages ## Scan uptsream packages
# python manage.py scan-upstream --all # python manage.py scan-upstream --all
# python manage.py list-packages | gparallel --jobs 150% euscan | python manage.py scan-upstream --feed # eix --only-names -x | gparallel --jobs 400% euscan | python manage.py scan-upstream --feed