<div dir="ltr">Hi Dustin,<div><br><div>It's really not up to snapd to enforce that. The version field has basic reasonable constraints about what chars may be used and max length, but is otherwise free form.</div><div><br></div><div>The question here was just whether we shorten the value for presentation when it becomes too long, and in that case we're getting to the conclusion that snapd may have an opinion because it will hurt everybody else to display excessively long values there.</div><div><br></div><div>That said, the full version value will still be available via "snap show" or similar.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 7:54 PM, Dustin Kirkland <span dir="ltr"><<a href="mailto:kirkland@canonical.com" target="_blank">kirkland@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">We should really be standardizing around (at least recommending) Semantic Versioning. See: <a href="http://semver.org" target="_blank">semver.org</a></p>
<div class="gmail_quote"><div><div>On May 25, 2016 5:30 PM, "Seth Arnold" <<a href="mailto:seth.arnold@canonical.com" target="_blank">seth.arnold@canonical.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Wed, May 25, 2016 at 10:59:26AM -0300, Gustavo Niemeyer wrote:<br>
> Looking at my 16.04 installation for more relevant data, the max length for<br>
> versions is 52, but the average is 12 and the median is 7. The output of<br>
> unfiltered dpkg -l starts the summary at column 129, despite displaying<br>
> only the name, version, arch, and summary.<br>
><br>
> I don't think we can win if the goal is having meaningful output for<br>
> everything under 80 columns.<br>
<br>
Is there anything we can do to encourage version numbers to be tolerably<br>
short? It's a new world after all and we can suggest best practices.<br>
<br>
Thanks<br>
<br></div></div><span>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.ubuntu.com" target="_blank">Snapcraft@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br>
<br></span></blockquote></div>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.ubuntu.com" target="_blank">Snapcraft@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div>