Robert Milkowski wrote:
Shawn Walker wrote:
integrated as opposed to providing other tools to accomplish the same task.

Shawn - after having all that discussion I was thinking, are you proposing actually something like:

cat pseudo_code_pkgnodeps.sh
 pkgrecive $1 | grep -v "^depend " | pkgsend -n $package--nodeps
 pkg install $package--nodeps

More like:

pkgrecv -s <src_repo> -d <dest_repo> --no-deps $1
pkg install pkg://my_publisher/$1

If yes why not to implement it as a feature of pkg?

Because there is a high cost in doing so and it doesn't belong there.
Just as *NIX systems often have separate tools that can be combined to perform jobs in efficient useful ways (think awk, grep, sed, etc.), the pkg(5) commands also are each suited to a different task. pkgrecv / pkgsend are for publication, pkg for managing images, pkg.depotd for serving packages, etc.

Right now it would be a manual process and for any sysadmin not familiar with package building with ips it would be utterly frustrating to do it at 3am because of some production issue needed to be fixed now, but once above would be implemented and hidden from a user then that would be more than fine.

For some reason the 3am arguments remind me of semi-recent USA political campaigns ;)

I believe this particular issue should be solved through a combination of tools and documentation. As many of you have said repeatedly "it's a rare occurrence" ;)

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

Reply via email to