/srv/irclogs.ubuntu.com/2011/10/10/#launchpad.txt

=== jincreator1 is now known as jincreator
=== Ursinha is now known as Ursula__
=== micahg_ is now known as micahg
achiangpoolie: thanks for the review03:13
pooliethanks for the patches!03:14
achiangpoolie: np. i'll respond more in the MP's themselves, but the 1st MP, where i stuff the enums into a class...03:14
achiangpoolie: that's because i don't really know python and was just faking it. ;)03:14
pooliei wondered :)03:14
poolieit's ok though03:14
achiangpoolie: the only goal was to have a place to hold the enums so i can print them out03:14
achiangthere were no global variables earlier03:15
pooliepython has a somewhat uncommon setup where there is one namespace for 'variables' and 'classes/functions'03:15
pooliethe latter just being variables that point to an object03:15
achiangor rather, the list of enums wasn't globally accessible03:15
poolieso03:15
pooliefor static data like 'valid status values' having a global that points to it is really harmless03:15
achiangpoolie: good enough for me. i can just make 3 global lists then... (valid status, valid importance, valid filters) ?03:16
poolieoh, what would the filters be?03:16
poolielike 'filter by tags, etc'?03:16
achiangright03:16
achiangpoolie: i use them in the 2nd MP03:16
achiangrather, i use that class in the 2nd MP03:17
poolieok03:35
poolieso, yes, i'd probably make an 'enum' class that has that behaviour03:35
pooliethe 'types of filter' is perhaps a concept in its own right03:35
pooliesince it can do more than just match names: also, probably, construct a filter object03:35
poolieso it's a bit like a factory pattern03:36
achianghm, ok03:36
achiangi'll try and play around with an EnumClass that you describe03:36
achiangpoolie: btw, i just tested, and 'filter tags' does work03:37
poolieoh i see03:38
poolieyep, i can see how that works03:38
achianghttp://pastebin.ubuntu.com/705248/03:38
achiangpoolie: also, note how we display current filters03:39
pooliei thought there should be an 'else' clause at line 98 of the diff but03:39
pooliein fact you just fall off the end and append it to the list, which is fine03:39
achiangyeah, that little bit was magic to me03:40
achiangwhatever came out, was simply due to luck03:40
achiangoh wait, no, that was on purpose. :)03:41
poolie:)03:41
achiangit was the actual line 98 that confused me, but somehow still works03:41
achiangbecause i thought for sure there might be a KeyError, in the event we got a single word status... then there would be no args[2]03:42
achiangbut somehow, it just works03:42
poolie[2:] means '2 and anything after it'03:42
poolieit can be an empty list in which case the del is a nop03:42
achiang'filter status new' => there shouldn't be an args[2] in that case?03:43
achiangso i should get IndexError?03:44
pooliewell, apparently 'filter' has already been consumed03:44
poolieso you have line='status new', args=['status', 'new']03:44
poolieargs[2:] = []03:44
achiangpoolie: ah! http://pastebin.ubuntu.com/705251/03:46
poolieright03:46
achiangthat is somewhat surprising at first, but upon further reflection, makes sense03:46
poolieindeed you can even do foo[1:] = ['hello', 'there']03:46
poolieyou can also say foo[100:] (which will also be empty03:47
achiangok, thanks for the help. i'll try and clean it up, probably not tonight03:49
* achiang will have to play with bzr-rebase03:49
czajkowskiAloha08:51
=== allenap changed the topic of #launchpad to: https://launchpad.net/ | Help contact: allenap, rvba | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ | User Guide: https://help.launchpad.net/ | Support: https://answers.launchpad.net/launchpad
allenapMorning.08:51
czajkowskimrevell: you do know how to make my day start with a smile!08:55
czajkowskiboss walking in and wondering whom I'm talking to less smiley08:55
ubuntu-baltixHi, Why Launchpad doesn't build my recipe - error "chroot problem" appears, see https://code.launchpad.net/~stk/+archive/dev/+recipebuild/9609709:30
wgrantubuntu-baltix: Hi, we're looking at that issue now. Thanks for letting us know.09:33
ubuntu-baltixwgrant: please tell me when you fix this "chroot problem"09:41
ubuntu-baltixwgrant: maybe you already fixed "chroot problem" ( https://code.launchpad.net/~stk/+archive/dev/+recipebuild/96097 )10:07
ubuntu-baltix?10:07
wgrantubuntu-baltix: No, still working on it.10:08
mrevellhey, glad to hear it czajkowski :)10:17
czajkowskiI like doing that stuffmakes a change from me doing wire frames last week for someoner else to rip them apart10:18
czajkowski*someone10:18
=== daker_ is now known as daker
wgrantubuntu-baltix: That should be sorted out now.10:43
ubuntu-baltixwgrant: thanks10:50
jmlmerge diffs are taking a while11:15
Oleg|perconaguys, I have question about launchpad MP11:18
Oleg|perconahow can I look to history of change?11:19
Oleg|perconafor example, I want see who exactly assign review for this MP: https://code.launchpad.net/~tsarev/percona-server/5.1_fix_bug_716210/+merge/7870011:19
Oleg|percona(who request review for guy)11:19
czajkowskimrevell: seen an oneiric nut yet :)11:19
mrevellczajkowski, Yes :)11:21
czajkowskigood11:21
rvbaOleg|percona: I don't think that this information is available. allenap?11:29
Oleg|perconarvba: I got imagine. I think all information about status change are tracking11:30
wgrantOleg|percona: It's not visible in the UI, but we store it and it's in the API.11:32
wgranthttps://api.launchpad.net/devel/~tsarev/percona-server/5.1_fix_bug_716210/+merge/78700/votes11:32
wgrantThe "registrant" field.11:32
wgrantOh!11:32
wgrantIt is in the UI.11:32
rvbaReally?11:32
wgrantA tooltip in the "date requested" column.11:32
Oleg|perconawgrant: I see "when" , but I want know "Who"11:33
rvbaTrue, good catch!11:33
wgrantOleg|percona: Hover over the date.11:33
Oleg|perconawgrant: who exactly assign concrete guy to review11:33
Oleg|perconawgrant: guy himself, or project manager, or something else11:33
Oleg|perconawgrant: nick of the guy who assign another guy for review :)11:34
Oleg|perconawgrant: bug has button "full activity log"11:34
wgrantOleg|percona: Does the date's tooltip not say that?11:34
Oleg|perconawgrant: aaaa, tooltip11:34
Oleg|perconawgrant: yes, exactly.. but this is not-intuitive, sorry11:34
Oleg|perconawgrant: thank you very much :)11:35
wgrantNot intuitive at all, no :(11:35
njpatelhttps://launchpad.net/unity/+series doesn't seem to work11:54
njpateloh, hi :)11:54
allenapnjpatel: You've broken it! :) I'll look into it.12:02
njpatelheh, thank you :)12:02
allenapnjpatel: I've filed bug 871715 and I'll work on it now.12:05
ubot5Launchpad bug 871715 in Launchpad itself "KeyError in view/bugtask_status_counts on Product:+series" [Critical,In progress] https://launchpad.net/bugs/87171512:05
wgrantallenap: I filed a bug about that on Saturday.12:07
wgrantIt's Critical.12:08
wgrantI forget the number.12:08
allenapwgrant: Okay, I'll find it, thanks.12:08
njpatelallenap, awesome, thank you12:08
wgrantIt's related to the new INCOMPLETE_WITHOUT_RESPONSE status.12:08
njpateli say we fix it with PLEASE_RESPOND12:12
chrysnhi, i'm having trouble with the "release url pattern" feature of series -- can i specify a place to look for links?12:35
chrysnit seems launchpad just strips the last part off the url, and hopes to find a matching link there, but this doesn't work for example on github (i want tarball downloads here, not git checkouts).12:36
chrysnin watch files, there is a way to specify this in more detail, but it seems to be incompatible syntax-wise.12:37
=== medberry is now known as med_out
smoseranyone here able to help me with renaming a project?15:16
smoserallenap, rvba ?15:16
allenapsmoser: Sure.15:18
smoserhttps://launchpad.net/pileus -> https://launchpad.net/cirros15:18
smoserallenap, wait. hold off on that.15:19
allenapsmoser: Okay :)15:19
allenapsmoser: Can you put your request in https://answers.launchpad.net/launchpad/+addquestion so I can more reliably authenticate you? You can ping me again when you've done it.15:21
smoserallenap, sure. i can do that. thanks.15:21
=== micahg_ is now known as micahg
=== zyga is now known as zyga-afk
=== matsubara is now known as matsubara-lunch
=== rvba changed the topic of #launchpad to: https://launchpad.net/ | Help contact: allenap | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ | User Guide: https://help.launchpad.net/ | Support: https://answers.launchpad.net/launchpad
chrysnyet another recipe question: can i, like for ppa's, specify a ppa to use for fulfilling a recipe's build dependencies?16:42
bigjoolschrysn: it should work, yes. The recipe is built in the context of the PPA.16:45
chrysnthanks, i'll try copying the required packages to the target ppa16:51
chrysnit seems not -- the critical dependency was already in the target ppa, built for oneric (copied and re-built from another ppa), but still the build failed.16:54
chrysn(the build affected was https://launchpadlibrarian.net/82488465/buildlog.txt.gz)16:54
bigjoolsah darn - well, I wonder if jelmer knows16:54
chrysni might be wrong at all and something else failed, but it failed due to "Unable to resolve dependencies", and the only package not yet in ubuntu is said libopencsg-dev16:55
bigjoolsI have vague recollections of there being a recipe directive to pull in deps16:57
bigjoolshuh16:58
bigjoolsgrep for "override-sources-list" - it's not setting the PPA up16:59
=== deryck is now known as deryck[lunch]
smoserallenap, still around ?17:27
=== matsubara-lunch is now known as matsubara
smoserhttps://answers.launchpad.net/launchpad/+question/173846 if you are (or anyone else can take that).17:28
=== zyga-afk is now known as zyga
chrysnbigjools, i've been wrong -- i expected the build system to pull in the destination ppa, while instead it pulls in the destination ppa's dependencies (not allowing circular dependencies, which i might need here).17:54
=== deryck[lunch] is now known as deryck
=== matsubara is now known as matsubara-afk
=== yofel_ is now known as yofel
=== epsy is now known as \u03b5
=== jpds_ is now known as jpds

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