/srv/irclogs.ubuntu.com/2010/01/05/#launchpad-dev.txt

thumperjml: and we don't allocate karma for packages00:00
jmlthumper, ahh ok.00:00
thumperjml: so at least three separate problems00:00
jmlthumper, where does the allocator live?00:00
jmlthumper, I'd be interested to figure out why I missed it.00:00
thumperwe are failing due to revision that are in project branches and package branches00:00
thumperand the package branch is found first00:00
thumperso being skipped00:00
thumpernow we are skipping 100 at a time00:00
thumperand selecting the same 100 every select00:01
thumperlp.code.scripts00:01
jmlthumper, I guess I mean, where was it a year ago :)00:01
thumperjml: probably scripts00:01
* thumper shrugs00:01
thumperjml: branch just got an is_junk attribute00:03
jml:(00:03
thumperjml: frowny for what?00:03
jmlthumper, I think it's better to say why you care if it's junk.00:03
thumperjml: I say where it is being checked00:04
thumperjml: but instead of checking either that the target is the owner, or checking product and distroseries00:05
jmlthumper, yeah, but you could give it a name in code, separating the fact about whether it belongs to a project from how we count karma.00:05
jmlthumper, certainly it's a step up from that.00:05
jmlthumper, why not check if the target provides karma for revisions?00:05
thumpermmm...00:05
jmlit's what we already do for MPs etc.00:06
thumperjml: heh00:07
thumperjml: BranchTarget already has assignKarma00:07
thumperalthough00:08
thumper...00:08
thumpernm00:08
thumper:(00:41
jmlthumper, wassup?00:43
thumpertest_karmaDateForFutureRevisions passes, but for the wrong reasons00:43
thumperthe revision karma stuff is a bit of a mess00:44
jmlthumper, it's good to spot it though, and then also to have the opportunity to fix it there & then :)00:45
thumperyeah00:45
thumperall this fixing to make the karma revision script run successfully again00:45
spmthumper: karma for yak shaving?00:54
thumper✁☹00:54
spmI'd say that's a yes then.. :-)00:54
=== chris|| is now known as chris|
* jml is off to lunch & errands.01:40
thumperphew01:52
thumperI think that is the revision karma issue dealt to01:52
thumpermwhudson: feel like a review?01:52
mwhudsonthumper: sure01:52
* thumper pushing now01:52
thumpermwhudson: proposed, email arriving soon02:03
mwhudsonthumper: looking now02:13
thumpermwhudson: thanks for the review03:21
thumpermwhudson: I've just finished clearing the code import queue03:21
thumpermwhudson: there were a lot of imports that needed tweaking03:21
thumperprobably 75% of them03:22
thumperhttps -> http03:22
thumperand missing /trunk03:22
thumperand bad certs03:22
thumperinvalid locations03:22
mwhudsonthumper: yeah :(03:32
mwhudsonwow, the failure mode of the multi-line editor isn't very good03:49
* thumper afk - bbl04:13
* mwhudson eods04:17
* jml errands04:25
jtvhi adiroiban!  did you manage to get through the delegates stuff?  :-)07:49
ArneGoetjeHi folks! I have a question: I'm looking for the latest translation tarball for cupsys for Hardy on launchpadlibrarian. According to the api it's this one: https://launchpadlibrarian.net/34788059/cupsys_1.3.7-1ubuntu3.6_amd64_translations.tar.gz , but it seems to have been garbage-collected. Isn't the latest version to be kept around? Could someone help me to find out what happened here?07:54
ArneGoetjeThe upload was on 2009-11-09, btw.07:55
jtvArneGoetje: looks like the soyuz folks aren't here yet  :(07:55
ArneGoetjejtv: thanks... will try again later07:55
wgrantArneGoetje: I think I know what the problem is.08:04
wgrantThose files weren't unembargoed.08:04
wgrantSo they're still sitting on the restricted librarian.08:04
ArneGoetjewgrant: 'unembargoed'?08:04
wgrantYou could ask a member of the security team to get it for you, if you need it quickly.08:04
wgrantArneGoetje: Security uploads are uploaded to a private PPA first.08:05
wgrantThey build there.08:05
wgrantThen they are copied into RELEASE-security in the public Ubuntu archive, and their files are made public.08:05
wgrant(private PPA files are normally stored in a special librarian instance, not accessible to the public)08:05
wgrantI'm checking the code now, but I suspect that custom uploads (like translations tarballs) are not moved across.08:05
ArneGoetjewgrant: aha... so, they should appear whenever the cupsys package hist hardy-security?08:06
ArneGoetjes/hist/hit08:06
wgrantArneGoetje: *should*, yes. But they haven't, because of this bug.08:06
ArneGoetjewgrant: bug?08:06
wgrantArneGoetje: Normal sources and binaries are moved from the restricted to the public librarian when a package is copied from the security P3A. But custom upload files are not. This is a bug, which I am filing now.08:10
wgrantArneGoetje: Also, those tarballs aren't expired at all yet -- even really old ones should still be there somewhere.08:12
ArneGoetjewgrant: got it. Thanks.08:13
wgrantBug #50325808:18
mupBug #503258: Custom upload file privacy not updated <Soyuz:New> <https://launchpad.net/bugs/503258>08:18
wgrantIt'll take some refactoring to fix.08:18
jmlg'night all08:26
mrevellMorning08:57
jtvoh, hi mrevell, hi henninge!09:07
henningehi jtv!09:07
adeuringgood morning09:15
al-maisanGood morning henninge and adeuring09:19
al-maisanhello jtv09:19
adeuringhi al-maisan!09:19
henningeHallo al-maisan und adeuring! ;)09:19
adeuringhi henninge!09:19
henningejtv: I saw Francis' approach went into a completely different direction than just picking a permission. What did you end up with?09:29
jtvhi al-maisan!10:35
al-maisanhello jtv!10:35
jtvhenninge: creating a new object10:35
jtvhenninge: instead of making IProduct, IProject & IDistribution inherit from IHasTranslationGroup, we'd have an adapter to give access to the translation group reference & access model: IHasTranslationGroup(ubuntu).translationgroup10:36
jtvhenninge: the object that the adapter produces delegates its two attributes to its context, so it's basically a 3-line class.10:37
jtvand then for IHasTranslationGroup we can have Edit permissions10:37
henningejtv: cool, I want to do something like that to add "is_admin" etc.  attributes to persons without blowing up the IPerson interface even further.10:38
henningebut I am not sure the blowing up is really an issue here.10:38
jtvwell, we have ITranslationsPerson now10:39
jtv(gah, fsck still not done)10:39
henningejtv: where, has it landed?10:39
jtvhenninge: ages ago, no?10:40
henningejtv: oh, I was not aware of it. Lemme look what it is.10:40
jtvlp.translations.interfaces.translationsperson.ITranslationsPerson10:40
jtvjust "the Translations aspects of Person"10:41
jtv...and also done as an adapter.10:41
henningejtv: ah, cool10:41
deryckMorning, all.11:10
=== mpt_ is now known as mpt
jtvhi deryck11:19
jtvbigjools: ArneGoetje couldn't find a particular package's translations tarball (in hardy, I think) that we think should be in the librarian.  Can you help?11:20
henningejtv: TranslationsPerson doesn't do the delegation you describe for IHasTranslationGroup. Do you have an example for that?11:20
jtvhenninge: no, these two things are completely unrelated (apart from the adapters)11:21
jtvhenninge: TranslationsPerson is "the Translations aspects of Person."11:21
bigjoolsjtv: not right now, can I get back to you later11:21
wgrantjtv, bigjools: Bug #50325811:21
mupBug #503258: Custom upload file privacy not updated <Soyuz:New> <https://launchpad.net/bugs/503258>11:21
jtvhenninge: IHasTranslationGroup is the part where we discussed design with Francis.11:21
jtvbigjools: thanks11:21
henningejtv: I am aware of that.11:22
bigjoolswgrant: groan :(11:22
wgrantbigjools: Yeah, it's not a really easy fix.11:22
jtvhenninge: oh, I misunderstood then... what was the connection supposed to be?11:22
bigjoolswgrant: why do you say that?11:22
henningejtv: when you say "delegates", I understand that that the object the adapter produces has all the attributes of the original object plus the IHasTranslationGroup attributes, right?11:23
jtvArneGoetje: see wgrant's note... bug 503258 may be related to your problem11:23
mupBug #503258: Custom upload file privacy not updated <Soyuz:Triaged> <https://launchpad.net/bugs/503258>11:23
jtvhenninge: ah!  no, the object provides only IHasTranslationGroup (with those 2 attrs)11:24
jtvit implements _those_ by delegating to its context—either Distribution or Product or Project.11:24
henningejtv: ok, so it is a normal adapter11:24
henningeI see11:24
wgrantbigjools: Things will need to be shuffled around, since the code that does the privacy updating only knows about the [SB]PPH.11:25
wgrantSo it's not hard, just not as trivial as it would seem from the description.11:25
bigjoolsright11:25
* bigjools hopes the phone line holds up to the snow here11:26
bigjoolswgrant: what is the manifestation of this problem?11:27
bigjoolsthe publisher will still work fine11:28
wgrantbigjools: Translation tarballs for security updates are inaccessible, which makes ArneGoetje sad.11:28
bigjoolsinaccessible by what means?11:28
wgrantbigjools: The URLs exposed through the API and +queue.11:28
bigjoolsoh, this is the thing we did recently11:28
bigjoolsthe new custom type that only sits in the libraria11:29
bigjoolsn11:29
wgrantNo, no.11:29
wgrantThis is boring old raw-translations that has been around for years.11:29
wgrantBut it also affects the new raw-translations-static, yes.11:29
bigjoolsraw-translations will be in the archive11:29
wgrantIn a processed form, yes.11:30
bigjoolser, it doesn't do any processing?11:30
wgrantDon't they go into rosetta, which then produces langpacks?11:30
bigjoolsthe only place that won't be able to see them is the UI11:31
bigjoolsscripts will be fine11:31
bigjoolsbut anything that is uploaded is placed in the archive verbatim11:31
wgrantCustom uploads aren't.11:32
wgrantDDTP/dist-upgrader/d-i are extracted, normal translations are sent to rosetta, and static translations just live in the librarian.11:33
wgrantI'm not sure for what purpose a raw-translations tarball is useful, but raw-translations-static is certainly useful, and regardless this is a bug.11:34
bigjoolsI still don't understand where the problem is11:35
bigjoolsbasically because I don't know much about translations11:36
wgrantIt's a bug regardless of whether there is a use for the translations tarballs. https://edge.launchpad.net/ubuntu/hardy/+queue?queue_state=3&queue_text=redhat-cluster&start=90, expand the bottom upload, and look at the URLs produced for the translations tarballs.11:37
=== matsubara-afk is now known as matsubara
wgrantnoodles775: Since you seem to be amassing quite a collection of corrupt builds, do you have any idea what happened to the single build on https://edge.launchpad.net/~mudlet-makers/+archive/ppa/+builds?build_state=building?12:34
* noodles775 looks12:35
noodles775wgrant: nope - but it looks dangerous (thinks it's building but doesn't have a builder associated with it's buildq entry.)12:39
noodles775The state looks similar to bug 499421 (for which we haven't yet determined the cause)12:40
mupBug #499421: Build farm grinds to a halt with inconsistent build <Soyuz:Triaged by michael.nelson> <https://launchpad.net/bugs/499421>12:40
wgrantnoodles775: Right, that's why I brought it up.12:40
wgrantIt's all rather broken :(12:40
noodles775I'm guessing that it's date_started is still null (hence not causing the bf to collapse).12:41
noodles775Yes, it is... we had some large branches go in last cycle which didn't get enough dogfooding, I think.12:41
wgrantIt has a date_first_dispatched, but it doesn't look like the Job is accessible through the API.12:42
noodles775Nope. I'm looking through retryDepWaiting atm (for bug 499421 - as it seems to be a commonality for those examples of corrupt builds).12:44
mupBug #499421: Build farm grinds to a halt with inconsistent build <Soyuz:Triaged by michael.nelson> <https://launchpad.net/bugs/499421>12:44
noodles775erm, 499095, that would be.12:45
wgrantnoodles775: It doesn't look like any of those three depwaited.12:48
wgrantDo you have evidence that they did?12:48
noodles775wgrant: the two builders listed on the build page (one is from build.builder, the other from buildqueue.builder).12:49
* noodles775 rechecks *when* build.builder is set.12:49
* wgrant is really not a fan of this data model.12:50
noodles775The buildqueue entry is only temporary, the build records which builder *built* the package as a permanent record. And yes, it'd be unreal to have the time to refactor a lot of this.12:52
wgrantYep.12:52
wgrantnoodles775: I find it suspicious that it looks like they all ended up GIVENBACK.13:02
wgrantAnd the response for a GIVENBACK build isn't particularly sane.13:02
wgrantAlthough it does set the status properly :(13:03
wgrantOh.13:03
wgrantMaybe not.13:03
wgrantHmm. Two statuses == confusing.13:03
ArneGoetjewgrant: the raw-translation tarballs are useful for us Ubuntu Translation Coordinators to figure out why certain templates and .po files have not been imported into Rosetta. Instead of rebuilding the package from source and stripping out the translations by ourselves, we just need to download the raw-translation tarball and get everything like Rosetta sees it.13:08
wgrantbigjools: ^^13:08
noodles775wgrant: Yeah, we're definitely not setting the job's status properly (afaics), but I hadn't noticed the GIVENBACK - I'll look more closely after lunch (ping me if you find anything more - or add a comment on the bug, thanks!)13:08
wgrantnoodles775: I'm poking around to work out how this new job stuff works (or doesn't).13:08
noodles775great.13:09
=== mrevell is now known as mrevell-lunch
sinzuiHELP: I need help with a branch. I am exposing an wsop parameter over the API, except that my tests show that it does not work--the arguments are ignored.14:10
* al-maisan wonders what an "wsop parameter" is..?14:18
=== mrevell-lunch is now known as mrevell
=== mrevell changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 1 of 10.01 | PQM is open | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes
sinzuiEdwinGrubbs: skype?14:40
EdwinGrubbssinzui: it's on. can you see me now?14:40
sinzuiEdwinGrubbs: I do see you14:41
=== carlos_ is now known as carlos
abentleyjtv: TestTranslationsImport.test_handle_serious_error and test_handle_unexpected_exception are leaving a dirty environment-- they're causing errorlog.globalErrorUtility to be reconfigured.14:53
=== matsubara is now known as matsubara-lunch
jtvabentley: sorry for the trouble... looking it up now, but will have to go soon14:55
abentleyjtv: I'm motivated to fix it, but I'd like your idea of the best fix.14:55
abentleyjtv: What14:55
abentleyjtv: What's happening is the tests are calling main() on a script.14:56
jtvabentley: isn't that the right one to invoke?14:56
abentleyjtv: And scripts, because they expect to run in an empty environment, set the error handling up.14:56
jtvah, I thought that was all nicely isolated in self.logger14:57
abentleyjtv: You thought the test runner would be resetting the error handling?14:58
jtvabentley: no, I thought the script's error handling setup wouldn't mess with global state.  :-(14:59
abentleyjtv: I think it's reasonable to expect scripts to mess with global state.  But we could patch this one by just doing addCleanup.14:59
abentleyjtv: I usually run scripts in a subprocess to better mimic the conditions they'll run in.15:00
jtvabentley: yes, but I do minimize that because it's incredibly expensive.15:00
jtvI once sped up the test suite by several minutes just by reducing the number of script runs in one test.15:01
abentleyjtv: So I think our options are: 1. run in a subprocess, 2. addCleanup, 3. run something other than main, 4. take the error handling setup out of main15:01
jtvabentley: is the setup really done in main though?15:02
jtvas opposed to the LaunchpadScript constructor?15:02
abentleyjtv: po_import.py:14215:02
jtvabentley: ahhhh, _that_15:05
jtvthe oops logging15:05
jtvwould it be terribly evil to add a "kill switch" that suppresses it in tests?15:06
jtvsimilar to test_args15:06
abentleyjtv: I could live with that, but I think we can probably stick it into the standard setup.15:08
jtvabentley: for all scripts, you mean?  I guess we could just reuse the script name we pass to the LaunchpadScript ctor anyway...15:10
abentleyjtv: No, I mean that the import script could reimplement LaunchpadScript.run to set up the oops handling first.15:11
jtvoic15:12
=== salgado is now known as salgado-lunch
jtvabentley: maybe there is already some appropriate callback in LaunchpadScript to stick this in?15:12
abentleyjtv: There doesn't seem to be a setUp/tearDown pair, if that's what you're thinking.15:13
jtvwell we wouldn't even need a teardown if we can elide it altogether15:13
jtvsomething similar to _init_zca and _init_db15:14
jtvdo you think anybody would do a run() in-process from a test?  If not, run() could also just initialize this regardless15:15
abentleyjtv: My reading is that there's no setUp -- LaunchpadScript.run serves that purpose.15:15
abentleyjtv: I think that run() from a test would fail horribly, because it would leave a very dirty environment.15:16
abentleyjtv: I think it's fine to do it always in run.15:16
jtvabentley: iirc I copied all this from one of your scripts in the first place, so that script might be affected as well :-)15:17
abentleyjtv: With the difference that I didn't *expect* calling main() to work :-)15:18
jtvabentley: with this change, future generations will look at _your_ tests and ask "wtf didn't he just call main()?"  :-P15:19
abentleyjtv: I don't think so.  I have about two integration tests, and the rest are unit tests.15:23
adiroibanjtv: is this ok to change the browse/configure.zcml in this way http://paste.ubuntu.com/351825/ ?15:31
adiroibani don't know where to plug the adapters and delegates in the current LP setup15:31
jtvadiroiban: a separate IProductTranslationPolicy..?15:32
adiroibanjtv: i'm lost15:32
adiroibanif I will leave IProduct, how can I check the special permission with launchpad.Edit?15:33
jtvahh15:34
jtvunfortunately right now I'm way too tired to think about new problems!15:34
adiroibanjtv: ok. np. we can talk tomorrow morning15:34
jtvthe adapter part is easy: you basically say in zcml that the class is the factory for the objects—search for "adapter"15:35
jtvyes, talk tomorrow... but definitely thanks for working on this!15:35
adiroibannp15:35
adiroibanthe adapters should go in lp/translations/adapters.py ?15:36
Ursinhabigjools, hello :) happy new year15:36
adiroibanthere is no adapters.py for translations15:36
bigjoolsUrsinha: Happy new year!15:37
=== beuno is now known as beuno-lunch
Ursinhabigjools, :)15:37
Ursinhabigjools, well, I have one oops... :)15:37
Ursinhabigjools, https://edge.launchpad.net/~mudlet-makers/+archive/ppa/+build/1376913 is oopsing, seems to be bad data15:37
bigjoolsdoesn't surprise me15:37
adiroibanjtv: let's leave this for tomorrow15:38
bigjoolsnoodles775: ^^15:38
Ursinhabigjools, https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1462F5115:38
jtvadiroiban: thanks for understanding :-)15:38
=== jtv is now known as jtv-zzz
noodles775bigjools: yes, I saw it earlier (wgrant pointed it out), it's another building build without a bq.builder.15:39
bigjoolsok thanks15:39
adiroibanhenninge: can you take a quick look at bug 340664 (screenshots) and tell me is this is how the bug should be fixed ?15:39
mupBug #340664: Add administration page for all POTemplates in ProductSeries or DistroSeries <ui> <Launchpad Translations:In Progress by adiroiban> <https://launchpad.net/bugs/340664>15:39
henningeadiroiban: looking15:39
henningeadiroiban: it is possible that this book was overlooked when implementing +templates.15:41
jtv-zzzabentley: gotta go now... thanks for cleaning up my mess, and repeated apologies for making it!15:42
adiroibanhenninge: i don't know the story (history) behind +templates15:42
abentleyjtv-zzz: no problem.15:42
adiroibanI just saw this is a high priority bug15:43
adiroibanand tried to nail it15:43
henningeadiroiban: cool, so you'll just have to add more columns to the table, right?15:43
adiroibanI added the one that can we seen in the screenshot15:44
adiroibanadding columns is easy...15:44
henninge;)15:44
Ursinhabigjools, noodles775, should I open a bug for that oops or there's one already?15:44
adiroibanmaking +templates not die in Ubuntu is the hard part15:44
adiroibanbut I assume this is another bug15:44
noodles775Ursinha: I haven't seen a bug for it yet, so that would be great. Thanks.15:45
henningeadiroiban: well, I tried to fix that before but I guess it needs some more work.15:45
bigjoolsUrsinha, noodles775: wait, we have plenty already?15:46
henningeadiroiban: anyway, for this but I am just not sure if Priority is really used much. Do you know if people actually use it? Why did you putit to the front?15:46
henninges/but/bug/15:46
Ursinhabigjools, not really, I saw one in jan 1st15:46
=== deryck is now known as deryck[lunch]
EdwinGrubbssinzui: you're missing a "d" for created_after and created_before.15:47
bigjoolswhat I mean is, we already have bugs covering this issue15:47
noodles775bigjools: for that situation? I haven't seen one? (ie. the bq.builder is empty, buildstate is BUILDING but it's not causing 449421 as the date_started (i'm guessing here) is still null).15:47
* sinzui plants hand in face15:48
sinzuiEdwinGrubbs: Thank you for pointing my incompetence.15:48
jtv-zzzhenninge: in my current state I shouldn't comment on bugs, but credits cleanup completed 2009-12-24... if there is still a problem, then that is indeed a new bug15:48
noodles775bigjools: But maybe it's an older issue? - I haven't looked further than the 2 current bad build data bugs.15:48
* henninge whispers in jtv-zzz's ear, so not to wake him but to appear in his dreams:15:49
sinzuiWhy hasn't edge updated in several week?15:49
henningeI'll watch it...15:49
bigjoolsnoodles775: ok let's check the prod data to see what state it's in15:49
jtv-zzzhenninge: :)15:50
henningeoh how cute, he smiles in his sleep !15:50
adiroiban:)15:51
* sinzui suspects that mrevell is trying to get more karma then sinzui15:54
mrevellsinzui, haha, you've discovered my plan :)15:54
sinzuimrevell: you can win the karma race by fixing the status and priority of the hundreds of old blueprints that claim to be High and inprogress15:55
=== matsubara-lunch is now known as matsubara
james_wwhere would I find the tests for ./scripts/ftpmaster-tools/sync-source.py ?16:11
bigjoolsjames_w: hahahaha16:18
james_wthought so16:19
henningesinzui: Did you request / start an update for edge? It's become awfully slow for me.16:21
sinzuihenninge: no. I was asking why edge is more than a week old16:22
* sinzui cannot do QA testing16:22
henningesinzui: while you are not QAing, do you have a few minute for a pre-imp conversation?16:23
sinzuihenninge: yes16:23
henningesinzui: cool16:24
henningesinzui: I'd like to implement this: http://paste.ubuntu.com/351849/ as an adapter on IPerson.16:25
henningesinzui: The adapter the adapted object would be passed to the checkAuthenticated methods in security.py as the user paramter (instead of an IPerson).16:26
sinzuihenninge: I like your proposal16:27
sinzuiDoes it need to be extended to support private bugs and branches?16:28
henningesinzui: I don't understand.16:29
henninge?16:30
henninge_sinzui: I don't understand?16:31
sinzuihenninge: Access control to a private object may require tests like: isBugSupervisor(obj), isBugSubscriber(), isBranchSubscriber()16:31
henninge_sinzui: oh, it can be extended for other needs, I don't mind that.16:32
sinzuihenninge_: I image that this class would be near ILaunchpadCelebrity16:33
henninge_sinzui: OTOH the person object remains accessible through the picon attribute16:33
henninge_sinzui: yes, I am not sure if it is really part of registry of foundations.16:34
henninge_s/of/or/16:34
henninge_s/picon/person/16:34
henninge_how did that word get inthere ... ;)16:35
sinzuihenninge_: this object crosses boundaries. We do not want lp/registry person to know about celebrities which is the lp/app.16:35
=== beuno-lunch is now known as beuno
sinzuihenninge_: My real concern is not where the code is, but that we need this object synced with LaunchapdCelebrity16:36
henninge_sinzui: I see. I was going to put that in the tests.16:36
henninge_sinzui: whenever a Person celebrity is added or removed from LPCelebrity, the test fails.16:36
sinzuihenninge_: I this PersonMembership is too ambiguous. This class is a security helper for celebrities16:37
henninge_sinzui: "PersonCelebrityHelpers" ?16:37
henninge_sinzui: some automatic relationship to LPCelebrities could be possible, too.16:39
sinzuiI think IPersonCelebrity will do16:39
henninge_sinzui: ok, I am fine with that.16:39
henninge_sinzui: although the methods in the interface don't deal with celebrities at all.16:40
sinzuiI cannot think how to test that a property added to ILaunchapdCelebrity has a counterpart  in IPersonCelebrity16:40
henninge_sinzui: there is PersonCelebrityDescriptor that counts Person celebrities in a class attribute.16:41
sinzuihenninge_: okay16:41
henninge_lists them, even.16:41
=== henninge_ is now known as henninge
henningesinzui: I'll file a foundations bug about it, I think.16:46
sinzuihenninge: the methods are fine for the name, but a better name might be IPersonRoles.16:46
henningegood one!16:46
tsimpsonregarding bug #385517 does this require a (to be) updated version of launchpadlib or can it be used with the current version?16:47
mupBug #385517: launchpadlib users made to authenticate unnecessarily <Launchpad Foundations:Fix Released by leonardr> <https://launchpad.net/bugs/385517>16:47
henningesinzui: but wait, weren't there plans for "roles" in Launchpad?16:47
sinzuihenninge: I has proposed IRole in the past as a way to mange predefined roles in launchpad, and as a way to let users create arbitrary roles. They include owner and driver, but might also include designer16:47
henningesinzui: oh, so this is going in a very similar direction.16:48
sinzuiyes16:48
henningesinzui: I am glad you like it. I'll put it in a bug. It should not be too hard to implement. (Famous last words)16:49
sinzuiDo you have an immediate use?16:50
henningesinzui: I want to get rid of the permission_helpers.py file that I introduced two branches ago before others start accumilating stuff in there ... ;)16:50
henningeaccumulate?16:51
sinzuiah16:51
henningeso this really is a tech-debt thing16:51
=== salgado-lunch is now known as salgado
=== deryck[lunch] is now known as deryck
henningesinzui: cheers, it's bug 50345417:06
mupBug #503454: Make checks for celebrity persons and roles easier <Launchpad Foundations:New> <https://launchpad.net/bugs/503454>17:06
sinzuihenninge: I tagged the bug with tech-debt to give it more justification to work on now17:13
henningesinzui: thanks, I'll be quick ;)17:13
james_wis there no way to tell shhh.py to get out of the way?17:39
james_wah, I can tell make not to use it17:40
matsubaraI'm getting a sh: apr-1-config: not found error when I run rocketfuel-get, anybody know what can I do to fix it? (pastebin: http://pastebin.ubuntu.com/351886/)17:41
james_wmatsubara: you probably need to install libapr1-dev17:43
matsubarajames_w, installing libapr1-dev solved the problem. thanks!17:57
james_wnp17:57
mrevellnight all18:01
rockstarabentley, hi18:25
abentleyrockstar: Hi18:25
rockstarHave you ever had problems calling create_branch_and_tree twice in the same test?18:25
abentleyrockstar: I don't think so.18:26
rockstarabentley, I'm seeing where it tries to create the tree on top of the already created tree.18:26
abentleyrockstar: Are you specifying a tree location?18:27
rockstarabentley, no, and looking at the code, I 'spose I should.  :)18:28
abentleyrockstar: I think that would resolve this problem.18:28
abentleyrockstar: Maybe we should use pseudo-random tree names instead of '.' by default?18:29
rockstarabentley, yeah.  I expected it to create its own dir to put the tree in.  Maybe we ought to modify it to do that.18:29
rockstarabentley, great minds think alike?18:29
rockstar(and then I play catch up?)18:29
abentleyrockstar: Yeah.  I think I was apeing the Bazaar testing methodology too closely when I did that.18:31
abentleyrockstar: doing that now may break a lot of tests, but I suppose we can rewrite them easily enough.18:32
rockstarabentley, hm, maybe I should re-think that approach then, and just make my test pass.18:32
abentleyrockstar: rewriting those tests would mean supplying an explicit '.'18:33
rockstarabentley, yeah.  :)18:34
rockstarabentley, I'm just trying to minimize the changes I make in this branch.18:35
Ursinharockstar, abentley, are you aware that +code-import-list is oopsing?18:35
rockstarUrsinha, I am now.18:35
Ursinhahttps://code.edge.launchpad.net/+code-import-list18:35
rockstarUrsinha, eep.18:35
Ursinharockstar, care to take a look?18:37
rockstarUrsinha, I think I have a good idea.18:37
rockstarUrsinha, is there a bug filed?18:38
Ursinharockstar, there is now: bug 50347918:39
mupBug #503479: +code-import-list OOPSing with AssertionError <oops> <Launchpad Bazaar Integration:New> <https://launchpad.net/bugs/503479>18:39
* rockstar locates food18:55
mwhudsongood morning19:51
thumpermorning20:08
abentleymorn20:17
abentleymwhudson, thumper, rockstar: are we standupping?20:18
thumpersinzui: got a minute?20:29
thumperflacoste: are we talking today?20:29
flacostethumper: we should20:29
sinzuithumper: yes20:29
=== matsubara is now known as matsubara-afk
=== salgado is now known as salgado-afk
thumpersinzui: I've made the branch for the product series permissions, but need help with the location for the test21:52
sinzuithumper I tend to add a permission checks to the browser/tests or docs/21:54
thumpersinzui: suggestions of where to put the test for launchpad.edit for the productseries?21:55
sinzuithumper: I see that productseries-views.txt is using check_permission so that is one place21:56
sinzuiand doc/productseries.txt also uses check_permission to verify objects21:57
* mwhudson afk for an early lunch22:54

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