Bug 71262 - [1.0] change namespace from im.telepathy1 to im.telepathy.v1
Summary: [1.0] change namespace from im.telepathy1 to im.telepathy.v1
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Simon McVittie
QA Contact: Telepathy bugs list
URL:
Whiteboard: review?
Keywords: patch
Depends on:
Blocks: tp-spec-1.0 49737 50093
  Show dependency treegraph
 
Reported: 2013-11-05 13:01 UTC by Simon McVittie
Modified: 2014-01-07 18:19 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
[spec next 1/2] Change all namespaces from im.telepathy1 to im.telepathy.v1 (400.59 KB, patch)
2013-11-05 16:01 UTC, Simon McVittie
Details | Splinter Review
[spec next 2/2] Fix one remaining instance of org.freedesktop.Telepathy (980 bytes, patch)
2013-11-05 16:01 UTC, Simon McVittie
Details | Splinter Review
[tp-glib next 1/4] TpAccountManager: simplify restart logic now that the AM is activatable (2.22 KB, patch)
2013-11-05 16:02 UTC, Simon McVittie
Details | Splinter Review
[tp-glib next 2/4] [temporary] Update spec for im.telepathy.v1 namespace (389.49 KB, patch)
2013-11-05 16:02 UTC, Simon McVittie
Details | Splinter Review
[tp-glib next 3/4] Replace im.telepathy1 with im.telepathy.v1 (50.47 KB, patch)
2013-11-05 16:04 UTC, Simon McVittie
Details | Splinter Review
[tp-glib next 4/4] Replace some remaining uses of org.freedesktop.Telepathy (12.56 KB, patch)
2013-11-05 16:16 UTC, Simon McVittie
Details | Splinter Review
[MC next 1/2] Fix some leftover references to mc-wait-for-name (2.30 KB, patch)
2013-11-05 16:17 UTC, Simon McVittie
Details | Splinter Review
[MC next 2/2] Re-namespace from im.telepathy1 to im.telepathy.v1 (22.32 KB, patch)
2013-11-05 16:18 UTC, Simon McVittie
Details | Splinter Review
[haze next 1/1] Use im.telepathy.v1 namespace (4.74 KB, patch)
2013-11-05 17:00 UTC, Simon McVittie
Details | Splinter Review
[gabble next 1/1] Re-namespace to im.telepathy.v1 (10.31 KB, patch)
2013-11-05 17:05 UTC, Simon McVittie
Details | Splinter Review
[salut next 1/1] Re-namespace to im.telepathy.v1 (26.24 KB, patch)
2013-11-05 17:42 UTC, Simon McVittie
Details | Splinter Review
[idle next 1/2] Re-namespace to im.telepathy.v1 (9.79 KB, patch)
2013-11-07 15:42 UTC, Simon McVittie
Details | Splinter Review
[idle next 1/2] .gitignore: ignore all of build-aux (493 bytes, patch)
2013-11-07 15:43 UTC, Simon McVittie
Details | Splinter Review
[mc next 1/2] add one more missing "v1" (640 bytes, patch)
2013-11-12 11:51 UTC, Simon McVittie
Details | Splinter Review
[mc next 2/2] Make internal ID of gschema consistent with its filename (1.71 KB, patch)
2013-11-12 11:52 UTC, Simon McVittie
Details | Splinter Review
[rakia next 1/1] Re-namespace to im.telepathy.v1 (5.10 KB, patch)
2013-11-12 11:55 UTC, Simon McVittie
Details | Splinter Review
[idle next 2/2 v2] Re-namespace to im.telepathy.v1 (10.51 KB, patch)
2013-11-12 11:57 UTC, Simon McVittie
Details | Splinter Review

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.