[Spice-devel] [PATCH spice-server] README: Update required protocol version

Christophe de Dinechin cdupontd at redhat.com
Thu Jul 27 14:28:59 UTC 2017


> On 27 Jul 2017, at 16:04, Christophe Fergeau <cfergeau at redhat.com> wrote:
> 
> On Thu, Jul 27, 2017 at 03:29:11PM +0200, Christophe de Dinechin wrote:
>> 
>>> On 27 Jul 2017, at 15:25, Frediano Ziglio <fziglio at redhat.com> wrote:
>>> 
>>> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
>>> ---
>>> README | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>> 
>>> diff --git a/README b/README
>>> index 45fbe89c..0fd6f071 100644
>>> --- a/README
>>> +++ b/README
>>> @@ -27,7 +27,7 @@ Or to install into a private user specific location
>>> The following mandatory dependencies are required in order to
>>> build SPICE
>>> 
>>> -    Spice protocol >= 0.9.0
>>> +    Spice protocol >= 0.12.13
>> 
>> What is the rationale for spice-protocol not being a submodule?
> 
> It's used by multiple modules (spice-server, spice-gtk, the agent, the
> QX driver, ..) and has a stable API.

And how does any of that not make it not a submodule?

- Used by multiple modules: yes, that’s precisely what submodules are for (that’s also the case for spice-common).
- Has a stable API: yes, but when we need to change it, it would be nice to have that the change recorded in git history of the modules using it.

For example, a lot of the streaming work requires a branched-off spice-protocol.

I was also wondering about protocol updates being easier to do in a consistent way if spice-protocol was “above” spice-serverr and spice-gtk. Which could be solved by having a submodule structure like:

	spice
		spice-protocol
		spice-common
		spice-server
		spice-gtk

instead of the current:

	(nothing)
		spice-protocol
		spice (not called spice-server)
			spice-common
		spice-gtk
			spice-common

Christophe

> 
> Christophe
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org <mailto:Spice-devel at lists.freedesktop.org>
> https://lists.freedesktop.org/mailman/listinfo/spice-devel <https://lists.freedesktop.org/mailman/listinfo/spice-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170727/21ca0f0f/attachment.html>


More information about the Spice-devel mailing list