diff options
Diffstat (limited to 'Master/tlpkg/doc/TODO')
-rw-r--r-- | Master/tlpkg/doc/TODO | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/Master/tlpkg/doc/TODO b/Master/tlpkg/doc/TODO new file mode 100644 index 00000000000..e735fa15a31 --- /dev/null +++ b/Master/tlpkg/doc/TODO @@ -0,0 +1,137 @@ +TODO for new-infra +================== +PRE SWITCH +---------- +- list files (TLPDB->generate_lists) + how is the size generated??? + for normal packages: just the sum of docsize/srcsize/runsize + for packages with binaries: sum of the above + the maximum of the + sizes of the binaries{$arch}??? + for collections: the sum of the sizes of the included packages + plus the size of itself (in case single files are added)?? + for schemes: ????????????????????????? no idea: I summed up the + size of all the collections, but it seems to be wrong! +- list files II + we should somehow check for equivalence of the two sets of files + a simple grep -v emptylines | sort |uniq ... diff should do it +- rewrite the place script + +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 |