Shawn Walker wrote:
Greetings,
The following webrev contains fixes and changes for the following issues:
12130 install/update operations should always refresh publisher
metadata (when allowed)
4419 misleading error message when pkg not found because refresh failed
10976 operations should report when refresh failed if appropriate
Overview
========
Since the catalog v1 work has been putback, the actual check for new
publisher catalog data is relatively cheap now (this was not previously
the case). For example, on my system, it takes ~1s real for the api to
check three publisher repositories for new catalog data. Previously,
this could have taken several seconds.
As a result, and in light of the continuing confusion when packages
don't seem "immediately available" after publication, the added cost
here was deemed a worthy tradeoff in favour of attempting to eliminate
user confusion for install and update operations.
Please note that pkg 'info' 'contents' and 'list' remain unchanged as
performance of these operations has been a consistent concern based on
user feedback.
webrev
======
http://cr.opensolaris.org/~swalker/pkg-12130/
Summary of Changes
==================
* client now performs immediate publisher (catalog) refresh for install,
update, and change variant operations by default if a refresh is allowed
(i.e. --no-refresh was not used)
* client now properly reports refresh failures for implicit refreshes,
except in the case of pkg list if the only failures were permission
exceptions so that unprivileged users can still execute 'pkg list' even
when the catalog data needs refreshing
Does anyone else have any comments on these changes?
If not, I plan to putback tomorrow.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss