summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TODO
blob: 4629a5a1354e78fa90f377f2b0034b7ce8d7eaaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
TODO for new-infra
==================
- Catalogue is UTF8 encoded, what do we put into texlive.tlpdb? If we
  enrich the texlive.tlpdb with stuff from the Catalogue we should
  settle ont this.



PRE SWITCH (which we already have done ...)
-------------------------------------------
- list files
	we should somehow check for equivalence of the two sets of files
	a simple grep -v emptylines | sort |uniq ... diff should do it

POST SWITCH
-----------
- update.pl: implement more of the 'updater'
- Shell librarys
	. test the tlp_ and the tldb_tlp_ functions
	. missing functionality?
	. rewrite the long read/case with awk/grep/whatever there is
- rewrite install-* scripts to use the shell library
	(or rewrite it in perl?)

install scripts
===============
collection of usage of list files etc in the install scripts
- get list of schemes by ls *.scheme
- get title/size from the schemes
- list all lang collections by ls collection-lang*
- list all other collections by ls collection-* | grep -v collection-lang




$ grep LISTS *
common.sh:  for i in `grep "^-collection-" $LISTS/$S.scheme | sed -e 's/^-//' -e 's/-/_/g'`

	tlp_get_depends $S.tlp | grep collection- | ...

common.sh:  selected_packages=`grep "^[+\-]" $LISTS/$S.scheme | grep -v collection- | sed -e 's/^.//' -e 's/-/_/'`

	tlp_get_depends $S.tlp | grep -v collection- | ...

common.sh:  selected_collections=`grep "^-collection-" $LISTS/$S.scheme | sed -e 's/^-collection-//'`

	tlp_get_depends $S.tlp | grep "^collection-" ...

common.sh:    morecols=`grep -- "^-" $LISTS/$col | sed 's/.//'`

	tlp_get_depends $col.tlp | grep ...

common.sh:    packages=`grep "^+"    $LISTS/$col | sed 's/.//'`

	tlp_get_depends $col.tlp | grep Package/ 

common.sh:    eval sort < $LISTS/$col | grep '^\!' | tr ' ' '=' >> $work_dir/$col.jobs

	tlp_get_executes | tr ...

common.sh:  eval sort < $LISTS/$pack | grep '^\!' | tr ' ' '=' >> $work_dir/$col.jobs

	tlp_get_executes | tr ...

common.sh:  more=`grep "^+" $LISTS/$pack | sed 's/.//'`

	tlp_get_depends ...

install-compr.sh:  LISTS=$CDDIR/texmf/lists
install-compr.sh:  all_schemes=`(cd $LISTS && ls *.scheme | sed 's/\.scheme//' | sed 's/-/_/' | sort )`

	
install-compr.sh:    T=`grep '^\*Title' $LISTS/$S.scheme | sed -e 's/\*Title: //'`

	tldb_tlp_get_title $tldb $S

install-compr.sh:    C=`grep '^\*Size'  $LISTS/$S.scheme | sed -e 's/\*Size: //'`

	tldb_tlp_get_size $tldb $S needs hacking, since sizes are currently
				not computed for the whole package, but for
				the single types of files

install-compr.sh:  all_lang_collections=`(cd $LISTS && ls collection-lang* | sed 's/-/_/g' | sort )`
install-compr.sh:    T=`grep '^\*Title' $LISTS/$S | sed -e 's/\*Title: //'`
install-compr.sh:    C=`grep '^\*Size'  $LISTS/$S | sed -e 's/\*Size: //'`
install-compr.sh:  all_collections=`(cd $LISTS; ls collection-* | grep -v collection-lang |  sed 's/-/_/g' | sort )`
install-compr.sh:    T=`grep '^\*Title' $LISTS/$S | sed -e 's/\*Title: //'`
install-compr.sh:    C=`grep '^\*Size'  $LISTS/$S | sed -e 's/\*Size: //'`
install-live.sh:  LISTS=${OVERRIDE_LISTS-$CDDIR/texmf/lists}
install-live.sh:  BIN=${OVERRIDE_LISTS-$CDDIR/bin}
install-live.sh:  test -d $LISTS || fatal "$0: $LISTS: no such directory. Are you sure this is the TeX Live CD?"
install-live.sh:  systems=`(cd $LISTS; ls bin-tex.* | sed  -e 's/bin-tex.//')`
install-live.sh:  all_schemes=`(cd $LISTS; ls *.scheme | sed -e 's/-/_/g' -e 's/\.scheme//' | sort )`
install-live.sh:    T=`grep '^\*Title' $LISTS/$S.scheme | sed -e 's/\*Title: //'`
install-live.sh:    C=`grep '^\*Size'  $LISTS/$S.scheme | sed -e 's/\*Size: //'`
install-live.sh:  all_lang_collections=`(cd $LISTS; ls collection-lang* | sed 's/-/_/g' | sort )`
install-live.sh:    T=`grep '^\*Title' $LISTS/$S | sed -e 's/\*Title: //'`
install-live.sh:    C=`grep '^\*Size'  $LISTS/$S | sed -e 's/\*Size: //'`
install-live.sh:  all_collections=`(cd $LISTS; ls collection* | grep -v collection-lang |  sed 's/-/_/g' | sort )`
install-live.sh:    T=`grep '^\*Title' $LISTS/$S | sed -e 's/\*Title: //'`
install-live.sh:    C=`grep '^\*Size'  $LISTS/$S | sed -e 's/\*Size: //'`
install-live.sh:    grep "^[A-Za-z0-9]" $LISTS/$I.$arg >>  $work_dir/$arg.list
install-live.sh:    grep "^[A-Za-z0-9]" $LISTS/$I.$arg >>  $work_dir/$arg.list
install-live.sh:  if test -f $LISTS/$col; then
install-live.sh:    packages=`grep "^+" $LISTS/$col | sed 's/.//'`
install-live.sh:    morecols=`grep "^-" $LISTS/$col | sed 's/.//'`
install-live.sh:    grep "^[a-z]" $LISTS/$col >> $work_dir/tmp
install-live.sh:    grep '^\!' $LISTS/$col >> $work_dir/tmp.jobs
install-live.sh:      if test -f $LISTS/$col.$this; then
install-live.sh:        grep "^[\!a-z]" $LISTS/$col.$this >> $work_dir/tmp
install-live.sh:  test -s $LISTS/$pack || return
install-live.sh:      grep "^[A-Za-z0-9]" $LISTS/$pack >> $work_dir/ptmp
install-live.sh:      grep '^\!' $LISTS/$pack >> $work_dir/ptmp.jobs
install-live.sh:        if test -f $LISTS/$pack.$this; then
install-live.sh:         grep "^[A-Za-z0-9]" $LISTS/$pack.$this >> $work_dir/ptmp
install-live.sh:  for i in `grep "^+" $LISTS/$pack | sed 's/.//'`
install-pkg-compr.sh:      morecols=`grep "^-" $LISTS/$name | sed 's/.//'`
install-pkg-compr.sh:      packages=`grep "^+" $LISTS/$name | sed 's/.//'`
install-pkg-compr.sh:      grep "^[a-z]" $LISTS/$name >> tmp
install-pkg-compr.sh:      if test -f $LISTS/$binlist; then
install-pkg-compr.sh:        grep "^[a-z]" $LISTS/$binlist >> tmp
install-pkg-compr.sh:LISTS=${listdir-${OVERRIDE_LISTS-$CDDIR/texmf/lists}}
install-pkg-compr.sh:  colfile=$LISTS/collection-$col
install-pkg-compr.sh:  pkgfile=$LISTS/$pkg
install-pkg-live.sh:      list_files $LISTS/$i
install-pkg-live.sh:      if test -f $LISTS/$binlist; then
install-pkg-live.sh:        grep "^[a-z]" $LISTS/$binlist >> tmp
install-pkg-live.sh:LISTS=${listdir-${OVERRIDE_LISTS-$CDDIR/texmf/lists}}
install-pkg-live.sh:test -d $LISTS || fatal "$0: $LISTS: no such directory. Are you sure this is the TeX Live CD?"
install-pkg-live.sh:  colfile=$LISTS/collection-$col
install-pkg-live.sh:    list_files $LISTS/collection-$col
install-pkg-live.sh:  pkgfile=$LISTS/$pkg
install-pkg-live.sh:    list_files $LISTS/$pkg