Brad Hall wrote:
> Hi,
>
> Link to webrev: http://cr.opensolaris.org/~bhall/bug-3588/
> Link to bug: http://defect.opensolaris.org/bz/show_bug.cgi?id=3588
>
> The changes include:
>
> - A warning to the user if they are attempting to create an image where one
> already exists
> - A force flag (-f) to allow them to really do that if they want to
> - A test case for this bug
client.py:
line 563: added whitespace?
line 1909: wording suggestion: "If this operation should be performed
anyway, use the -f (force) option." -- or put a comma after "this" in
your current message.
Also, I'd like to see this logic put into set_attrs instead of
client.py and a force parameter added to set_attrs instead...
pkg.1.txt:
line 94ff: The wording you have is inconsistent with the pattern we
have for other options. I suggest something like: "With -f, force the
creation of an image over an existing image. This option should be used
with care."
t_image_create.py:
I would add a test to ensure that force works.
testutils.py:
Do we really want to always force the creation of an image? I take
it we were creating new images over old images before and it was
allowing this?
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss