canonical / lxd

Powerful system container and virtual machine manager
https://canonical.com/lxd
GNU Affero General Public License v3.0
4.39k stars 932 forks source link

Implement native simplestream client #1462

Closed stgraber closed 8 years ago

stgraber commented 8 years ago

This includes a few pieces of work:

techtonik commented 8 years ago

simplestream is some kind of video streaming service. Is there a link to speccy of the simplestream that is referenced in this issue?

stgraber commented 8 years ago

https://launchpad.net/simplestreams

techtonik commented 8 years ago

Doesn't look like a good doc.

stgraber commented 8 years ago

I can certainly agree with that statement.

techtonik commented 8 years ago

@stgraber at least what problem it tries to solve? and why there is nothing that can be used already?

stgraber commented 8 years ago

Simplestreams is what's used by lxd-images to fetch the Ubuntu images, we want to kill the external script and have support for the protocol in LXD itself.

techtonik commented 8 years ago

So it is only for steaming release images?

stgraber commented 8 years ago

It's basically a repository of Ubuntu images, at least for the simplestreams server we want to support.

It's got a bunch of index files that list all of the images available for all the Ubuntu releases, architectures and a bunch of tags so we can pull exactly what we want.

techtonik commented 8 years ago

How about renaming that simplestream project? If I understand it right, I can't watch movies with it from the middle of the stream distributed over cloud like I do with bittorent. It is not a stream and it is not simple (without docs for sure).

For a simplestream project I'd expect a streaming data format similar to JSON or YAML that I can query or start working with right from the middle. Like for streaming graph data when new nodes suddenly occur. But for index of repository images, which is not updated live (or is it?) - that is a strange name.

techtonik commented 8 years ago

The channel is a more appropriate name for that stuff than stream. If this index is updated live, I would call it liveimageidx.

stgraber commented 8 years ago

Done