GNOME Bugzilla – Bug 740813
[review] don't require UUID when adding connection [th/add-connection-uuid-bgo740813]
Last modified: 2014-12-05 10:06:00 UTC
Up to now, DBUS API to add a connection would require the client to specify the connection UUID. We can relax that requirement and generate one if it is missing. Also I think it is wrong that the client is allowed to predetermine that UUID because he can provoke a collision. It would be better to always generate a new UUID when adding a connection. Is there a way to change that for 1.0?
branch: th/add-connection-uuid-bgo740813
Makes sense to me, though I don't think you should land this one until we agree on bug 740865.
> core: allow add connection without UUID set "ourselfes" -> "ourselves" in the commit message. Yay English. But most of this will go away if we normalize the UUID as part of bug 740865 right?
(In reply to comment #3) > > core: allow add connection without UUID set > > "ourselfes" -> "ourselves" in the commit message. Yay English. > > But most of this will go away if we normalize the UUID as part of bug 740865 > right? Right. If normalize() could add the UUID itself (bug 740865), the first patch would be obsolete. The second patch would become important.
Now that 740865 normalizes the connection, the patch became very simply. Repushed.
LGTM now
merged as http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=cd025f05f7b0a2970ead8db3f093b9da4c324c8b