/srv/irclogs.ubuntu.com/2012/12/03/#launchpad-dev.txt

=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== almaisan-away is now known as al-maisan
adeuringgood morning08:46
czajkowskiwallyworld: you about?11:13
=== yofel_ is now known as yofel
=== Tribaal_ is now known as Tribaal
=== benji changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On-call reviewer: benji | Firefighting: - | Critical bugs: ~170
=== al-maisan is now known as almaisan-away
wallyworldczajkowski: hi, just got back from an awesome concert - saw The Living End14:04
deryckMorning, all.14:07
rick_h_morning14:07
czajkowskiwallyworld: oh excellent14:08
wallyworldcan i help with anything?14:08
czajkowskiit's ok now think sinzui is online and was just curious about a bug14:11
czajkowskisinzui: morning https://bugs.launchpad.net/launchpad/+bug/105678814:11
_mup_Bug #1056788: Can't list members of private team that I own <Launchpad itself:New> < https://launchpad.net/bugs/1056788 >14:11
czajkowskiany thoughts on this.14:11
sinzuino yet14:12
sinzuiczajkowski, The admin of the team is not a member of many of the private sub teams. The LP is raising forbidden. This is a corner case that was mostly likely caused by  team membership changes -- you cannot add the sub team unless you could see it from the start. We need to fix to ensure no team spys on another team.14:20
czajkowskiah ok intersting14:22
czajkowski*interesting14:23
czajkowskiwas looking at different teams and members tryig to work it out :/14:23
czajkowskisinzui: also re the other bug Inleft a comment on, know it's not qa'd but was adding the oops and page so afterwards I can just check it was all working, sorry :)14:23
sinzuiczajkowski, I did qa the bug: https://qastaging.launchpad.net/~locoteams and https://qastaging.launchpad.net/~launchpad-users both load14:26
czajkowskigreat14:27
deryckadeuring, rick_h_, jcsackett -- I'm coming for standup.  Hangout loading troubles.14:33
=== slank_away is now known as slank
=== Ursinha is now known as Ursinha-afk
czajkowskisinzui: how do we feel about the Waqf General Public License?15:14
sinzuiczajkowski, it discriminates. We accepted one because the project was dual-licenses as simple GPL15:16
czajkowskinods15:17
czajkowskisinzui: https://launchpad.net/elkirtassemaktaba  project in question15:17
sinzuiczajkowski, it is GPLed to so we would accept it. This was the debian discussion that re-enforced my belief that these project must be dual licensed: http://lists.debian.org/debian-devel/2010/07/msg00019.html15:19
czajkowskioh15:20
czajkowskisinzui: speaking of debian -https://support.one.ubuntu.com//Ticket/Display.html?id=25941  and https://support.one.ubuntu.com//Ticket/Display.html?id=25970  what do you do in cases like this ?15:21
sinzuiwe have a bug for this.15:23
sinzuiLp should not imply it can happen. We know a team cannot be merged with a user15:24
sinzuiczajkowski, this is bug 68136715:24
_mup_Bug #681367: Do let users try to merge teams into people <lp-registry> <merge-deactivate> <Launchpad itself:Triaged> < https://launchpad.net/bugs/681367 >15:24
sinzuiLp wont let it happen, it should not have implied it could happen, it should not have let the user try to get the team15:25
czajkowskinods15:25
czajkowskiso should the title be do not let users try to merge teams into people?15:26
sinzuioh, yes, "do not" I just fixed it15:27
czajkowskiack15:27
czajkowskihave had users trying to do all srts of merges this weekend into other peoples accounts15:27
czajkowski:s15:28
=== matsubara is now known as matsubara-lunch
=== almaisan-away is now known as al-maisan
=== yofel_ is now known as yofel
rick_h_deryck: I need to add the product property to the Product object. It needs to make its ways into the LP.cache.context dump of data. I'm thinking this should go on IProductLimitedView. Does that make sense?17:01
rick_h_Then it should show up for private projects, but not for public viewing/people without access to the product17:01
rick_h_not that they should see the page anyway...17:01
deryckrick_h_, reading... thinking....17:02
=== matsubara-lunch is now known as matsubara
deryckrick_h_, that sounds generally right to me, but you might want to run it by adeuring for a second opinion.17:06
rick_h_ok, will do17:06
adeuringrick_h_: I don't get the property: Product.product?17:09
rick_h_adeuring: Product.private17:11
rick_h_sorry, typo there17:11
=== deryck is now known as deryck[lunch]
rick_h_adeuring: so looking at something like https://pastebin.canonical.com/79610/17:11
adeuringrick_h_: yes, I would even think that we could make the property private public, after all, it has less information than information_type, from which it is derived17:12
rick_h_adeuring: yea, that's kind of why I was asking. It seems there's a couple places it 'could' go and wondered where the best place was17:12
rick_h_but useCanView was the only property on IProductPublic so seems not a place to stick most things17:13
rick_h_but I guess these two kind of fit together so makes some sense (private and useCanView)17:13
adeuringrick_h_: yes, the point is that information_type is defined elsewhere, canÄt remember exactly the location...17:14
rick_h_it's in the model only17:15
rick_h_it's not exposed at the interface level I can tell17:15
adeuringricit's defined in app.interfaces.IIformationType, and this is a base class of IProduct17:16
rick_h_ah, missed that17:16
rick_h_ok, so maybe I should add this to that interface?17:17
adeuringrick_h_: well, check where IInformationType is used ;)17:17
adeuringbut generally, yes17:17
adeuringrick_h_: if you want a full overview on all properties and permissions, look at lib/lp/registry/tests/test_product.py expected_get_permissions17:18
rick_h_yea, I was copying this from the branch implementation17:18
rick_h_so it'd be used there, bugs I'd imagine.17:18
adeuringrick_h_: actually, private is already defined teher17:19
rick_h_adeuring: in IInformationType? /me isn't seein git17:20
adeuringrick_h_: I have no idea where it is defined at present -- but the securtiy checker knows about it ;)17:21
rick_h_adeuring: heh, well I see it on productset, and I think I added it there17:21
rick_h_for the icon stuff a while ago17:21
rick_h_but not on product itself, and it's not exposed to LP.cache which I think is interface @expose based17:22
=== gary_pos` is now known as gary_poster
* adeuring tries fond the definition....17:23
adeuringrick_h_: lp.app.interfaces.launchpad: IPrivacy -> IInformationType -> IProduct17:25
rick_h_adeuring: ah ok...so it's there but not exported.17:26
rick_h_adeuring: ok thanks. this makes sense. I saw one place that mentioned it was redefined in the comment for it17:26
rick_h_that must be why17:26
=== al-maisan is now known as almaisan-away
adeuringbenji: could you please review this MP: https://code.launchpad.net/~adeuring/launchpad/bug-1071589/+merge/137659 ?18:48
benjiadeuring: sure18:49
adeuringthanks!18:49
=== almaisan-away is now known as al-maisan
sinzuibenji, do you have time to review https://code.launchpad.net/~sinzui/launchpad/revision-karma-1/+merge/13766019:00
benjisinzui: sure19:00
adeuringbenji: thanks for the review!19:03
benjiadeuring: my pleasure19:03
Masklinnis there any support for service hooks in launchpad? Or any kind of "push" notification other than email?19:27
sinzuiMasklinn, no.19:29
sinzuiMasklinn, several groups have written API scripts that poll and then make the necessary notifications19:29
Masklinnsinzui, I guess that's what I'll have to do as well.19:30
=== al-maisan is now known as almaisan-away
=== benji changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On-call reviewer: - | Firefighting: - | Critical bugs: ~170

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!