

======================== T O - B E - F I X E D ==========================

* installing by filename
  - do not install the package if it is already installed;
  - before installing the package you should also erase any *.post-remove
    script otherwise mess will happen;
  - move_dir in libbadpenguin is unstanble;
  - uncomment setup_finalize when it will be ready;
  - when removing a conflict (parse-conflict.c) it do not checks for the
    code returned by the syscall to "setup --remove";
  - when spawning a new process make sure to propagate the same verbose 
    level as the father;
  - setup_script(), does not halt upon SOME errors;
  
* removing/purginge
  - after removing a package you should also erase any *.post-install
    script and *.x-post-install script before to make it otherwise mess
    will happen :-) ;

* upgrade
  - support for FTP (remember to cache the INDEX file);
  - support for HTTP (remember to cache the INDEX file);
  - support for package-rebuild;

* request
  - when looking up a package into a depot we also have to test for
    the reqMin and reqMax value if them are not NULL;

* restore
  - to be tested

* update
  - to be tested
  
# post-install (not written yet)
  - execute the post-remove before the post-install (!) :-)



========================= T O - B E - D O N E ===========================

10. controllo pacchetto
   - the filename (without .bpp) or the package name should be already 
     installed ;
   ...
   ...    

11. md5 check
   - the filename (without .bpp) or the package name should be already 
     installed ;
   ...
   ...    

12. --post-install
    * run any post-install
    * run any post-remove
    
13. --x-post-install
    * run any x-post-install
    
14. --finalize

15. --list

16. --info     package-name[_x.y.z][.tgz]

1. parsing options
        --test     package-name[_x.y.z][.tgz]
 (dummy installation)
        --check    package-name[_x.y.z][.tgz]
        --deps-check (checking all the dipendencies)
        --md5check package-name[_x.y.z][.tgz]
        --post-install
        --x-post-install
        --finalize
        --list
        --info     package-name[_x.y.z][.tgz]
        --no-remote (do not take package from i*net)
	--ignore-space (ignore the check for the free space)
	--ignore-conflicts (ignora pacchetti in conflitto)
        --require-deps (force the installation of deps)
	--delay-deps (schedule the deps for an installation by --finalize)
        --ignore-deps (ignore deps)
        --igore-register (do not register the package into the DB)
        --ignore-untar (do not extract the package with untar)
EOF
