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

StevenKwallyworld: Mind reviewing a mostly-mechnical MP? https://code.launchpad.net/~stevenk/launchpad/force-bug-enums-into-line/+merge/9712300:51
wallyworldStevenK: sure00:51
wallyworldStevenK: have you pushed a subsequent change, mp says diff still updating00:53
StevenKI have not, that's it00:54
wallyworldand it just disappeared00:54
wallyworldso it seems to hang around for a bit00:54
StevenKReload the page, longpoll is dumb00:54
wallyworldi have been00:54
wallyworldand yet it stilled stayed on the page00:54
StevenKSigh. This is why we can't have nice things.00:55
wallyworldno, IE is why we can't have nice things00:55
wallyworldStevenK: r=me00:56
* StevenK lp-lands it, it's very benign00:59
wallyworldWCPGW00:59
StevenKHaha00:59
wallyworld:-)00:59
StevenKlifeless: Are you still AFK?03:19
wgrantStevenK: He's sick AFAIK.03:33
StevenKWell, we both knew that already.03:34
StevenK:-P03:34
wgrantHah03:34
StevenKBut okay, noted.03:34
lifelessStevenK: future ref - staff calendar will show you03:57
lifelessStevenK: and yes, throat full of razor blades, cold sweats, muscle pain, sinus. ye whole works.03:57
lifelessthat said,03:58
lifeless!ask | StevenK03:58
wgrantAlso, backscroll.03:58
StevenKlifeless: It is not urgent, and for further win, is not work-related.03:59
StevenKlifeless: So don't worry about it.03:59
lifelessStevenK: well, I'm here for a few minutes, so please do ask04:00
StevenKlifeless: You need to be lucid enough to remember your GPG passphrase. :-)04:03
lifelessgo one04:03
StevenKlifeless: http://keyring.debian.org/replacing_keys.html04:03
StevenKI'd like to get my 1024D key out, and my 4096R key in.04:04
lifelessheh04:04
lifelessI should too04:04
StevenKlifeless: I can toss you the full fingerprints in privmsg04:05
lifelessmail, signed by your old key; isn't that part of the protocol ?04:06
StevenKDoesn't have to be04:06
StevenKIf it still valid, I can choose to sign it with the old key04:06
lifelessis your new key in the keyservers?04:07
StevenKYeah04:07
lifeless588A553F, ?04:07
StevenKThat's it04:07
lifelesshmm, I don't have a trust path to it04:11
lifelessskype ?04:12
lifelessStevenK: ^04:12
StevenKLet me get that out04:13
StevenKYou don't have a trust path to C87FFC2F either?04:14
lifelessdon't seem to04:14
lifelessof course, gpg may have lost local trust settings or whatever04:14
lifelesswhatever; will take 30 seconds to directly verify04:14
StevenKlifeless: I'm Skype-enabled if you're ready.04:16
* StevenK prods Skype04:21
* StevenK waits for lifeless to ping timeout from IRC ...04:22
wallyworldhuwshimi: hello, do you have any exisiting/preferred code to use for a tri-state checkbox? or a preferred implementation technique? eg css or?05:16
bigjoolstri-state checkbox?05:16
wallyworldone which can show three states05:16
wallyworldyes, no, maybe05:17
wallyworldor similar05:17
wallyworldall, nothing, some05:17
StevenKUnchecked, checked, or greyed out check. If it is played with, it collapses to checked or unchecked only.05:17
bigjoolsa checkbox with three states... is that one where you need to visit the parallel universe to see the third state?05:17
wallyworldno, it's represented typically as a grey tick05:18
huwshimiwallyworld: What's the situation?05:18
bigjoolssorry, juju has made me flippant this afternoon05:18
wallyworldhuwshimi: for the sharing ui. the user needs to select to share "all", 'Some' or 'Nothing'05:18
wallyworldbigjools: fuck off05:18
wallyworldhuwshimi: 'some' would be grey05:18
wallyworld'all' would be ticked05:19
huwshimiwallyworld: Would checkboxes with those labels work?05:19
wallyworldhuwshimi: tri-state is more compact. the other solution is radio buttons, but yuk05:19
bigjoolswallyworld: sorry I can't hear you over the sound of my own awesomeness05:19
wallyworldhuwshimi: radio buttons would take up a bit of space05:20
wallyworldand not scale that well05:20
StevenKbigjools: Must be pretty quiet, then.05:20
huwshimiwallyworld: The standard toolkits don't even SUPPORT tri-state checkboxes05:20
wallyworldStevenK: speak up, i can't hear you over the whinging pom05:20
bigjoolsStevenK: good comeback, I must remember that one05:20
StevenKwallyworld: :-D05:20
wallyworldhuwshimi: yeah, there's several css/js based solutions people have used05:21
huwshimiwallyworld: I'd really prefer we not use a tri-state05:21
wallyworld:-(05:21
wallyworldit's a very common paradigm05:21
StevenKbigjools: Can't tell if trolling, or ...05:21
wallyworldhuwshimi: what don't you like?05:21
wallyworldhuwshimi: if i resort to radio buttons, the sharing picker is sure going to look fugly05:23
huwshimiwallyworld: I'd prefer us to be much more explicit, especially as sharing the wrong thing has high ramifications. A tri-state will make the user have to think/guess about what each state might be.05:23
huwshimiwallyworld: I'm not convinced it will be ugly. If it is, we may be doing something else worng05:24
huwshimiwallyworld: And no, it's not a common paradigm in web applications (it's not even common elsewhere).05:24
wallyworldhuwshimi: hmmm. ok. i'll rework the ui and see how it looks05:24
StevenKThe states are ALL, NONE and SOME. If the user changes it, it collapses to ALL or NONE. Sounds pretty clear to me.05:24
wallyworldhuwshimi: we must look at different apps then05:24
wallyworldit's not that common on the web05:25
StevenKI remember tri-state from *shudder* my time doing Visual Basic.05:25
wallyworldbut what about installers as one example05:25
wallyworldwhere you get to choose all packages, non, or some05:25
wgrantI don't recall seeing many tristate checkboxes outside horrifyingly awful Microsoft Office options dialogs.05:27
wallyworldwgrant: i'm sure i've used a linux installer at some point with them05:27
wallyworldmaybe suse05:27
wgrantRed Hat doesn't exist05:27
StevenKIf only05:28
wallyworldit's a very compact and convenient way to represent all/some/none05:28
wgrantAnd it makes it rather challenging to recover.05:28
StevenKIndeed. You can't go back to Some if you click the wrong checkbox05:28
StevenKI hate the idea of comboboxes for each too, since that's just disgusting05:29
wallyworldno, it's tri-state05:29
huwshimiwallyworld: The most common use for a tri-state is to represent the state of other checkboxes on the page.05:29
wallyworldas you click, it cycles through the states05:29
wgrantwallyworld: I don't think I've ever seen one of those before.05:29
wgrantAFAICR they just collapse into one of the two extremes.05:30
wallyworldhuwshimi: yes, that's true05:30
wgrantYou can never return to some.05:30
StevenKThat's what I recall.05:30
wallyworldi'm clearly outvoted :-)05:30
wallyworldi'll do it as radio buttons05:30
wgrantEwww05:30
wallyworldwhat alternatives do i have? drop down combo?05:31
wallyworldi guess i could do that05:31
StevenKNew widget, but ...05:31
wgrantThat would be even worse, I think.05:31
wallyworldsooo, we don't like tri-state checkeboxes, nor radio buttons, nor drop down combo; there ain't much kleft05:31
StevenK|-- ALL / -|- SOME / --| NONE05:32
StevenKIf you excuse my horrid ASCII-art, that's my idea, but I don't like it either.05:32
wgrantI was thinking maybe a lozenge radio button.05:32
wgrantWhich is slightly less obese than full radio buttons.05:32
huwshimiwallyworld: Can you show me the situation somehow?05:32
wallyworldmaybe05:32
wallyworldhuwshimi: https://qastaging.launchpad.net/launchpad/+sharing05:33
StevenKwgrant: Can haz example? I've never heard of those05:33
wallyworldhuwshimi: click on the +Share with someone link05:33
wallyworldhuwshimi: choose a person and then see the 2nd step where you get to chosse the sharing permissions05:34
wallyworldhuwshimi: there are currently checkboxes but they need to be tri-state05:34
wgrantStevenK: The [ Test | One | Two ] on http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/305:34
wallyworldhuwshimi: lozenge buttons seem the best suggestion so far i think05:35
StevenKwgrant, wallyworld: That was what I meant with my ASCII-art05:35
wgrantsinzui will cry, as they have bad history in Launchpad.05:35
wgrantBut for unrelated uses.05:35
wgrantStevenK: Oh, I assumed your thing was more like the horrible GTK3 toggle things.05:35
wallyworldStevenK: ah of course. you also printed out naked women on dot matrix tractor printers and stood 100 feet away too didn't you?05:36
wgrantWith the line that's either on the left or right.05:36
StevenKwallyworld: No ... it was the fastest way to get my point across.05:37
StevenKSadly, wgrant did it better, like usual.05:37
wallyworldStevenK: just giving you shit05:37
StevenKI know. ;-)05:37
StevenKwallyworld: Since you're full of it, it has to go somewhere ...05:37
wallyworldlol05:37
wallyworldhuwshimi: you find what i mean ok?05:38
huwshimiwallyworld: I did05:38
wallyworldhuwshimi: i await your verdict :-)05:38
* StevenK votes for lozenge radio buttons.05:38
* wallyworld so does wallyworld05:40
wallyworlddo we have any code in lp for those?05:41
StevenKCurious how to do them in YUI05:41
wallyworldsurely there's a widget someone has donr05:41
huwshimiDo we use the lozenge anywhere else in Launchpad?05:42
wgrantWe used to have lozenge menus, but they were abolished in 3.0.05:42
StevenKAnd sinzui probably danced on their grave.05:43
wgrantWe all did.05:43
wgrantIt was a glorious day.05:43
huwshimiIf we don't use the elsewhere then I don't think now is the right time to be introducing new UI concepts05:44
huwshimiwallyworld: What you might have to do is produce a few really quick mockups so we can see the options05:44
wgrantSure, but what else can we use that doesn't look horrible?05:44
StevenKBut the concept is the correct way to show a tri-state ...05:44
huwshimiI'm sure we can do it with any of the options and not make it horrible05:45
huwshimibut introducing unusual UI concepts probably isn't the smartest idea right now05:45
wallyworldhuwshimi: lozenge maybe new for lp but not outside of lp. and lp is very primative so i wouldn't use it's current widget set as a guide to the current best practice05:46
huwshimiwallyworld: Right, but no-one has enough time to work on a new UI concept to the point where we get it right05:46
wallyworldif not lozenge, then the only choices are radio button and drop down. i can see what they both look like05:47
StevenKAnd they'll both be terrible, I fear05:47
wallyworldme too :-(05:47
huwshimiwallyworld, wgrant, StevenK: Tell me why all the rest of the options are terrible.05:52
huwshimiI want to be convinced05:52
wallyworldhuwshimi: radio buttons are too verbose and not that well suited to being displayed for each item in a list05:53
wallyworldhuwshimi: drop downs don't allow the user to easily see all of the choices available without clocking05:53
StevenKYes, does a grid of 21 radio buttons make for good UI?05:54
huwshimiwallyworld: How are radio buttons more verbose than the lozenge05:54
huwshimi?05:54
huwshimiStevenK: There will be a maximum of nine05:54
huwshimiStevenK: Usually six05:54
StevenKI doubt it, for large projects.05:55
wallyworldhuwshimi: they are more compact, radio buttons have the clickable widget and text separate05:55
huwshimiwallyworld: We have plenty of space05:55
StevenKThere are *better* ways to display tri-stated information than an arry of radio buttons.05:56
StevenKJust thinking about it makes me want to stab my eyes.05:56
wallyworldhuwshimi: i think guis are better when they don't misuse space05:56
huwshimiStevenK: I'm not convinced that we can do a better job of building them though05:57
huwshimiI think I'd rather us do something that we can't go wrong with than introduce a new UI concept that will most likely introduce a support and maintenance cost05:58
StevenKI think we have to mock up the three choices05:59
wgrantI'm not sure a dropdown is a choice.05:59
StevenKNeither.05:59
wallyworldi guess it's hard sometimes for people who understand these ui concepts to see how it would introduce a support cost05:59
wallyworldit's not like lp is aimed at people who don't know computers06:00
wallyworldand if you are using the sharing ui and you can't use a lozenge or whatever then you have no business in the ui06:00
huwshimiwallyworld: Sure, but given our track record of UI design, creating a lozenge widget for example has a high risk of failure. It's not just that the user won't be able to figure it out, it's that we won't do a good enough job at creating something that works perfectly.06:01
wallyworldoh, the pain, stabbed in the heart06:02
nigelbdrama queen.06:05
* nigelb ducks and runs06:05
huwshimiwallyworld: We have to consider these things when making decisions. Especially as I'm not sure we'd gain enough to warrant the extra development time (forgetting adding another inconsistent UI concept etc.)06:06
wallyworldhuwshimi: np. there's a line between "adding inconsistent ui" and "using the right tool for the job" and i guess that's what needs to be looked at06:08
huwshimiwallyworld: I think if we do some mockups we can make a decision pretty quickly06:09
wallyworldhuwshimi: ok. thanks for the input, appreciated06:10
wallyworldnigelb: i wouldn't stick my head up after what happened in the cricket :-P06:10
nigelbdammit06:11
nigelb:P06:11
wgrantwallyworld: Oh, nice, a dict marshaller for lazr.restful. How does that affect the WADL?06:40
wallyworldwgrant: not sure about what you mean by the effect on the wadl. it generates fine and looks ok but i'm no expert. all the web services tests that invoke that method pass07:37
wgrantwallyworld: Right, just wondering how easily we can convince launchpadlib to interpret it well.07:41
wallyworld        service.sharePillarInformation(pillar=ws_pillar, sharee=ws_grantee,07:43
wallyworld            permissions={InformationType.USERDATA.title: SharingPermission.ALL.title})07:43
wallyworldwgrant: you just pass in a dict as expected07:43
wallyworldwgrant: the keys are values are marshalled07:43
wgrantwallyworld: Ah, right, it's only going the other way that it'll need special code.07:44
wgrantMethods that *return* dicts07:44
=== almaisan-away is now known as al-maisan
wallyworldwgrant: there's an unmarshall method which is properly implemented (generates json data). will that be used for return types?07:45
wgrantwallyworld: The server side has always worked, AFAIK07:45
wgrantI wrote a couple of methods which returned dicts07:45
wallyworldsomeone filed a bug related to returning dicts from memory07:46
wgrantlazr.restfulclient doesn't know what to do with them, so it just returns them as dicts of strs.07:46
wallyworldbug 48109007:46
_mup_Bug #481090: Cannot define a method that returns a dict <lazr.restful:Triaged> < https://launchpad.net/bugs/481090 >07:46
wallyworldah, ok, lazr.restfulclient07:47
lifelessStevenK: signed and pushed08:14
StevenKlifeless: Thanks. I've submitted an RT (two in fact, because I'm a complete blockhead); we shall see what keyring-maint says.08:14
czajkowskigoood morning08:26
StevenKczajkowski: Proof required. :-P08:43
czajkowskiI have tea and oddles of toast with peanut butter nothign going to upset me :)08:46
jelmerg'morning launchpadders09:05
=== gmb changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: gmb | Firefighting: - | Critical bugtasks: 4*10
gmbDoes anyone else see this whilst trying to use the bzr beta PPA?: http://pastebin.ubuntu.com/881655/10:33
bigjoolsgmb: they are not publishing precise packages yet10:34
gmbAh.10:34
gmbBottom.10:34
=== al-maisan is now known as almaisan-away
bigjoolsis precise not beta enough for you? :)10:35
=== almaisan-away is now known as al-maisan
gmbI want my bleeding edge to look like it came out of an accident with a bandsaw.10:35
wgrantYou want ppa:bzr/daily :)10:36
gmb:).10:36
bigjoolschrist, my desktop PC has gone 3 weeks with no net connection and now dist-upgrade has taken an hour so far (50 mins of that actually installing)10:37
gmbwgrant, You may know the answer to this: Is it wise or unwise to use setup.py from within the Makefile of a debian package?10:37
czajkowskijoys of precise :)10:38
StevenKgmb: If Makefile == debian/rules, then how else are you going to do it?10:42
maxbgmb: debian package ... Makefile?   you mean debian/rules?10:43
maxbalso re bzr ppa, at the moment bzr/beta == bzr/proposed10:45
maxber10:45
maxbalso re bzr ppa, at the moment bzr/beta == bzr/ppa10:46
gmbmaxb, StevenK: Well, yes (AFAICT that's calling the Makefile in the top level of the source, which is that I'm referring to).10:46
StevenKgmb: Oh, right, your build step calls $(MAKE)10:46
maxburgh, you have a horrid package with both a setup.py and a Makefile10:46
gmbmaxb, It mixes python and shell stuff.10:47
gmbI'm considering doing the python bit manually though10:47
gmbBecause setup.py just vomits.10:47
gmb... when the package is being built, anyway.10:47
gmbActually, maybe it would be simpler to have a separate package for the python stuff.10:47
StevenKDoing the python bit in Make will cause you to put your keyboard cord around your neck and yank hard.10:47
gmbStevenK, Ah, I see. Separate package is looking very tempting, then.10:49
gmbScrew it, the original package can depend on the new one.10:49
StevenKWCPGW10:49
gmbHah.10:49
gmbStevenK, maxb: Thanks chaps.10:50
gmbAt least I know i'm not entirely mad.10:50
StevenKBut you don't have that far to travel.10:51
gmbStevenK, Well, no, I still work on Launchpad. "Madness" is within spitting distance.10:52
wgrantgmb: What's the package?10:57
gmbwgrant, charm-tools.10:58
* StevenK reads a conversation on another channel, and reaches for his keyboard so he can wrap the cord around his neck, and then realises it's a wireless keyboard ...10:58
wgrantHm, so -server wrote it?10:58
gmbwgrant, Yes, I think so.10:58
wgrantOdd that it is so awkward, then.10:59
gmbwgrant, Well, what's awkward is that I'm adding Python stuff to it. It worked perfectly until I started pratting about.10:59
wgrantOh10:59
gmbAnyway, I'm going to bug clint about it this afternoon :)10:59
wgrantThat would do it.10:59
wgrantSeparate package :)10:59
gmbYeah :)10:59
wgrantOoh.11:00
wgrantParallel test suite bugs.11:00
wgrantYou have something working, then? :)11:00
gmbwgrant, "Working" is relative. But yes, we do, now that we've solved a lot of the weirdnesses with lxc and -start-ephemeral.11:02
wgrantHeh.11:04
wgrantGood good.11:04
nigelbStevenK: #firstworldproblems11:17
gmbHoly mother of dog and all her wacky nephews. Why are my comments on merge proposals posted with all the spaces stripped out? What's this nonsense?11:20
=== al-maisan is now known as almaisan-away
=== matsubara-afk is now known as matsubara
=== danhg_ is now known as danhg
=== almaisan-away is now known as al-maisan
=== Ursinha` is now known as Ursinha
fjlacostebenji: have you looked at wallyworld's lsazr.restful branch yet?14:48
fjlacostei was about to write a review for it14:48
fjlacostebut you are a pending reviewers14:48
benjifjlacoste: I wasn't aware of it.  I would be happy to look and equally happy for you to do so.14:48
fjlacostebenji: i'll take care of it14:49
benjiI wonder why I wasn't aware of it.  I'll try to figure that out.14:49
jcsackettbenji: i ifnd when i'm working off the web UI i sometimes miss things b/c i was looking at /launchpad/+activereviews instead of /launchpad-project/+activereviews?14:54
jcsackett... that shouldn't have ended in a question mark.14:54
benjijcsackett: ooh, that may be it; I hope firefox auto-complete learns the better one quickly ;)14:55
jcsackettbenji: i hope it learns it faster than chromium's did for me. :-)14:56
benjiheh14:56
fjlacostebenji: well, i agree that it's weird unless he explicitely asked a review from you14:58
fjlacostebecause i would have expected that to be assigned to the team14:58
benjifjlacoste: he did ask for a review from me (at least that's what it says now), and since the email looks so much like all the non-personal review requests I see I passed over it.  I'm in the process of making messages like that highlighted so they won't slip through again.15:00
benjigary_poster: I bet you're already doing this, but it dawned on me that using -vvvvvv with the test runner would show me the actual order in which the tests were run15:21
benjigary_poster: you also know that I'm in the wrong channel15:21
gary_posterbenji yes :-)15:22
gary_posterI'm using -vv, which is giving me the order15:22
gary_posterI'm switching channels!15:22
benjiyeah, never remember how many Vs do what, so I just hold down V until I get tired15:23
=== al-maisan is now known as almaisan-away
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno
=== salgado is now known as salgado-lunch
sinzuijcsackett, I reopened bug 933794 and updated it. +audit-sharing still needs a summary of users, policies and level of sharing16:12
_mup_Bug #933794: +audit-sharing does not show a block summarising who is shared with <disclosure> <qa-ok> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/933794 >16:12
=== salgado-lunch is now known as salgado
jcsackettsinzui: dig.17:00
jcsackettsinzui: thought that might be a new bug; i'm good with just changing the existing one though.17:01
czajkowskifjlacoste: any idea why on lp all the footers with Contact Launchpad Support    end up https://answers.launchpad.net/launchpad17:15
sinzuiczajkowski, I know17:25
czajkowskisinzui: oh do tell :)17:26
czajkowskidont leave me hanging :)17:26
sinzuiczajkowski, We want users to ask question in a place we support rather then sending email to a place to be ignored17:27
czajkowskisinzui: so where are people finding the feedback mail address17:27
czajkowskiand how am I getting questions via RT then17:27
sinzuiczajkowski, The link is not static. anonymous users see a different link because only logged in users can ask  a question..and anonymous users are probably trying to login which is not something we at Lp can help with17:28
sinzuiczajkowski, anonymous users send those17:28
czajkowskihmm ok17:28
czajkowskithanks sinzui17:28
sinzuiczajkowski, many rt emails are in reply to emails generated from Lp, such as commercial inquiries and translation issues17:29
czajkowskithe commercial folks are using feedback as well17:30
sinzuiczajkowski, anonymous users see a link to https://help.launchpad.net/Feedback17:30
czajkowskijust curious as spring cleaning rt17:30
czajkowskisinzui: cheers for the ifo17:30
sinzuiczajkowski, I hope that changes I making these week will reduce the emails. I am replacing the generic license issues message with ones specific to the case. This will land in a few days17:31
sinzuiThe generic email is confusing17:31
czajkowskiexcellent17:31
=== fjlacoste is now known as flacoste
salgadoI see we have some BugTasks which have a productseries bug no product, and I also see IBugTask.target can be an IProductSeries.  however, I cannot seem to figure out how to create (in a test) a bugtask with a productseries but no product... the factory method won't do that and if I try to transitionToTarget(series) I get an error:18:49
salgadoIllegalTarget('Series tasks may only be created by approving nominations.',)18:49
salgadoheh, now I think I understand... maybe I need to create *and* approve a nomination?18:49
lifelessconjoined masters18:50
salgadolifeless, you mean this is a conjoined master or I need to figure out what conjoined masters are and create one?18:53
lifelessconjoined masters - any series only task gets a context task added if none exists19:07
lifelessthere should be no series only task bugs around19:08
lifelesssearch for conjoined should give you some context19:08
salgadolifeless, oh, ok, that makes sense.  but I don't actually want a bug with series-only tasks... all I want is a series-only task which AFAICT is created via nominations?19:12
lifelesssalgado: thats my point, there isn't such a thing atm19:30
lifelesssalgado: can you point to a bug that demonstrates what you want in prod / qas / s ?19:30
lifelessbah19:30
lifelessiwlwifi has a lot to answer for19:30
salgadolifeless, a series-only task?  there seems to be 14177 of them on staging19:31
lifelesssalgado: how are you determining that ?19:31
salgadoselect count(*) from bugtask where product is null and productseries is not null;19:31
lifelessah terminology19:32
lifelessthats a series task, not series only19:32
lifelesstasks are always one-of product|productseries|distro|distroseries|distropackage|distroseriespackage19:32
lifelessthe conjoined master means there is always a matching product task whenever there is a product series task, and likewise for the distro+distroseries and distropackage+distroseriespackage19:33
lifelesssalgado: you can make a series task by nomination or targeting; if this is for the test suite, makeBugTask(target=someseries) should do it19:33
salgadolifeless, right, I understood those tasks with series but no product will have a matching task for the product.  but what I wanted was just to know how to create such a task with a productseries but no product19:34
lifelesssalgado: via the UI, API or python ?19:34
salgadolifeless, I couldn't get makeBug() to do that. it seems to always set the product on the task as well.  I've now managed to do it via makeBugNomination(), though19:36
salgadoI think I was expecing makeBug() to create a single task bug it actually creates two in that case19:37
salgadofor product and productseries19:38
lifelesssalgado: uhm, the db won't let that happen19:38
lifelessCheck constraints:19:38
lifeless    "bugtask_assignment_checks" CHECK (19:38
lifelessCASE19:38
lifeless    WHEN product IS NOT NULL THEN productseries IS NULL AND distribution IS NULL AND distroseries IS NULL AND sourcepackagename IS NULL19:38
lifelesssalgado: so yes, it was making two tasks19:38
lifelessand you then need to grab the task you want19:38
salgadoright, yeah, thanks for the help, lifeless19:40
lifelessno worries19:40
lifelessthis is fugly19:40
lifelessI want to fix, but one thing at a time19:40
lifelesssinzui: did the recent 404 changes drop showing the oopsid ?20:08
lifelesssinzui: (It is fine if they did, just seeking confirmation it was deliberate, or whether I need to investigate something being bokred)20:09
lifelesssinzui: the breadcrumbs on https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3244524 include links that will 404/40320:10
sinzuilifeless,  oops rules should not change20:10
lifelessah indeed20:11
lifelessit is a 403 which does not oops20:11
lifelesseven though it matches the same bad-internal-link rule when I think about it as a human20:11
lifelesssinzui: (the ppa is private, the build is unembargoed, but the breadcrumbs still link to the ppa)20:12
sinzuilifeless, I had not consider that case. I think the user who can see that page gets Lp.LimitedView thus 20020:12
sinzuiA 404/403 page does not include breadcrumbs20:12
lifelesssinzui: the build page is 20020:12
sinzuiwell my test show that error pages do not have breadcrumbs20:12
lifelesssinzui: the build page includes a link to the ppa page20:12
lifelesssinzui: the ppa page is 40320:12
lifelesssinzui: the link to the ppa page is in the breadcrumbs of the build page20:13
sinzuiah. I see.20:13
sinzuiThat is a whole new case. Someone should have written a custom breadcrumb adapter for build that exclude 404/403 situations20:14
sinzuilifeless, maybe that build page should not be public since Lp think the parent object is private...20:15
* sinzui looks for bug20:15
lifelesssinzui: the build is public because it is a binary-copied security update20:17
lifelesssinzui: https://launchpad.net/ubuntu/+source/postgresql-8.420:18
lifelessThis is another example of custom visibility rules deviating from the pattern and making other assumptions unsafe20:18
lifelessone way to address it would be to expose the same raw data under each archive its been copied too, or something20:18
lifelessI'd need to check code to be totally sure what its doing20:19
lifelessI will file a bug about the symptoms20:19
sinzuiokay20:19
lifelessbug 95441120:21
_mup_Bug #954411: build breadcrumbs of unembargoed builds in private ppa link to the ppa which is inaccessible <403> <confusing-ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/954411 >20:21
wallyworldsinzui: i have to drop my son to school a bit later today since he is going to camp so will miss the standup20:24
sinzuiwallyworld, thank you20:25
wallyworldsinzui: i'll be packing the lazr.restful change, landing the other branches which depend on it, and prtotyping a tri-state ui for the sharing picker20:26
wallyworldsinzui: we need a tri-state widget for All/Some/Nothing. tri-state checkbox was rejected on irc. so it's down to radio buttons or a lozenge20:27
sinzuiYuck20:27
wallyworldsinzui: discuss with  the guys and i'll ctach up with them when i get back20:28
lifelessif some means 'do not change', tri-state could work, but if some means some, surely they should be shown?20:28
wallyworldlifeless: some does mean some20:29
wallyworldso we need something that looks good and is compact when rendered as part of a <li>20:29
sinzuiwallyworld, I read the scrollback this morning. wgrant is correct hat I do not like the lozenge because Lp users cannot see them. Lp 2.0 required extra support to explain to user the link is already on the page..just click the think that does not look like anything you have see on your operating system before20:33
wallyworldsinzui: interesting. i like lozenge widgets do i guess it does come down to personal preference. i guess radio buttons or drop down is what we have to choose from then20:34
wallyworldand drop downs were not preferred20:35
wallyworldso i'll see what can be done with radio buttons20:35
sinzuiwallyworld, I agree with compact is more most important and the user must see the options20:35
sinzuiso I will accept lozenges after a ui test20:35
wallyworldsinzui: cool :- ) do we have any existing code for them?20:36
abentleywallyworld: We have the order-by losenges in the bug listings.20:42
wallyworldabentley: thanks! will look at those20:51
salgadogmb, since you're the on-call reviewer today, I thought I'd ask you to ec2-land one branch that was blocked on a bug that was just fixed (bug 953316). would you mind?  (https://code.launchpad.net/~linaro-infrastructure/launchpad/workitems-widget/+merge/94790)20:55
_mup_Bug #953316: Change the workitem-migrator job to do so only for Linaro-related blueprints <qa-ok> <Launchpad itself:Fix Committed by salgado> < https://launchpad.net/bugs/953316 >20:55
salgadoisn't it too late for gmb, though?20:55
gmbsalgado: Yes, it is :) I'd forgotten to take myself out of the /topic though.20:55
gmbSorry.20:55
=== gmb changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10
salgadoit only occurred to me after I wrote that20:55
gmbnext question is: Why do I have an IRC client open at 9pm?20:56
* gmb -> exeunt20:56
salgadoheh20:56
salgadoabentley, can you ec2-land that for me?20:56
abentleysalgado: okay.20:57
salgadothanks abentley!20:58
abentleysalgado: I just bugfixed ec2 land, so this will be a good test.20:58
salgadooh, I love being a guinea pig ;)20:59
=== salgado is now known as salgado-afk
wgrantsinzui, lifeless: It is not possible to hide the origin of a build.22:01
wgrantCopying a private build to elsewhere discloses the existence of its source archive.22:01
lifelesswgrant: thats my understanding, yes22:02
sinzuiwgrant, StevenK, sorry I am delayed22:12
wgrantWe forgive you :)22:15
sinzuiwgrant, maybe half of this bug is fixed: Bug #18140122:50
_mup_Bug #181401: push to lp:project or lp:project/series should to set the development focus and/or create the series <lp-code> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/181401 >22:50
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/information_type-model/+merge/9731923:00
wallyworldStevenK: wgrant: did you discuss the sharing picker tri-state ui at the stand up?23:18
StevenKAt length23:20
wallyworldverdict? just to prototype something?23:20
StevenKDan likes the idea of the lozonge, Huw does not, the UI design that previous used lozenges was an utter failure. But yes, prototype it up.23:22
wallyworldthat's the trouble with ui work - everyone seems to have very different opinions23:23
wgrantwallyworld: The issue of team members was also raised23:26
wallyworldin what respect?23:27
wgrantwallyworld: In that there might want to be an option for "None, and none for any of the team members either"23:27
wallyworldwgrant: for sure, that was in the prototypes23:27
wallyworldbut we haven't got to that in the implementation yet23:28
wgrantlifeless: Can I set the bugs-fixed-elsewhere hiding flag on prod?23:36

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