Module name:    pkg_install
Committed by:   jsonn
Date:           Fri Oct  6 20:51:44 UTC 2006

Modified Files:
        pkg_install/include/pkg: pkg.h
        pkg_install/lib: pkg.c pkg.h pkg_db.c pkg_deyaml.c pkg_tarup.c
            plist.c
        pkg_install/src/pkg_add: pkg_add.c
        pkg_install/src/pkg_create: Makefile pkg_create.c
        pkg_install/src/pkg_delete: pkg_delete.c
        pkg_install/src/pkg_hash: pkg_hash.c
        pkg_install/src/pkg_parse: pkg_parse.c

Log Message:
Further instrument error handling. Add a separate hook for critical
errors (e.g. those we want to recover from, but which make further
processing futile). Add two functions to raise errors before the
actual struct pkg was created / populated. Add all the hooks
for pkg validation. In pkg_create, validate only once using the full
rules, since they are a superset of the basic checks.
Alter the pkg_create test slightly to include dependencies.


To generate a diff of this commit:
cvs -z3 rdiff -u -r1.12 -r1.13 pkg_install/src/pkg_parse/pkg_parse.c
cvs -z3 rdiff -u -r1.13 -r1.14 pkg_install/lib/pkg.c
cvs -z3 rdiff -u -r1.14 -r1.15 pkg_install/include/pkg/pkg.h \
    pkg_install/lib/pkg_deyaml.c
cvs -z3 rdiff -u -r1.2 -r1.3 pkg_install/src/pkg_delete/pkg_delete.c
cvs -z3 rdiff -u -r1.4 -r1.5 pkg_install/src/pkg_create/Makefile \
    pkg_install/src/pkg_create/pkg_create.c
cvs -z3 rdiff -u -r1.5 -r1.6 pkg_install/lib/pkg_tarup.c
cvs -z3 rdiff -u -r1.6 -r1.7 pkg_install/lib/pkg_db.c \
    pkg_install/src/pkg_add/pkg_add.c
cvs -z3 rdiff -u -r1.8 -r1.9 pkg_install/lib/pkg.h
cvs -z3 rdiff -u -r1.9 -r1.10 pkg_install/lib/plist.c \
    pkg_install/src/pkg_hash/pkg_hash.c

To view a diff of this commit:
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/src/pkg_parse/pkg_parse.c?r1=1.12&r2=1.13
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/lib/pkg.c?r1=1.13&r2=1.14
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/include/pkg/pkg.h?r1=1.14&r2=1.15
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/lib/pkg_deyaml.c?r1=1.14&r2=1.15
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/src/pkg_delete/pkg_delete.c?r1=1.2&r2=1.3
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/src/pkg_create/Makefile?r1=1.4&r2=1.5
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/src/pkg_create/pkg_create.c?r1=1.4&r2=1.5
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/lib/pkg_tarup.c?r1=1.5&r2=1.6
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/lib/pkg_db.c?r1=1.6&r2=1.7
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/src/pkg_add/pkg_add.c?r1=1.6&r2=1.7
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/lib/pkg.h?r1=1.8&r2=1.9
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/lib/plist.c?r1=1.9&r2=1.10
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/pkg_install/src/pkg_hash/pkg_hash.c?r1=1.9&r2=1.10

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NetBSD-SoC-cvs mailing list
NetBSD-SoC-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netbsd-soc-cvs

Reply via email to