<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Andrew,<br>
<br>
The juju-metadata command generates simplestreams files to be used in private clouds for example. Both:<br>
<br>
juju-metadata generate-tools<br>
and<br>
juju-metadata generate-image<br>
<br>
will output files containing ":".<br>
<br>
We also care during testing, when the tests use local storage to save the metadata files. A quick snippet of a failing test bellow:<br>
<br>
simplestreams_test.go:372:<br>
s.assertWriteMetadata(c, false)<br>
testing/testing.go:108:<br>
c.Assert(err, gc.IsNil)<br>
... value *os.LinkError = &os.LinkError{Op:"replace", Old:"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\1\\gocheck-89438594918<br>
3117216\\0\\.tmp\\juju-filestorage-736520790", New:"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\1\\gocheck-894385949183117216<br>
\\0\\tools\\streams\\v1\\com.ubuntu.juju:released:tools.json", Err:0x7b} ("replace C:\\Users\\ADMINI~1\\AppData\\Local\\Temp<br>
\\1\\gocheck-894385949183117216\\0\\.tmp\\juju-filestorage-736520790 C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\1\\gocheck-8<br>
94385949183117216\\0\\tools\\streams\\v1\\<b>com.ubuntu.juju:released:tools.json</b>:
<b>The filename, directory name, or volume label</b><b> syntax is incorrect.</b>")<br>
<br>
<br>
Regards,<br>
Gabriel<br>
<br>
On 22.08.2014 04:54, Andrew Wilkins wrote:<br>
</div>
<blockquote cite="mid:CANMT5Rm1AU1mD1Bw_SSf6zh71QcpVdGz6pX8c1sv-60Sd6Pb5A@mail.gmail.com" type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Aug 22, 2014 at 4:37 AM, Nate Finch <span dir="ltr">
<<a moz-do-not-send="true" href="mailto:nate.finch@canonical.com" target="_blank">nate.finch@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Simplestreams generates files with names like this:
<div><br>
</div>
<div><a moz-do-not-send="true" href="http://maas.ubuntu.com/images/ephemeral-v2/daily/streams/v1/com.ubuntu.maas:daily:v2:download.sjson" target="_blank">http://maas.ubuntu.com/images/ephemeral-v2/daily/streams/v1/com.ubuntu.maas:daily:v2:download.sjson</a><br>
</div>
<div><br>
</div>
<div>Unfortunately, the colons in the filename are illegal on Windows, which complicates getting tests running on Juju, and getting a fully-functional juju on Windows.</div>
</div>
</blockquote>
<div><br>
</div>
<div>Dumb question: when/where do we care? A URL is not a filesystem path, and we don't store simplestreams metadata on disk other than in provider storage as far as I'm aware. Provider storage is only on-disk for manual/local bootstrap nodes (for now).</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>I brought this up with Scott Moser, and it sounds like it might not be the end of the world to change the delimiter that is used to be something Windows-friendly. </div>
<div><br>
</div>
<div>I wanted to bring this up on juju-dev in case there are juju-specific concerns about the proposed change to the filenames. </div>
<div><br>
</div>
<div>I'm new to simplestreams, so I'm sure there are nuances I don't understand, which is why I'm posting it here.</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>-Nate</div>
<div><br>
</div>
<div><br>
</div>
</font></span></div>
<br>
--<br>
Juju-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a moz-do-not-send="true" href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">
https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
</blockquote>
<br>
</body>
</html>