/srv/irclogs.ubuntu.com/2011/01/12/#launchpad-reviews.txt

huwshimiHi, is anyone available to review a CSS change? https://code.launchpad.net/~huwshimi/launchpad/highlight-links-367877/+merge/4594700:54
=== jtv-afk changed the topic of #launchpad-reviews to: On call: jtv || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== jtv-afk is now known as jtv
=== matsubara-afk is now known as matsubara
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || reviewing: Ursinha || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jcsackettjtv: got room for another in your queue? https://code.launchpad.net/~jcsackett/launchpad/shortlist-696913/+merge/4593812:03
jcsackettjtv, i think i pinged you on this when you had dropped from the channel. there room in the queue for one more? http://code.launchpad.net/~jcsackett/launchpad/shortlist-696913/+merge/4593812:20
=== jcsackett changed the topic of #launchpad-reviews to: On call: jtv || reviewing: Ursinha || queue: [jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== henninge_ is now known as henninge
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || reviewing: jcsackett || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== gary_poster is now known as gary-afk
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
benjiEdwinGrubbs: are you reviewing today?15:40
EdwinGrubbsbenji: yes15:48
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: jtv, Edwin || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvhi Edwin :)15:49
EdwinGrubbsjtv: hi15:49
=== gary-afk is now known as gary_poster
benjik16:00
=== benji changed the topic of #launchpad-reviews to: On call: jtv, Edwin, benji || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== deryck is now known as deryck[lunch]
jtvWhoa getting crowded here.  Lemme just fix that.16:02
=== jtv changed the topic of #launchpad-reviews to: On call: Edwin, benji || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jcsackettjtv: i've replied to your comment on my review. the only question i had was what were you foreseeing where it breaks API?16:09
jcsackettsnapshotting of the objects are still allowed, but those fields won't be snapshotted when the entire object is. the collections themselves can be snapshotted independently.16:10
jtvI was just looking at it.16:10
jtvI'm just wondering whether any clients might erroneously be expecting to get the whole collection at once.16:10
jtvI may be wrong, but I assumed that collection snapshots aren't batched.16:11
jcsackettjtv: hm. so if a client tries to snapshot a product expecting those fields to be in the snapshot?16:11
jcsackettjtv: if you do like "thing = product.milestones; Snapshot(thing)" you shouldn't have any problem.16:11
jtv(BTW I just ran tests with the setUp methods removed and got the same results as with them still in)16:12
jcsackettjtv: that's good news--that didn't used to be the case. i'll kill that then.16:12
jtvOnce you have a setUp, you do need to call super.  But if you don't, you're good.16:12
jtvAnyway, about the snapshots: I guess the real question is whether the compatibility is defined at the launchpadlib API level (or equivalent), or "on the wire."16:13
jcsackettjtv: hm. i dunno. i do know that in the error case this is patching the API will explode anyway.16:14
jtvActually, I wouldn't be at all surprised if sinzui had dealt with this question before.16:14
jtvTrue, incompatibility ain't so bad if something goes from nonfunctional to functional.16:15
sinzuiThe snapshot code does work over the api16:15
sinzuiand you certainly cannot call launchpad_project.lp_save() at the moment16:16
sinzuiI have tried several times over the past few weeks16:16
jcsackettit's blowing up with the same exception, isn't it?16:16
sinzuiyep16:16
leonardrsinzui: what's going on here? is it something i should look at?16:17
sinzuileonardr: lazr.lifecycle.snapshot does a deep copy of objects we do not want to copy16:17
jcsackettleonardr: it's a shortlist error i've got a branch in review to fix. jtv has raised the question that the branch may break API compatability, as some fields are now marked doNotSnapshot.16:17
jtv(with "may" meaning "I don't know" ☺ )16:18
jcsackettjtv: right. :-)16:18
sinzuileonardr: API is fine. We have logic to ensure we do not do something stupid. The logic is telling us we did do something stupid16:18
leonardrsinzui: ok, let me know if you need anything (such as me re-understanding how lazr.restful uses snapshots)16:19
jcsackettso, anyway, i'm probably not understanding the worry, but i don't think this breaks API compatibility. i think it fixes an issue that has hit the API too.16:20
jcsackettbut i'm about as certain of that as i think you are that it does cause an error, jtv. which is to say: not certain at all. :-P16:20
jcsacketter, incompatibility, not error.16:21
jcsackettjtv: i'll fix the other problems and pursue the incompatibility question. thanks.16:27
jtvjcsackett: great, thanks.  I'm close to EOD, so don't be shy to approach someone else if you want a final stamp of approval.16:27
jcsackettjtv: will do. thanks, and have a good evening. :-)16:28
jtvThanks.  Sorry I couldn't contribute more on the compatibility question than to ask it.16:28
jcsackettno problem.16:41
=== deryck[lunch] is now known as deryck
=== benji is now known as benji-lunch
=== benji-lunch is now known as benji
=== gary_poster is now known as gary-lunch
EdwinGrubbsbenji: I have to leave for an appointment, but I'll be back later. Fortunately, the queue is empty.19:21
=== EdwinGrubbs is now known as Edwin-afk2
benjiok19:22
=== matsubara is now known as matsubara-afk
=== gary-lunch is now known as gary_lunch
=== gary_lunch is now known as gary_poster
jcsackettbenji: can you take a look at the revised diff on https://code.launchpad.net/~jcsackett/launchpad/shortlist-696913/+merge/45938?19:47
benjijcsackett: sure19:47
jcsackettthanks.19:47
benjijcsackett: Approved* with a couple of tiny tweaks. (*I'll ask Edwin to review my review when he gets back.)20:03
jcsackettbenji: thanks.20:03
benjinp20:03
thumperhttps://code.launchpad.net/~thumper/launchpad/view-invalid-recipes/+merge/4603720:44
thumperhello reviewers :)20:44
thumperbenji: have you got time to look at my review?21:02
benjithumper: sure21:02
thumperbenji: ta21:02
=== benji changed the topic of #launchpad-reviews to: On call: Edwin, benji || reviewing: thumper || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Edwin-afk2 is now known as EdwinGrubbs
benjithumper: Approved (but since I'm mentoring, Edwin will have to review my review)21:15
thumperbenji: ack21:15
thumperthansk21:15
benjinp21:16
benjiEdwinGrubbs: I've done two small reviews since you were gone: https://code.launchpad.net/~thumper/launchpad/view-invalid-recipes/+merge/46037 and the revised diff on https://code.launchpad.net/~jcsackett/launchpad/shortlist-696913/+merge/4593821:16
EdwinGrubbsI'll look at them21:16
benjithanks21:20
=== benji changed the topic of #launchpad-reviews to: On call: Edwin, benji || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== benji changed the topic of #launchpad-reviews to: On call: Edwin || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
EdwinGrubbsthumper: why does getViewBrowser() log in as anonymous?23:09
thumperEdwinGrubbs: it doesn't it logs in as a new user23:10
thumperit logs in as anon iff you specify no login23:10
* thumper thinks23:10
EdwinGrubbsthumper: there is a login(ANONYMOUS) call in that function.23:11
EdwinGrubbsthat isn't in the if-statement23:11
thumperEdwinGrubbs: where exactly, I'll look23:11
thumperah...23:11
thumperin the canonical url generation?23:11
EdwinGrubbsoh23:11
thumperI think it is to get it into a known login state23:12
thumperas login effectively logs out anyone else23:12
thumperand an interaction is needed for canonical url generation23:12
thumperand since we don't want to specify a particular user23:12
EdwinGrubbsthumper: ok, can you add a comment for other confused souls? Also, can you make a drive-by cleanup of ",rootsite=" in that method?23:12
thumperas it adds confusion...23:12
StevenKYes, so do everything *first* and then call .getViewBrowser23:12
thumperack23:13
thumperEdwinGrubbs: yes, I can do that23:13
StevenKSee first test in the diff at https://code.launchpad.net/~stevenk/launchpad/bpb-currentcomponent-assertion-part-2/+merge/4569323:13
EdwinGrubbsI'll update the mp after launchpad is back up23:13
mwhudsonmaybe that method should use restoreInteraction23:13

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