Bug 70078 - Gabble: pre next clean up
Summary: Gabble: pre next clean up
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://cgit.collabora.com/git/user/ca...
Whiteboard:
Keywords: patch
Depends on:
Blocks: 70077
  Show dependency treegraph
 
Reported: 2013-10-03 14:12 UTC by Guillaume Desmottes
Modified: 2013-10-11 21:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
stop using RequestHandles() for contacts (1.90 KB, patch)
2013-10-03 14:15 UTC, Guillaume Desmottes
Details | Splinter Review
remove roster/ensure.py (2.77 KB, patch)
2013-10-03 14:15 UTC, Guillaume Desmottes
Details | Splinter Review
stop using RequestHandles() to create room channel (7.27 KB, patch)
2013-10-03 14:15 UTC, Guillaume Desmottes
Details | Splinter Review
join_muc_and_check: stop returning the muc handle (3.96 KB, patch)
2013-10-03 14:15 UTC, Guillaume Desmottes
Details | Splinter Review
tube tests: make sure to catch the right MUC presence stanza (4.61 KB, patch)
2013-10-03 14:16 UTC, Guillaume Desmottes
Details | Splinter Review
join_muc: stop returning the muc handle (9.16 KB, patch)
2013-10-03 14:16 UTC, Guillaume Desmottes
Details | Splinter Review
remove rostertest.py (6.88 KB, patch)
2013-10-03 14:16 UTC, Guillaume Desmottes
Details | Splinter Review
remove request-group-{after,before}-roster.py (4.94 KB, patch)
2013-10-03 14:16 UTC, Guillaume Desmottes
Details | Splinter Review
test-roster-subscribe: stop testing old API (7.13 KB, patch)
2013-10-04 12:37 UTC, Guillaume Desmottes
Details | Splinter Review
stop using NewChannel signal in tests (21.34 KB, patch)
2013-10-04 12:37 UTC, Guillaume Desmottes
Details | Splinter Review
s/NUM_TP/TP_NUM (6.48 KB, patch)
2013-10-04 13:28 UTC, Guillaume Desmottes
Details | Splinter Review
Stop using TpTubeType enum (12.09 KB, patch)
2013-10-04 13:28 UTC, Guillaume Desmottes
Details | Splinter Review

Description Guillaume Desmottes 2013-10-03 14:12:53 UTC
.
Comment 1 Guillaume Desmottes 2013-10-03 14:15:06 UTC
Created attachment 87034 [details] [review]
stop using RequestHandles() for contacts
Comment 2 Guillaume Desmottes 2013-10-03 14:15:17 UTC
Created attachment 87035 [details] [review]
remove roster/ensure.py
Comment 3 Guillaume Desmottes 2013-10-03 14:15:36 UTC
Created attachment 87036 [details] [review]
stop using RequestHandles() to create room channel
Comment 4 Guillaume Desmottes 2013-10-03 14:15:49 UTC
Created attachment 87037 [details] [review]
join_muc_and_check: stop returning the muc handle
Comment 5 Guillaume Desmottes 2013-10-03 14:16:03 UTC
Created attachment 87038 [details] [review]
tube tests: make sure to catch the right MUC presence stanza
Comment 6 Guillaume Desmottes 2013-10-03 14:16:19 UTC
Created attachment 87039 [details] [review]
join_muc: stop returning the muc handle
Comment 7 Guillaume Desmottes 2013-10-03 14:16:31 UTC
Created attachment 87040 [details] [review]
remove rostertest.py
Comment 8 Guillaume Desmottes 2013-10-03 14:16:42 UTC
Created attachment 87041 [details] [review]
remove request-group-{after,before}-roster.py
Comment 9 Guillaume Desmottes 2013-10-03 14:18:10 UTC
With those patches, tests stop using RequestHandles().

They can already be reviewed/merged (master and/or next); I'll continue doing more cleaning.
Comment 10 Simon McVittie 2013-10-03 15:41:07 UTC
looking
Comment 11 Simon McVittie 2013-10-03 15:45:49 UTC
all good so far
Comment 12 Guillaume Desmottes 2013-10-04 09:40:33 UTC
Everything ok for master?
Comment 13 Simon McVittie 2013-10-04 10:39:11 UTC
(In reply to comment #12)
> Everything ok for master?

Everything I've seen here is fine for master, yes.
Comment 14 Guillaume Desmottes 2013-10-04 10:59:38 UTC
Everything merged to master. I'll keep this bug open.
Comment 15 Guillaume Desmottes 2013-10-04 12:37:22 UTC
Created attachment 87107 [details] [review]
test-roster-subscribe: stop testing old API
Comment 16 Guillaume Desmottes 2013-10-04 12:37:37 UTC
Created attachment 87108 [details] [review]
stop using NewChannel signal in tests
Comment 17 Guillaume Desmottes 2013-10-04 13:28:42 UTC
Created attachment 87111 [details] [review]
s/NUM_TP/TP_NUM
Comment 18 Guillaume Desmottes 2013-10-04 13:28:55 UTC
Created attachment 87112 [details] [review]
Stop using TpTubeType enum
Comment 19 Simon McVittie 2013-10-04 14:35:42 UTC
Comment on attachment 87107 [details] [review]
test-roster-subscribe: stop testing old API

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

Possibly wrong, but not a regression:

::: tests/twisted/roster/test-roster-subscribe.py
@@ +19,3 @@
>  
>  def test_modern_reject(q, bus, conn, stream):
> +    test(q, bus, conn, stream, 'reject')

It looks as though this should maybe have said (... stream, True, False, 'reject')? Does it still pass if you change it to  (... stream, False, 'reject')?
Comment 20 Guillaume Desmottes 2013-10-04 14:51:31 UTC
(In reply to comment #19)
> Comment on attachment 87107 [details] [review] [review]
> test-roster-subscribe: stop testing old API
> 
> Review of attachment 87107 [details] [review] [review]:
> -----------------------------------------------------------------
> 
> Possibly wrong, but not a regression:
> 
> ::: tests/twisted/roster/test-roster-subscribe.py
> @@ +19,3 @@
> >  
> >  def test_modern_reject(q, bus, conn, stream):
> > +    test(q, bus, conn, stream, 'reject')
> 
> It looks as though this should maybe have said (... stream, True, False,
> 'reject')? Does it still pass if you change it to  (... stream, False,
> 'reject')?

It does.
But changing:

def test_modern_revoke(q, bus, conn, stream):
-    test(q, bus, conn, stream, 'revoke')
+    test(q, bus, conn, stream, False, 'revoke')

doesn't pass.
Comment 21 Simon McVittie 2013-10-04 15:17:34 UTC
(In reply to comment #20)
> It does.

Please do, then.

> But changing:
> 
> def test_modern_revoke(q, bus, conn, stream):
> -    test(q, bus, conn, stream, 'revoke')
> +    test(q, bus, conn, stream, False, 'revoke')
> 
> doesn't pass.

Clone a bug, move on?
Comment 22 Guillaume Desmottes 2013-10-04 15:38:02 UTC
(In reply to comment #21)
> (In reply to comment #20)
> > It does.
> 
> Please do, then.
> 
> > But changing:
> > 
> > def test_modern_revoke(q, bus, conn, stream):
> > -    test(q, bus, conn, stream, 'revoke')
> > +    test(q, bus, conn, stream, False, 'revoke')
> > 
> > doesn't pass.
> 
> Clone a bug, move on?

Opened bug #70139

Patches merged to master.
Comment 23 Guillaume Desmottes 2013-10-10 21:15:42 UTC
More patches preparing the 'next' branch but we can already merged to master:
http://cgit.collabora.com/git/user/cassidy/telepathy-gabble/log/?h=pre-next
Comment 24 Guillaume Desmottes 2013-10-11 21:58:53 UTC
Merged to master.


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.