]> git.donarmstrong.com Git - neurodebian.git/blob - debian/TODO
ENH: added an explicit question (and even a warning note) to debconf of neurodebian...
[neurodebian.git] / debian / TODO
1 * make ARCHS argument for cmdsettings.sh to be used by the tools so we could build on sparcs etc
2 * add ipython-notebook/qtconsole (and probably ipython1x over ipython01x for >= wheezy) to welcomewizard
3
4   would need to assure that mvpa2-tutorial is aware of ipython1x first
5   then... not now
6 * make all nd_* scripts usable out of the box on non-x86 boxes
7 * TODO testing of neurodebian "installer" packages
8 ** notes from manual attempts in a docker:
9
10 *** just dpkg -i way
11 rm neurodebian-*deb; apt-get update -y; apt-get install -y netselect python-minimal wget; wget http://www.onerussian.com/tmp/neurodebian-{repository,keyring}_0.33~a1_all.deb; DEBIAN_FRONTEND=noninteractive dpkg -i neurodebian-{keyring,repository}_0.33~a1_all.deb
12
13 *** via apt
14
15 #/bin/bash
16 set -ex
17
18 # minimal installation with few of those packages
19 apt_file=/etc/apt/sources.list.d/local.list
20
21 # clean up from a previous test
22 dpkg --purge neurodebian neurodebian-keyring || :
23 echo PURGE | debconf-communicate neurodebian || :
24 rm -rf /tmp/apt $apt_file;
25
26 mkdir -p /tmp/apt; cd /tmp/apt;
27 rm -f neurodebian-*deb; apt-get update -y; apt-get install -y wget;
28 wget http://www.onerussian.com/tmp/neurodebian_0.33~a1_all.deb;
29 wget http://www.onerussian.com/tmp/neurodebian-keyring_0.33~a1_all.deb;
30
31 # generate APT repo
32 apt-get install -y dpkg-dev ;  dpkg-scanpackages  . /dev/null > Packages
33 # Add it to the list of available
34 echo "deb file:///tmp/apt ./" >| $apt_file; apt-get update
35 # Install the beast
36 apt-get install -y --allow-unauthenticated neurodebian
37
38 # Verify that it has correct entries
39 release=$(grep -v '^[\s#]*$' /etc/apt/sources.list | head -1 | awk '{print $3;}')
40 grep -E "^deb\s+http.* $release main\s*\$" /etc/apt/sources.list.d/neurodebian.sources.list
41 grep -E '^deb\s+http.* data main\s*$' /etc/apt/sources.list.d/neurodebian.sources.list
42 # May be even retrospect stored debconf configuration
43 apt-get install debconf-utils
44 debconf-get-selections | grep neurodebian/release.*select.*auto
45 # And apt-get must be working
46 apt-get update
47 # Make sure it is active
48 apt-cache policy | grep o=NeuroDebian,.*,n=data
49 apt-cache policy | grep o=NeuroDebian,.*,n=$release
50
51 echo "I: success"
52
53 *** ~/bin/docker-debians-run /bin/bash -c "apt-get -y update >/dev/null; apt-get install -y wget >/dev/null; bash <(wget -q --no-check-certificate -O- https://raw.githubusercontent.com/yarikoptic/neurodebian/enh/neurodebian-installer/tools/nd-configurerepo) --overwrite --install --mirror=us-nh"