poolie | k | 00:00 |
---|---|---|
poolie | abentley: so the final gpg one: staging is oopsing too much to test it | 00:31 |
poolie | i don't seem to have broken anything at least :/ | 00:32 |
abentley | poolie: did you create that merge proposal, or did it already exist? | 00:35 |
abentley | poolie: I think you're hitting the bug where the staging librarian oopses instead of falling back to the production one. | 00:36 |
abentley | poolie: I bet you won't have that issue if you create a fresh merge proposal. | 00:36 |
poolie | ah, it already existed | 00:46 |
poolie | ok | 00:46 |
poolie | abentley: everything is qa-ok now, i believe | 01:06 |
abentley | poolie: great. | 01:07 |
poolie | can you tell me the url where i can check the unreleased changes? | 01:08 |
thumper | what is the name of the single signon project? | 01:23 |
wgrant | canonical-identity-provider | 01:23 |
thumper | ta | 01:25 |
lifeless | poolie: you might like the buffer bloat stuff thats getting airtime right now | 03:03 |
lifeless | poolie: vis-a-vis bzr network perf issues | 03:03 |
poolie | where? | 03:03 |
lifeless | http://gettys.wordpress.com/category/bufferbloat/ | 03:04 |
poolie | interesting | 03:15 |
lifeless | === Top 10 Time Out Counts by Page ID === | 03:18 |
lifeless | Hard / Soft Page ID | 03:18 |
lifeless | 286 / 6529 Archive:+index | 03:18 |
lifeless | 110 / 328 BugTask:+index | 03:18 |
lifeless | 36 / 268 Distribution:+bugs | 03:18 |
lifeless | 21 / 143 ProjectGroupSet:CollectionResource:#project_groups | 03:18 |
lifeless | 15 / 32 DistroSeries:+queue | 03:18 |
lifeless | 14 / 0 BinaryPackageBuild:+retry | 03:18 |
lifeless | 13 / 18 Archive:+copy-packages | 03:18 |
lifeless | 10 / 264 Distribution:+bugtarget-portlet-bugfilters-stats | 03:18 |
lifeless | 10 / 39 MailingListApplication:MailingListAPIView | 03:18 |
lifeless | 9 / 7 Person:+bugs | 03:18 |
lifeless | mwhudson: hey, how is vostok | 03:25 |
mwhudson | lifeless: resting | 03:26 |
lifeless | ah | 03:26 |
poolie | there are so many intranet hosts called portal.*.com, and so few of them actually let you play the game :-( | 03:28 |
spiv | poolie: haha | 03:49 |
poolie | :) | 03:50 |
poolie | how are you? | 03:50 |
poolie | i'm doing one of max's reviews | 03:50 |
poolie | i was looking into splunk earlier and it looks very good | 03:51 |
spiv | Good, about to flood the review queue slightly :) | 03:56 |
poolie | :) | 03:57 |
* spiv shifts to #bzr | 03:57 | |
poolie | thumper: don't suppose you're still here? | 07:14 |
thumper | poolie: not really | 08:22 |
adeuring | good morning | 08:36 |
=== almaisan-away is now known as al-maisan | ||
mrevell | Morning | 09:10 |
bigjools | morning people | 09:13 |
wgrant | Morning. | 09:18 |
jelmer | hi mrevell, wgrant | 09:31 |
wgrant | Morning jelmer. | 09:31 |
=== _mup__ is now known as _mup_ | ||
bigjools | wgrant: yo | 11:30 |
wgrant | bigjools: Hi. | 11:31 |
bigjools | wgrant: so the zombie sources are all these I think: http://pastebin.ubuntu.com/540590/ | 11:32 |
bigjools | does that query look sane to you? | 11:32 |
wgrant | It does. | 11:32 |
bigjools | it probably needs to ignore some more | 11:32 |
bigjools | stuff that went superseded in the minutes before the query runs will get picked up | 11:32 |
bigjools | maybe I can ignore stuff newer than an hour old | 11:33 |
wgrant | Yeah. Filter for older datesuperseded. | 11:33 |
wgrant | Or datecreated. | 11:33 |
bigjools | I'm going to convert that to an UPDATE to set spph.datepublished | 11:33 |
wgrant | Er. | 11:33 |
wgrant | Why? | 11:33 |
bigjools | fail | 11:33 |
bigjools | spph.scheduleddeletiondate | 11:33 |
bigjools | paste pebkac | 11:33 |
wgrant | The "Why?" still stands. | 11:34 |
wgrant | Mark the binaries Deleted, and the sources will be condemned automatically. | 11:34 |
bigjools | yes | 11:34 |
bigjools | I guess so, was gonna do binaries separately | 11:35 |
wgrant | The minimal hacker is to set the status and datesuperseded of the binaries. | 11:35 |
wgrant | Everything else will follow. | 11:35 |
wgrant | And I like minimal production DB hackery :) | 11:35 |
bigjools | yes ;) | 11:36 |
* bigjools cooks query to find associated binaries | 11:37 | |
bigjools | wgrant: sane? http://pastebin.ubuntu.com/540597/ | 11:58 |
bigjools | 5744 binaries! (I forgot the time constraint) | 11:58 |
bigjools | http://pastebin.ubuntu.com/540605/ is better | 12:00 |
wgrant | bigjools: You need to constrain bpph.archive, but otherwise it looks OK. | 12:07 |
bigjools | yeah was just making that change | 12:07 |
bigjools | trying to think whether I need to constrain on distroseries too | 12:07 |
wgrant | Also constrain the status. | 12:08 |
wgrant | We only care about published ones. | 12:08 |
bigjools | yes | 12:08 |
wgrant | Thinking about the distroseries thing... it probably won't make a difference, but try it both with and without. | 12:08 |
bigjools | hmmm, zero rows | 12:09 |
bigjools | removing the archive constraint makes it 1684 | 12:10 |
bigjools | 1584 | 12:10 |
wgrant | Which archive constraint? bpph.archive = spph.archive? | 12:11 |
bigjools | yeah | 12:13 |
wgrant | That has to be there. | 12:13 |
wgrant | So sounds like we've got something wrong. | 12:13 |
bigjools | wgrant: I think I know | 12:27 |
wgrant | Oh? | 12:27 |
bigjools | they are probably all copied | 12:27 |
bigjools | but that doesn't explain the lack of binaries causing domination to not set scheduleddeletiondate | 12:27 |
* bigjools looks at the code | 12:28 | |
wgrant | Right, they have to be in the same archive. | 12:28 |
bigjools | so they should get comdemned :/ | 12:29 |
wgrant | Well, no. Our query is wrong. | 12:29 |
bigjools | that is the other obvious problem :) | 12:29 |
bigjools | http://pastebin.ubuntu.com/540608/ | 12:30 |
bigjools | that's the current one | 12:30 |
=== Ursinha-afk is now known as Ursinha | ||
wgrant | bpph.id = binarypackagerelease.id and | 12:30 |
wgrant | Wut? | 12:31 |
bigjools | sigh | 12:31 |
bigjools | 2237 rows. hurray | 12:32 |
wgrant | I love typesafety :) | 12:32 |
bigjools | now to restrict on series | 12:32 |
wgrant | And status. | 12:32 |
wgrant | Status is far more pressing. | 12:32 |
bigjools | heh | 12:32 |
bigjools | down to 141 | 12:32 |
bigjools | which is odd, that's less than the number of source rows | 12:33 |
wgrant | Not terribly odd. | 12:33 |
wgrant | More relevant is how the number of archives in those rows compares to the number processed each time. | 12:33 |
bigjools | 141 again restricting the series | 12:35 |
bigjools | so that's pleasing | 12:35 |
wgrant | Excellent. | 12:35 |
bigjools | time to sweep up some cruft then | 12:35 |
wgrant | I'd compare the list of archives first... | 12:35 |
bigjools | mmm | 12:36 |
bigjools | 14 of them | 12:37 |
bigjools | wgrant: so there's actually 23 PPAs that come up on the query. However 4 of them don't appear in the publisher log. | 12:56 |
wgrant | bigjools: Are those archives disabled or unpublishable? | 12:57 |
bigjools | ah let me check | 12:57 |
bigjools | yup that's it | 12:59 |
bigjools | all deleted | 12:59 |
bigjools | no harm in fixing those publications anyway | 13:00 |
wgrant | How many of the archives in the log does that leave unfixed? | 13:00 |
wgrant | We need to do a mass-fixup of deleted archives' publications anyway. | 13:00 |
bigjools | I don't know, it's very hard to see what's genuine and what's not | 13:00 |
bigjools | the only way to tell is to see it repeated in the log each run | 13:00 |
wgrant | Right. | 13:01 |
bigjools | wgrant: http://pastebin.ubuntu.com/540616/ | 13:02 |
wgrant | bigjools: Do not touch SPPH. Set BPPH.status = Deleted and BPPH.datesuperseded = NOW() | 13:03 |
bigjools | wgrant: gah | 13:03 |
bigjools | right | 13:04 |
bigjools | I clearly need more coffee | 13:04 |
bigjools | if we set status=Deleted, I need to set the person who deleted it | 13:05 |
bigjools | or the UI will go bong | 13:05 |
bigjools | wgrant: http://pastebin.ubuntu.com/540622/ | 13:06 |
wgrant | bigjools: I don't think the UI will go bang. But I guess it might. | 13:08 |
bigjools | it's bad data either way | 13:08 |
wgrant | spph.datepublished is null and | 13:10 |
wgrant | I'm pretty sure that is crack, but it will only restrict the set to something less than it should be. | 13:10 |
wgrant | Otherwise it looks OK. | 13:10 |
=== Ursinha is now known as Ursinha-lunch | ||
deryck | gmb, I meant to ask you to look at bug 380362 if you could. | 14:25 |
_mup_ | Bug #380362: Launchpad couldn't import several bugs from Debian Bug tracker. <Launchpad Bugs:New> <https://launchpad.net/bugs/380362> | 14:25 |
deryck | may be an old one that is fixed, but the linked bug watches still have "can't find bug" or some such error. | 14:25 |
gmb | Ah, the neverending saga of debbugs watches. | 14:26 |
gmb | deryck: It's on my list for today. I'll try to poke at it when the LOSAs are available (they're currently tied up with another issue). | 14:26 |
deryck | gmb, ok, thanks. | 14:27 |
=== matsubara is now known as matsubara-lunch | ||
flacoste | deryck, abentley: the revert is missing qa tags and isn't recognised by qa-tagger, you should probably manually tag the bug | 14:49 |
deryck | flacoste, abentley did. That was my fault sorry. | 14:50 |
* deryck should never take theraflu during work days | 14:50 | |
abentley | flacoste: Because deryck did not use --rollback, I have tried to emulate it from the documentation, which says "The bug will be tagged as bad-commit-*, all the qa-* tags will be remove..." | 14:51 |
abentley | flacoste: I think there's some difference between documentation and implementation, but I'm not sure what's supposed to be done in this situation. Maybe roll it back to "in progress"? | 14:52 |
=== Ursinha-lunch is now known as Ursinha | ||
=== matsubara-lunch is now known as matsubara | ||
=== flacoste changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 10.12 | Performance Tuesday | PQM in RC mode | firefighting: - | Get the code: https://dev.launchpad.net/Getting | ||
gary_poster | sinzui: A few questions about https://bugs.launchpad.net/launchpad-foundations/+bug/684668 : May I toss it to registry, since we have no knowledge of these bits? If not, my impression is that this is not of high importantance: am I wrong? | 16:10 |
_mup_ | Bug #684668: Unable to delete messages from list archive <canonical-losa-lp> <Launchpad Foundations:New> <https://launchpad.net/bugs/684668> | 16:10 |
sinzui | gary_poster, yes | 16:11 |
gary_poster | thank you | 16:11 |
sinzui | gary_poster, I am sure it is an ml-archive-sucks bug. We know the message was deleted, but the page generator/squid cache wont show it gone | 16:11 |
gary_poster | ah, gotcha | 16:12 |
=== beuno is now known as beuno-lunch | ||
=== benji is now known as benji-lunch | ||
=== deryck is now known as deryck[lunch] | ||
=== beuno-lunch is now known as beuno | ||
=== benji-lunch is now known as benji | ||
=== al-maisan is now known as almaisan-away | ||
jml | hello | 18:12 |
pitti | hello | 18:12 |
pitti | benji, gary_poster: how are you? jml said you are the right persons to talk about this new keyring thing? | 18:13 |
gary_poster | pitti: hi, yes. did you see benji's reply on the pertinent bug | 18:13 |
pitti | yes, I just replied | 18:13 |
gary_poster | oh, lemme go look | 18:13 |
pitti | but I wondered why we deliberately broke existing API, instead of creating a new login_keyring() thing for keyrings | 18:13 |
pitti | that's not .. nice | 18:14 |
pitti | it suddenly breaks each and every script and cron job we've written | 18:14 |
pitti | and isn't noninteractive | 18:14 |
benji | your cron jobs use login_with? | 18:15 |
pitti | (and using a keyring by default is total overkill -- after all, you can just snatch the cookie from firefox) | 18:15 |
pitti | benji: sure | 18:15 |
benji | that's unfortunate | 18:15 |
pitti | that was _the_ primary function to get a Launchpad lib so far | 18:15 |
pitti | and it's also what the documentation said | 18:16 |
pitti | (e. g. https://help.launchpad.net/API/Examples) | 18:16 |
benji | even without the changes in the latest version, cron scripts using login_with are in a precarious sitution; if the credentials cache is ever removed or if the token is revoked on the server-side they will attempt to re-authenticate with a web browser | 18:19 |
benji | not to say that the situation isn't worth discussing, but one of the outcomes apparently needs to be some form of better advertising when the different APIs should be used | 18:21 |
pitti | benji: not really | 18:22 |
pitti | benji: first, it had a credentials_file argument, so that you can store them in a well-known placed | 18:22 |
pitti | and second, if you run the cron job manually the first time, it showed the URL to you, you could open it locally, and then you were fine | 18:22 |
gary_poster | benji, pitti, I'm a big +1 on getting pitti's scripts happy, both as an important user and as a representative. I'm happy to weigh in if needed, but mostly intend to get out of the way. A few notes: | 18:23 |
gary_poster | - the security implications of this have been looked at by many (including Kees, importantly), and I'd really prefer not to reopen them. | 18:23 |
gary_poster | - as you might expect, we believed that we were doing the right thing; what benji described was our understanding of the usage, and our expected usage. The examples you cite were part of the general difficulty we find ourselves in: we want to make the right thing happen by developers who don't want to worry about it, and who have not worried about it in the past. | 18:23 |
gary_poster | - we changed the behavior of login_with because it meant users that we were interacting with would not have to make a change to get the uniform behavior. uniformity on the desktop is very important for this effort. | 18:23 |
gary_poster | - our docs obviously needed and need improvement in this regard in particular. | 18:23 |
gary_poster | - leonardr, the person most connected with these changes, is not around this week, though benji and I should be able do a reasonable job. | 18:23 |
pitti | benji: I opened https://bugs.launchpad.net/launchpadlib/+bug/686690 about this | 18:23 |
_mup_ | Bug #686690: 1.8.0 completely breaks login_with() API (and forces keyrings) <launchpadlib :New> <https://launchpad.net/bugs/686690> | 18:23 |
pitti | I think we should probably discuss it there, to have a better paper trail | 18:23 |
gary_poster | pitti, your "and second" is exactly the kind of thing benji was describing | 18:23 |
gary_poster | pitti, the paper trail is the upside. The decreased speed is the downside. | 18:24 |
gary_poster | in this particular case, with leonardr not around, maybe the paper trail wins anyway | 18:25 |
pitti | I understand that you might want a different API on "desktopish" programs | 18:25 |
gary_poster | and we are dealing with an installed base | 18:26 |
gary_poster | that needs to be uniform | 18:26 |
pitti | but as it happens, most of our use cases (QA scripts, apport, ubuntu-archive-scripts, sru report, and what not) are not desktop apps | 18:26 |
pitti | the only non-"server"ish use case I know of is Ubuntu One | 18:26 |
gary_poster | nit: non-desktop apps are not a particular problem for this; cronscrpts are. | 18:27 |
gary_poster | ...a subclass... | 18:27 |
gary_poster | Ground Control | 18:27 |
gary_poster | others, I believe | 18:27 |
pitti | or in general, taking a well-established existing API and turning it into something entirely different | 18:27 |
pitti | even for desktop apps | 18:28 |
pitti | it now means that suddenly every desktop user needs to reauthenticate | 18:28 |
pitti | as their existing credentials files are ignored | 18:28 |
gary_poster | pitti, I think you are stretching your description ("entirely different"). from our perspective, the API presented a black box. the credentials files are generally not intended to be the domain of a launchpadlib-using script. But I also think that this part of the conversation is counter-productive. | 18:31 |
gary_poster | We have a use case and approach that has been vetted by more people than us. There is a reason that it is the way it is, and it has been discussed. I believe you have a valid, concrete concern for cronscripts that we did not foresee. We need to determine a way around this. | 18:31 |
gary_poster | One obvious approach is to change the scripts to use our expected approach. That is admittedly unfriendly, so even though I think that's the longer-term desire, we should do better now. | 18:32 |
pitti | couldn't we get a new API for using keyrings, and make keyrings optional? | 18:32 |
pitti | at least for a transition period of a year or so | 18:32 |
pitti | so that we have the new keyring API available for some time | 18:32 |
pitti | and everyone has time to port their stuff | 18:33 |
benji | we could; part of the motivation for the keyring integration is to support better desktop integration without the need for clients to change their API use. It would be great if we can fulfill that goal while also addressing the cron script problem. | 18:36 |
gary_poster | pitti, keyrings are "optional" right now in that, if there is not one available, the keyring library will do something else. You know that already. I *think* what is more important to you is that, if legacy credentials files exist, they are used. Is that in fact sufficient, or am I missing a detail? | 18:36 |
pitti | gary_poster: how can I make them optional? | 18:36 |
pitti | (and no, I don't know that already) | 18:36 |
gary_poster | oh | 18:36 |
pitti | if I run a script now, it creates a new keyring | 18:36 |
pitti | asks me for a passworrd | 18:36 |
pitti | (which can't be empty) | 18:36 |
pitti | and then subsequently asks me for that password again | 18:36 |
pitti | Waiting to hear from Launchpad about your decision... | 18:37 |
pitti | Please input your password for the keyring | 18:37 |
gary_poster | they are optional in the sense that, if there is not one around (e.g., not Gnome or KDE), it is not used. | 18:37 |
pitti | Password: | 18:37 |
pitti | that's what I get | 18:37 |
benji | I'm fairly certain that's the prompt for the encrypted file storage used when no keyring is available. | 18:38 |
pitti | well, I have GNOME running | 18:38 |
pitti | I didn't test it on a server with ssh yet | 18:39 |
gary_poster | right, the keyring library does not require a keyring implementation. It provides a backup. | 18:39 |
benji | apparently python-keyring can't communicate with the keyring for some reason | 18:39 |
gary_poster | (my comment is pertinent to "I didn't test it on a server with ssh yet") | 18:40 |
* gary_poster is going to be quiet about details because benji knows more than he about them | 18:41 | |
pitti | benji: note that we currently have a very old version of p-keyring in the archive; did you test this with 0.5? it might work better | 18:43 |
gary_poster | so far it sounds to me like (1) python-keyring is not happy on pitti's machine, which is worrisome; and (2) I'm not sure yet whether, if the first problem didn't exist, my proposal ("if legacy credentials files exist, they are used") is a sufficient compromise for this backwards compatibility problem. | 18:43 |
pitti | gary_poster: if the credentials_file parameter and existing cred files could continue to work, that'd pretty much solve the API break, I think | 18:43 |
pitti | as for (1), I have no idea, I'm afraid | 18:44 |
pitti | as I pointed out in the MIR, we should update to the current 0.5 upstream version first | 18:44 |
gary_poster | pitti, do you always use the credentials_file parameter in your scripts? | 18:44 |
pitti | it drops its own gnome-keyring module and uses libgnome-keyring, which is the right thing | 18:45 |
benji | pitti: yep, the latest launchpadlib is meant to be used with python-keyring 0.5, but I'm not sure if using an older version would work more pooly | 18:45 |
pitti | gary_poster: only for apport; for most scripts we just use the default in ~/.launchpadlib/ | 18:45 |
gary_poster | ah | 18:45 |
pitti | benji: ah, that could be it then | 18:45 |
pitti | (see above) | 18:45 |
pitti | sorry, need to leave for today | 18:46 |
pitti | thanks for the discussion so far! | 18:47 |
gary_poster | pitti, ack. I was hoping to only accept existing cred files if credentials_file were passed, and then issue a deprecation warning | 18:47 |
gary_poster | but that still sounds not good enough | 18:47 |
gary_poster | ok thanks | 18:47 |
gary_poster | benji or I will summarize in the bug | 18:47 |
pitti | ah, thanks | 18:47 |
pitti | I also sent a summary | 18:49 |
pitti | thanks, and good night! | 18:49 |
gary_poster | excellent, thanks | 18:49 |
gary_poster | night | 18:49 |
=== matsubara is now known as matsubara-afk | ||
=== abentley changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 10.12 | Performance Tuesday | PQM open for business | firefighting: - | Get the code: https://dev.launchpad.net/Getting | ||
=== salgado is now known as salgado-afk | ||
bdmurray | How come the apidoc lists getSpecification but it doesn't actually appear with a launchpadlib client? | 21:57 |
benji | bdmurray: does the version of the docs you're looking at and verion of the API match? | 22:00 |
bdmurray | benji: yes I'm using devel for both | 22:00 |
benji | hrm, might be a bug | 22:03 |
sinzui | benji, ping | 22:06 |
benji | sinzui: hi | 22:06 |
sinzui | benji, I want to subclass a Choice field to guard conflicting transitions between values. I am not sure if I should redefine _constraint() or _validate() | 22:07 |
sinzui | benji, The crux of the issue is that while the value is valid, it cannot be accepted because it violates another relationship. (something like a invariant, but between a hierarchy of objects) | 22:12 |
bdmurray | salgado-afk: I'm having some troubles using ubuntu.getSpecifications() that should work on devel right? | 22:14 |
benji | sinzui: I suspect using constraint() (no leading underscore) will be slightly easier. | 22:15 |
sinzui | benji, yes, sorry for the underscores | 22:15 |
benji | sinzui: note the interface difference between the two: constraint() should return a boolean, validate() should raise an exception (or not) | 22:16 |
sinzui | ah | 22:17 |
james_w | bdmurray, it should yes | 22:17 |
sinzui | benji, so I think I may want to define both for their respecting uses. | 22:18 |
benji | makes sense | 22:18 |
james_w | bdmurray, do other specifications things work? natty.valid_specifications worked for me on qastaging last week | 22:18 |
sinzui | validate() could call constraint() and convert False to TeamSubscriptionPolicyError | 22:18 |
bdmurray | james_w: no valid_specifications doesn't show up either but I'm production which seems to have the right revision | 22:19 |
james_w | bdmurray, you get "AttributeError"? | 22:20 |
benji | sinzui: the default implmentation (from Field) does something similar, validate() is responsible for calling constraint() and raising a ConstraintNotSatisfied error if a false value is returned | 22:21 |
bdmurray | james_w: yeah | 22:21 |
james_w | bdmurray, are you using it anonymously? | 22:21 |
bdmurray | james_w: no, I've seen that bug report too | 22:22 |
benji | sinzui: (ConstraintNotSatisfied is a subclass of ValidationError) | 22:22 |
james_w | bdmurray, it's working for me using "edge" | 22:22 |
sinzui | benji, thanks. I will follow that pattern. I was thinking or returning a very specific class of error with a meaningful reason. | 22:23 |
benji | yep; the default "Constraint not satisfied" isn't real helpful. | 22:23 |
james_w | bdmurray, works for me against production too. My guess would be cached wadl or it not actually using devel for some reason. | 22:30 |
bdmurray | james_w: okay, thanks I'll poke at it some more | 22:31 |
james_w | np | 22:31 |
=== matsubara-afk is now known as matsubara | ||
=== matsubara is now known as matsubara-afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!