The "tag" (which might be better named "internal id") looks like an implementation detail which doesn't seem right to expose. I'd suggest either giving it a proper representation that the user can understand (a sequential action number, for example), or use a hash. I'd also not use a UUID, btw, but rather just a unique hash.<div><br></div><div><br></div><br><div class="gmail_quote">On Fri Oct 24 2014 at 2:55:45 PM John Weldon <<a href="mailto:johnweldon4@gmail.com">johnweldon4@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi;<div><br></div><div>The current <a href="https://docs.google.com/a/canonical.com/document/d/14W1-QqB1pXZxyZW5QzFFoDwxxeQXBUzgj8IUkLId6cc/edit?usp=sharing" target="_blank">actions spec</a> indicates that the actions command line should return a UUID as the identifier for an action once it's been en-queued using 'juju do <action>'.  </div><div><br></div><div>Is there a compelling reason to use UUID's to identify actions, versus using the string representation of the Tag?</div><div><br></div><div><br></div><div>A UUID would require a command something like:</div><div>  <font face="courier new, monospace">juju status action:9e1e5aa0-5b9d-11e4-8ed6-0800200c9a66</font></div><div><br></div><div>which maybe we could shorten to:</div><div>  <font face="courier new, monospace">juju status action:9e1e5aa0</font></div><div><br></div><div><br></div><div><br></div><div>I would prefer something like:</div><div>  <font face="courier new, monospace">juju status action:mysq/0_a_3</font></div><div><br></div><div>which would be the string representation of the actions Tag.</div><div><br></div><div><br></div><div><br></div><div>Is there a compelling reason to use UUID?</div><div><br></div><div>Cheers,</div><div><br clear="all"><div>--<br>John Weldon</div>
</div></div>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/<u></u>mailman/listinfo/juju-dev</a><br>
</blockquote></div>