Thu, 24 Jan 2008 15:08:21 +0800
Merge with default
1.1 --- a/libs/todo.txt Thu Jan 24 15:05:45 2008 +0800 1.2 +++ b/libs/todo.txt Thu Jan 24 15:08:21 2008 +0800 1.3 @@ -1,3 +1,66 @@ 1.4 +<<<<<<< /var/www/annex/unistall.hg/libs/todo.txt.orig. 1.5 +Things that need to be completed 1.6 +================================ 1.7 + 1.8 +This installer was written for GNUPanel, however I hope to keep it useful for 1.9 +any program that needs a 'smart' distro agnostic installer. This goal makes 1.10 +writing things a little interesting since this becomes two tasks at once. 1.11 + 1.12 +The following stuff needs to be done, broken down into two categories. One 1.13 +is GNUPanel specific, the other is program specific. GNUPanel specific things 1.14 +will not be part of this program once it is distributed stand-alone. 1.15 + 1.16 +GNUPanel Specific Tasks 1.17 +----------------------- 1.18 + 1.19 + * Translate meta package names from Debian to RHEL/CentOS/Fedora 1.20 + * Re-write install scripts (once new code base is done) (tasks.in) 1.21 + 1.22 +Unistaller Specific Tasks 1.23 +-------------------------- 1.24 + 1.25 + * Create functions to wrap cp, install that also write the opposite 1.26 + action to an uninstall file. 1.27 + 1.28 + * Add dialog hooks to show progress and gather input from the user if 1.29 + they specified dialog as being OK to use 1.30 + 1.31 + * Re-do the short options in 'setup' (in getopt), they're a little 1.32 + hap hazard. -s -A -r -I -P -l is rather confusing. 1.33 + 1.34 + * Make a print_err that prints stuff to stderr, use it where appropriate. 1.35 + 1.36 + * Let a SRCTREE be defined in setup.in, create a function to recursively 1.37 + scan for top level 'configure' programs so that install.sh invokes them 1.38 + with user preferences (--prefix, etc) and calls typical make functions. 1.39 + 1.40 + * Lines should end at 80 columns, all functions need a little clean up in 1.41 + that regard. 1.42 + 1.43 + * Clean up variable consistency. ${variables} should only be braced when 1.44 + concantenated with other strings, i.e. 1.45 + "a b c d e" 1.46 + ... or 1.47 + /path/to/${VARIABLE}/inc${VARIABLE1}/${VARIABLE3} 1.48 + ... or the above, in quotes. 1.49 + 1.50 + * (eventually) get rid of getopt in 'setup' since some shells do not shift 1.51 + at all. Low priority since most will shift at least two places in a loop 1.52 + after eval/set has been invoked. The only place 'shift' is invoked is 1.53 + during argv[] processing in setup. 1.54 + 1.55 + * (fully) test shell capabilities, such as unset, full variable scope (ro/rw) 1.56 + and set globals to indicate if they work, i.e. SHELL_HAS_UNSET, SHELL_HAS_TRUE, 1.57 + SHELL_HAS_FALSE, SHELL_HAS_SHIFT. These are useful in tasks.in so that 1.58 + maintainers can deposit cleaner versions of things that use these built ins 1.59 + if they exist, or deposit clunky work arounds if they don't. Low priority. 1.60 + 1.61 + * reduce length of comments since # .... > 1024 bytes breaks buffers in some 1.62 + older brain-dead shells. 1.63 + 1.64 + * A lot of things can be done neater and still remain portable, on-going task. 1.65 +||||||| /tmp/todo.txt~base.zO6KdU 1.66 +======= 1.67 Things that need to be completed 1.68 ================================ 1.69 1.70 @@ -43,3 +106,4 @@ 1.71 during argv[] processing in setup. 1.72 1.73 * A lot of things can be done neater and still remain portable, on-going task. 1.74 +>>>>>>> /tmp/todo.txt~other.9ZWyyL