Hi all,

I'm looking for a review of the fix for bug #2286:

  http://defect.opensolaris.org/bz/show_bug.cgi?id=2286
  src/util/distro-import/Makefile tries to publish "entire" even with -n

Webrev is at:

  http://cr.opensolaris.org/~richb/pkg-2286-v1/

The problem was that the solaris.py script was always checking the
RSS/Atom feed for the repository. This should not be done if the
user had specified "-n" on the command line.

Tested by running the following script, and ensuring that there was
no pkg.depotd server running on port 29047:

#! /bin/ksh

export ROOT=/export/home/richb/pkg/bugs/2286/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
export REPO=http://localhost:29047/
export 
WOS_PKGS=/export/home/pkg-solaris/WOS_Packages/x/94/Solaris_11/Product/
export EXTRA_OPTIONS=-n

(cd src/util/distro-import ;    \
    make -e clobber ;        \
    make -e 94/slim_import
) > errs.import 2>&1 &

Whereas we used to get a traceback before the fix, the end of the
slim_import output now looks like:

    ...
    slim_install add depend require pkg:/[EMAIL PROTECTED]
    slim_install add depend require pkg:/[EMAIL PROTECTED]
    slim_install add set description=slim install cluster
    close
pkg:/[EMAIL PROTECTED]: PUBLISHED

Done: 2008-09-23 09:25:36.407775

Thanks.

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to