On 07/26/11 09:57 AM, Danek Duvall wrote:
I've revamped my wad to introduce a human-readable version for components
like openssl or samba which like to use versions that aren't strictly
sequences of integers.

     
https://cr.opensolaris.org/action/browse/pkg/dduvall/human-version/human-version/

I'm not thrilled with the complexity of the attributes dictionary, but
until we have more serious users of this data, I think this will be good
enough, unless someone has a better idea of how to present this.



Is there a test case for pkg list of a package w/ the new
attribute?

In client.py, if you're going to support localization of

3042 + msg(_(" Version:"), _("%s (%s)") % (pi.version,
     3043 +                            hum_ver))

then you should use position independent accesses for the variables, no?

Fine w/ me to just drop the _() around %ss (%s).

- Bart

--
Bart Smaalders                  Solaris Kernel Performance
[email protected]       http://blogs.sun.com/barts
"You will contribute more with Mercurial than with Thunderbird."
"Civilization advances by extending the number of important
 operations which we can perform without thinking about them."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to