Bug 71262

Summary: [1.0] change namespace from im.telepathy1 to im.telepathy.v1
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-specAssignee: Simon McVittie <smcv>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: bugzilla, xclaesse
Version: git masterKeywords: patch
Hardware: Other   
OS: All   
Whiteboard: review?
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 23148, 49737, 50093    
Attachments: [spec next 1/2] Change all namespaces from im.telepathy1 to im.telepathy.v1
[spec next 2/2] Fix one remaining instance of org.freedesktop.Telepathy
[tp-glib next 1/4] TpAccountManager: simplify restart logic now that the AM is activatable
[tp-glib next 2/4] [temporary] Update spec for im.telepathy.v1 namespace
[tp-glib next 3/4] Replace im.telepathy1 with im.telepathy.v1
[tp-glib next 4/4] Replace some remaining uses of org.freedesktop.Telepathy
[MC next 1/2] Fix some leftover references to mc-wait-for-name
[MC next 2/2] Re-namespace from im.telepathy1 to im.telepathy.v1
[haze next 1/1] Use im.telepathy.v1 namespace
[gabble next 1/1] Re-namespace to im.telepathy.v1
[salut next 1/1] Re-namespace to im.telepathy.v1
[idle next 1/2] Re-namespace to im.telepathy.v1
[idle next 1/2] .gitignore: ignore all of build-aux
[mc next 1/2] add one more missing "v1"
[mc next 2/2] Make internal ID of gschema consistent with its filename
[rakia next 1/1] Re-namespace to im.telepathy.v1
[idle next 2/2 v2] Re-namespace to im.telepathy.v1

Description Simon McVittie 2013-11-05 13:01:58 UTC
The 'next' branch uses the namespace im.telepathy1 but we don't actually own that domain name.

Collabora does own im.telepathy on behalf of the Telepathy project. We should use a name in that namespace, like im.telepathy.v1.
Comment 1 Simon McVittie 2013-11-05 16:01:13 UTC
Created attachment 88707 [details] [review]
[spec next 1/2] Change all namespaces from im.telepathy1 to  im.telepathy.v1

We don't own telepathy1.im, but we do own telepathy.im.
Comment 2 Simon McVittie 2013-11-05 16:01:30 UTC
Created attachment 88708 [details] [review]
[spec next 2/2] Fix one remaining instance of org.freedesktop.Telepathy
Comment 3 Simon McVittie 2013-11-05 16:02:05 UTC
Created attachment 88709 [details] [review]
[tp-glib next 1/4] TpAccountManager: simplify restart logic now that the AM  is activatable

This also fixes a bug: the name of the AM for Telepathy1 is
MissionControl6, not MissionControl5.
Comment 4 Simon McVittie 2013-11-05 16:02:45 UTC
Created attachment 88710 [details] [review]
[tp-glib next 2/4] [temporary] Update spec for im.telepathy.v1 namespace

This commit is useful for testing, but when the corresponding telepathy-spec
patch has been merged, it should be replaced by a real telepathy-spec release.
Comment 5 Simon McVittie 2013-11-05 16:04:12 UTC
Created attachment 88711 [details] [review]
[tp-glib next 3/4] Replace im.telepathy1 with im.telepathy.v1

This also fixes a few uses of im.telepathy1 in object paths in Logger code,
which was presumably a misuse of sed.
Comment 6 Simon McVittie 2013-11-05 16:16:11 UTC
Created attachment 88713 [details] [review]
[tp-glib next 4/4] Replace some remaining uses of org.freedesktop.Telepathy
Comment 7 Simon McVittie 2013-11-05 16:17:40 UTC
Created attachment 88714 [details] [review]
[MC next 1/2] Fix some leftover references to mc-wait-for-name
Comment 8 Simon McVittie 2013-11-05 16:18:20 UTC
Created attachment 88715 [details] [review]
[MC next 2/2] Re-namespace from im.telepathy1 to im.telepathy.v1
Comment 9 Simon McVittie 2013-11-05 17:00:15 UTC
Created attachment 88717 [details] [review]
[haze next 1/1] Use im.telepathy.v1 namespace
Comment 10 Simon McVittie 2013-11-05 17:05:40 UTC
Created attachment 88718 [details] [review]
[gabble next 1/1] Re-namespace to im.telepathy.v1
Comment 11 Simon McVittie 2013-11-05 17:42:52 UTC
Created attachment 88724 [details] [review]
[salut next 1/1] Re-namespace to im.telepathy.v1
Comment 12 Simon McVittie 2013-11-05 17:44:30 UTC
telepathy-farstream doesn't appear to need changes.
Comment 13 Simon McVittie 2013-11-05 20:23:03 UTC
Something that Rakia depends on seems to have regressed; it no longer passes tests on my (Debian unstable) laptop, on either the master or next branch.
Comment 14 Simon McVittie 2013-11-07 15:32:49 UTC
Still to do:

* Empathy (might not need changes? hopefully not)
* Folks (might not need changes)
* Idle
* Rakia (if anyone can run its tests, or untested)
Comment 15 Xavier Claessens 2013-11-07 15:41:25 UTC
+1
Comment 16 Simon McVittie 2013-11-07 15:42:58 UTC
Created attachment 88833 [details] [review]
[idle next 1/2] Re-namespace to im.telepathy.v1
Comment 17 Simon McVittie 2013-11-07 15:43:19 UTC
Created attachment 88834 [details] [review]
[idle next 1/2] .gitignore: ignore all of build-aux

---

Not related, but trivial.
Comment 18 Simon McVittie 2013-11-12 11:34:09 UTC
Comment on attachment 88707 [details] [review]
[spec next 1/2] Change all namespaces from im.telepathy1 to  im.telepathy.v1

in 0.99.5
Comment 19 Simon McVittie 2013-11-12 11:51:46 UTC
Created attachment 89079 [details] [review]
[mc next 1/2] add one more missing "v1"

This fixes a clean autogen/build.
Comment 20 Simon McVittie 2013-11-12 11:52:57 UTC
Created attachment 89080 [details] [review]
[mc next 2/2] Make internal ID of gschema consistent with its filename

---

Or I could rename the schema back to im.telepathy.MissionControl if people prefer, or call it im.telepathy.MissionControl6, or whatever. The bike shed should be blue.
Comment 21 Simon McVittie 2013-11-12 11:55:36 UTC
Created attachment 89081 [details] [review]
[rakia next 1/1] Re-namespace to im.telepathy.v1
Comment 22 Simon McVittie 2013-11-12 11:57:35 UTC
Created attachment 89082 [details] [review]
[idle next 2/2 v2] Re-namespace to im.telepathy.v1

---

Now with required telepathy-glib version set to 0.99.5. I swapped the order of patches to put the really trivial one first.
Comment 23 Guillaume Desmottes 2013-12-27 10:20:30 UTC
Comment on attachment 89079 [details] [review]
[mc next 1/2] add one more missing "v1"

Review of attachment 89079 [details] [review]:
-----------------------------------------------------------------

Do we really want to switch schemas for each TP update? And so have to deal with settings migration, etc.
Comment 24 Guillaume Desmottes 2013-12-27 10:21:15 UTC
Comment on attachment 89081 [details] [review]
[rakia next 1/1] Re-namespace to im.telepathy.v1

Review of attachment 89081 [details] [review]:
-----------------------------------------------------------------

++
Comment 25 Guillaume Desmottes 2013-12-27 10:21:50 UTC
Comment on attachment 89082 [details] [review]
[idle next 2/2 v2] Re-namespace to im.telepathy.v1

Review of attachment 89082 [details] [review]:
-----------------------------------------------------------------

++
Comment 26 Simon McVittie 2014-01-07 14:56:20 UTC
(In reply to comment #23)
> Comment on attachment 89079 [details] [review] [review]
> [mc next 1/2] add one more missing "v1"
...
> Do we really want to switch schemas for each TP update? And so have to deal
> with settings migration, etc.

MC fails to distcheck without this patch. If you would prefer to delete the "v1", then we'll have to rename the file back to how it used to be, instead.

IMO, if we have to do an im.telepathy.v2 too soon, then something has gone wrong.

I don't think the name of this schema actually matters as long as it doesn't collide with anything else, because it points to "/org/gnome/empathy/" (and `dconf dump` confirms that that's where this setting is actually kept).
Comment 27 Guillaume Desmottes 2014-01-07 16:00:02 UTC
(In reply to comment #26)
> (In reply to comment #23)
> > Comment on attachment 89079 [details] [review] [review] [review]
> > [mc next 1/2] add one more missing "v1"
> ...
> > Do we really want to switch schemas for each TP update? And so have to deal
> > with settings migration, etc.
> 
> MC fails to distcheck without this patch. If you would prefer to delete the
> "v1", then we'll have to rename the file back to how it used to be, instead.
> 
> IMO, if we have to do an im.telepathy.v2 too soon, then something has gone
> wrong.
> 
> I don't think the name of this schema actually matters as long as it doesn't
> collide with anything else, because it points to "/org/gnome/empathy/" (and
> `dconf dump` confirms that that's where this setting is actually kept).

Fair enough; ++
Comment 28 Simon McVittie 2014-01-07 16:47:44 UTC
Comment on attachment 88834 [details] [review]
[idle next 1/2] .gitignore: ignore all of build-aux

Fixed in git for 0.99.5
Comment 29 Simon McVittie 2014-01-07 16:48:18 UTC
Comment on attachment 89082 [details] [review]
[idle next 2/2 v2] Re-namespace to im.telepathy.v1

Fixed in git for 0.99.5
Comment 30 Simon McVittie 2014-01-07 17:07:37 UTC
Comment on attachment 89081 [details] [review]
[rakia next 1/1] Re-namespace to im.telepathy.v1

fixed in git for Rakia 0.99.5
Comment 31 Simon McVittie 2014-01-07 18:19:20 UTC
Remaining (MC) patches in git for 0.99.5.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.