Jan Engelhardt (jengelh@inai.de) wrote:
On Tuesday 2013-09-10 21:39, Adam Spiers wrote:
But version number will be shown to all instead of just us...to most of the people (including me unluckily), hashes is just a random string at the very first glance.
Why is that a problem, and where? You mentioned before that it is shown in UIs, but the UI could easily hide the hash if it wanted to.
There is no way for an UI to reliably tell whether a given part of %version is a hash or not as long as %version is a plaintext non-markup string.
Well, that's a good argument for standardising, isn't it? But it's still easily possible to reduce a non-parseable %version-%release string to something less scary looking: $ sed 's/\([0-9]\+\(\.[0-9]\+\)*\).*/\1/' 1.6+git.1377888079.761bc8b-0.63.4 1.6 0.17.3~g29a8b0f-1.2 0.17.3 2.0.1.4svn475-7.4 2.0.1.4 Although personally I think that's a bad idea. As I already said, IMHO a UI should either expose the whole %name-%version-%release, or just %name. Anything in between is misleading. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org