jmr wrote:
Hi,
This webrev solves a few issues with the Update All Completed dialog. It
makes the release notes link clickable and it auto generates the url
using the release number in the /etc/release file. I have tried to make
sure this reuses only strings that are already being translated.
http://cr.opensolaris.org/~jmr/um_6358_release_notes_url_only_01April_630pm/
6358 Release Notes message after Update All needs to be updated
7353 Release notes URL should be clickable
Takeshi can you make sure this webrev would have no l10n impact.
A few things:
gui/modules/misc.py:
The danger I see with this is that /etc/release isn't meant to be parsed
(not an interface). So this code is fairly fragile in that regard.
However, I don't know of another option for the moment...
line 91: EnvironmentError might be better than IOError.
line 92: file_obj might not be defined if the open failed
Long-term, we might want to put this into the 'entire' package and set a
info.marketing_release or some such attribute.
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss