/srv/irclogs.ubuntu.com/2009/11/02/#launchpad-reviews.txt

=== al-maisan changed the topic of #launchpad-reviews to: on call: - || reviewing: -,- || queue: [sinzui, al-maisan<http://tinyurl.com/ycqtx3t>] || This channel is logged: http://irclogs.ubuntu.com/
al-maisanintellectronica and henninge: when you open up shop please note that the branch in the queue fixes a release-critical bug.08:59
al-maisanhenninge: when you open up shop please note that the branch in the queue fixes a release-critical bug09:29
henningeal-maisan: oh right, I am OCR today! ;)09:47
=== henninge changed the topic of #launchpad-reviews to: on call: henninge || reviewing: -,- || queue: [sinzui, al-maisan<http://tinyurl.com/ycqtx3t>] || This channel is logged: http://irclogs.ubuntu.com/
al-maisanhenninge: :)09:47
henningeShop's open. Please feel free to stroll around and look at the offerings, I'll be with you soon.09:48
henningenoodles775: I just requested an r-c review from you. Please feel free to ask me about it when you get to it.09:57
noodles775henninge: will do.09:58
=== henninge changed the topic of #launchpad-reviews to: on call: henninge || reviewing: al-maisan || queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/
henningeal-maisan:  The branch looks really good but I am wondering about test coverage.10:17
al-maisanhenninge: aha10:17
al-maisanhenninge: do you think it needs more/different testing?10:17
henningeal-maisan: I am just wondering if it would be possible to extend the test to test the case where the user has permission to upload to a series other than currentseries.10:19
al-maisanhenninge: I can do that, no problem at all.10:19
henningeal-maisan: currently it only tests "allowed for currentseries, denied for others"10:19
henningeal-maisan: cool, I'd feel much better about that.10:19
al-maisanhenninge: I'll ping you with the incremental diff in a few minutes.10:20
henningeal-maisan: did you already run the test suite on this? I am surprised that no other tests need to be adapted.10:20
al-maisanhenninge: package sets are a pretty narrow niche .. but I will run the package upload tests as well .. thanks for pointing this out!10:21
henningeal-maisan: np10:24
henningeal-maisan: one last issue. I am not familiar with _schema_circular_imports.py but I think I see what it does.10:25
al-maisanhenninge: it's the avoidance of circular imports..10:26
henningeal-maisan: yes, so I gathered. I am just trying to figure out how it works.10:28
henningeal-maisan: I trust, though, that this is correct the way you did it, so no real issue for the review.10:28
henninge;-)10:28
al-maisanthe LP API metadata is manipulated afterwards out of the interface declaration scope 10:29
al-maisanhenninge: thanks10:29
henningeal-maisan: np, r=me10:33
henninge(what I meant)10:33
al-maisanhenninge: thank you very much indeed.10:33
=== henninge changed the topic of #launchpad-reviews to: on call: henninge || reviewing: - || (r-c requests skip the queue) queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/
stubhenninge: https://code.edge.launchpad.net/~stub/launchpad/replication/+merge/14155 is an rc canditate11:50
=== henninge changed the topic of #launchpad-reviews to: on call: henninge || reviewing: stub || (r-c candidates skip the queue) queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/
al-maisanhello henninge, I needed to tidy up a few things to get the requested tests to work: http://pastebin.ubuntu.com/307456/11:52
al-maisanhenninge: just want to make sure you approve of these changes as well11:52
henningeal-maisan: I understand11:53
al-maisanthanks11:53
henningestub: I am onto yours next.11:53
al-maisanhenninge: I also ran all package upload and archive related tests to make sure nothing breaks.11:53
henningecool11:54
henningeal-maisan: so you had to make these changes just to be able to extend the test in this way?12:00
al-maisanhenninge: yes, in order to manipulate archive permissions based on package sets, I needed to change the API to pass the package sets as opposed to their names.12:01
al-maisanthat was the main change really.12:01
henningeal-maisan: btw, you seem to be using the API exclusively to test this. Is there a reason for that?12:03
al-maisanhenninge: yes, this functionality is presently only exposed via the LP API.12:04
henningeal-maisan: ah12:04
al-maisanthe UI is still to come12:04
henningeal-maisan: and now a packageset can only be passed in as an object, not represented by its name, as used to be the case, right?12:05
al-maisanhenninge: yes, the reason being that package names are *not* globally unique any more12:05
al-maisannow, the combination of a package set name and a distro series is unique12:06
al-maisans/package names/package set names/12:06
henningeal-maisan: ah, I understand.12:07
al-maisanI could have added a 'distroseries' parameter but I thought it was more straight-forward to just pass in the package set *object* 12:07
henningeal-maisan: but shouldn't there be some obsolete code now, that did the lookup from name to object?12:08
al-maisanhenninge: let me check quickly12:09
al-maisanhenninge: good catch, the ArchivePermission._nameToPackageset() method is now superfluous.12:11
al-maisanhenninge: http://pastebin.ubuntu.com/307472/12:13
al-maisanhenninge: actually .. on a second thought .. scratch that .. the methods involved are internal (as in not exposed via the LP API) and it may still be OK to pass in package sets or package set names in this case.12:18
al-maisanthe methods involved = the IArchivePermission methods in the most recent diff12:18
al-maisanhenninge: hrm .. this is a bit complicated .. I guess one important aspect is that IArchivePermission methods are exposed *indirectly* via the IArchive LP API and that's where some of the confusion arose12:21
henningeal-maisan: sorry, team call atm. Won't be long.12:21
al-maisanhenninge: cool.12:21
henningeal-maisan: so, your patch remains as it was, right?12:47
al-maisanhenninge: yep12:48
al-maisanhenninge: this change is still required: http://pastebin.ubuntu.com/307456/12:49
henningeal-maisan: yeah, I believe you ... ;-)12:50
henningeal-maisan: and the new test looks very good! Thanks for adding that!12:50
henningeal-maisan: still r=me12:50
al-maisanhenninge: thank you for prodding me :)12:50
henninge;)12:50
al-maisan.. and thanks for the review12:50
henningenp12:50
* henninge lunches12:53
=== henninge is now known as henninge-lunch
=== Ursinha-afk is now known as Ursinha
=== noodles775_ is now known as noodles775
=== barry` is now known as barry
=== bigjools is now known as bigjools-lunch
al-maisanhello henninge-lunch, I have another release critical branch that needs a review: https://code.edge.launchpad.net/~al-maisan/launchpad/sync-470411/+merge/1430113:44
al-maisanhenninge-lunch: believe it or not but it's a 1-liner :)13:44
=== henninge-lunch is now known as henninge
henningeal-maisan: done, r=me14:14
al-maisanhenninge: thanks a million :)14:15
henningeal-maisan: nee, war doch nur *eine* Zeile! ;-)14:15
al-maisanaha :)14:15
henningeal-maisan: eine Million Zeilen hätte ich abgelehnt ...14:15
al-maisanhenninge: ich hätte es Dir nicht 'mal übelgenommen :)14:16
=== abentley changed the topic of #launchpad-reviews to: on call: henninge, abentley || reviewing: stub || (r-c candidates skip the queue) queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/
=== bigjools-lunch is now known as bigjools
=== abentley changed the topic of #launchpad-reviews to: on call: henninge, abentley || reviewing: stub, - || (r-c candidates skip the queue) queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/
wgrantjml: Can you please review https://code.edge.launchpad.net/~wgrant/launchpad/distroseries-source-format-selection-db/+merge/14304?15:41
=== danilos changed the topic of #launchpad-reviews to: on call: henninge, abentley || reviewing: stub, - || (r-c candidates skip the queue) queue: [sinzui, danilo, danilo, danilo] || This channel is logged: http://irclogs.ubuntu.com/
daniloshenninge, abentley: mine are not RC-candidates, so do give precedence to what is :)15:58
=== henninge changed the topic of #launchpad-reviews to: on call: henninge, abentley || reviewing: -, - || (r-c candidates skip the queue) queue: [sinzui, danilo, danilo, danilo] || This channel is logged: http://irclogs.ubuntu.com/
henningedanilos: I don't see why strip_last_newline is needed?16:24
daniloshenninge, because gazillion of tests would have to be changed if it was something like rstrip("\r\n")16:25
henningedanilos: ;-)16:25
daniloshenninge, well, not gazillion, but something like 4 very obscure tests, and if it was just .strip(), then something around 14 :)16:25
henningedanilos: ok, but my hunch was correct, that rstrip would be enough to do what you need!16:26
daniloshenninge, also, .rstrip() strips all final newlines, and with some comments, whitespace should stay there16:26
daniloshenninge, almost, I started with that, but tests correctly brought header comments to my attention, and they usually have a few newlines before the initial message, and I feel they belong there :)16:27
daniloshenninge, I would have changed the few tests if it were not for these cases where we should keep extra newlines16:30
henningedanilos: sorry, phone call16:34
daniloshenninge, was it for me?16:34
henningedanilos: ;-)16:35
henningedanilos: no, it was my dad16:35
henningedanilos: the other thing: strip_last_newline is testing for all versions of line breaks, but you only do split("\n") eventually.16:36
daniloshenninge, oh, ok then :)16:36
henningedanilos: is there a magic in there that I forget that does line break type detection?16:37
daniloshenninge, well, I don't have to fix all problems with that code? also, .split("\n") would work correctly with DOS-style line endings as well16:37
daniloshenninge, and no, there isn't anything special that you are missing16:38
henninge>>> "Henning\r\nEggers".split("\n")16:38
henninge['Henning\r', 'Eggers']16:38
daniloshenninge, see :)16:38
henningedanilos: if you are fine with that behaviour ... 16:38
daniloshenninge, now, you can insert "#" in front of 'Henning\r' and 'Eggers' and it'll be fine16:38
daniloshenninge, we've got another set of bugs for dealing with \r's, but I am not touching those right now :)16:39
henningedanilos: ok, ok. r=me16:40
=== henninge changed the topic of #launchpad-reviews to: on call: abentley || reviewing: - || (r-c candidates skip the queue) queue: [sinzui, danilo, danilo] || This channel is logged: http://irclogs.ubuntu.com/
daniloshenninge, thanks16:42
=== deryck is now known as deryck[lunch]
=== beuno is now known as beuno-lunch
=== abentley changed the topic of #launchpad-reviews to: on call: abentley || reviewing: - || (r-c candidates skip the queue) queue: [sinzui] || This channel is logged: http://irclogs.ubuntu.com/
=== abentley changed the topic of #launchpad-reviews to: on call: abentley || reviewing: sinzui || (r-c candidates skip the queue) queue: [] || This channel is logged: http://irclogs.ubuntu.com/
=== deryck[lunch] is now known as deryck
=== beuno-lunch is now known as beuno
sinzuiabentley: I have an rc-candidate to fix a problem with the product-release-finder: https://code.edge.launchpad.net/~sinzui/launchpad/prf-files/+merge/1431118:03
sinzuioh, that is a bad diff18:04
* sinzui deletes and tries again18:04
sinzuiabentley: RC candidate: https://code.edge.launchpad.net/~sinzui/launchpad/prf-files/+merge/1431218:29
=== danilos is now known as danilos-afk
abentleysinzui: r=me.19:38
sinzuithanks19:38
abentleysinzui: You should make two separate review requests, one for RC one for code.19:38
sinzuiyes, you are right19:38
sinzuiI added RC so that you would see it should hop in front of non-rc branches19:39
abentleysinzui: If you requested an RC review from flacoste, I would see that also.19:40
sinzuiI see that I was not thinking19:40
abentleysinzui: Since I can't provide an "rc code" review, the Canonical Launchpad Engineering review request will never be satisfied.19:40
flacostesinzui: do you have a r-c review request for me?19:41
abentleyflacoste: We were discussing https://code.edge.launchpad.net/~sinzui/launchpad/prf-files/+merge/1431219:42
=== EdwinGrubbs is now known as Edwin-lunch
=== abentley changed the topic of #launchpad-reviews to: on call: - || reviewing: - || (r-c candidates skip the queue) queue: [] || This channel is logged: http://irclogs.ubuntu.com/

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