Please review this changeset for a set of Windows related problems:
2747 make per-package progress output work on Windows
5947 File in use not detected during delete of a package on Windows
6020 pkg.depotd fails to deliver incremental catalog updates (Windows
Vista)
6021 incremental catalog update size calculated incorrectly on Windows
6697 Windows rename/remove tests fail due to unwanted catalog refresh
6700 TestCatalog.test_bug_5603 test fails on Windows (stat problem)
webrev: http://cr.opensolaris.org/~tmueller/ips-winfix-1/
Many of these are very simple changes. The one more complicated one is
the introduction of a new exception type, api_errors.FileInUseException
for making the user aware that a file is in use so an operation cannot
be performed. This is defined as a special case of a permissions
exception. In the install path, the except block for the permissions
exception was already there. I added a new block in the uninstall path
and made this specific to the new exception to preserve old behavior.
This could possibly be generalized to catch permissions exception there
too.
For 2747, I chose to keep the name of the progress tracker as
"FancyUNIX" even though it works on Windows now too. That could be
debatable.
Thanks
Tom
begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;SWI Install/Update Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[email protected]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss