[Launchpad-reviewers] [Merge] lp:~cjwatson/launchpad/fix-checkRefPermissions-interface into lp:launchpad

2018-10-23 Thread noreply
The proposal to merge lp:~cjwatson/launchpad/fix-checkRefPermissions-interface 
into lp:launchpad has been updated.

Status: Needs review => Merged

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/fix-checkRefPermissions-interface/+merge/357659
-- 
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.

___
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : launchpad-reviewers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp


Re: [Launchpad-reviewers] [Merge] lp:~cjwatson/launchpad/fix-checkRefPermissions-interface into lp:launchpad

2018-10-23 Thread William Grant
Review: Approve code


-- 
https://code.launchpad.net/~cjwatson/launchpad/fix-checkRefPermissions-interface/+merge/357659
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.

___
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : launchpad-reviewers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp


[Launchpad-reviewers] [Merge] lp:~cjwatson/launchpad/fix-checkRefPermissions-interface into lp:launchpad

2018-10-22 Thread Colin Watson
Colin Watson has proposed merging 
lp:~cjwatson/launchpad/fix-checkRefPermissions-interface into lp:launchpad.

Commit message:
Fix the declaration of IGitAPI.checkRefPermissions to match reality.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/fix-checkRefPermissions-interface/+merge/357659

It doesn't seem to actually matter (no tests fail), but it's a lot less 
confusing when the interface is accurate.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of 
lp:~cjwatson/launchpad/fix-checkRefPermissions-interface into lp:launchpad.
=== modified file 'lib/lp/code/interfaces/gitapi.py'
--- lib/lp/code/interfaces/gitapi.py	2018-10-18 16:43:14 +
+++ lib/lp/code/interfaces/gitapi.py	2018-10-22 19:29:20 +
@@ -68,7 +68,7 @@
 not yet supported.
 """
 
-def checkRefPermissions(self, repository, ref_paths, user):
+def checkRefPermissions(translated_paths, ref_paths, auth_params):
 """Return a list of ref rules for a `user` in a `repository` that
 match the input refs.
 

___
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : launchpad-reviewers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp