/srv/irclogs.ubuntu.com/2012/03/22/#launchpad.txt

=== Ursinha is now known as Ursinha-away
rsalvetiis there a way to list the packages at a ppa that are superseded by a newer ones at ubuntu?05:43
rsalvetilike https://launchpad.net/~linaro-maintainers/+archive/overlay/+packages?field.name_filter=&field.status_filter=published&field.series_filter=oneiric05:43
rsalvetithe package lightdm05:43
rsalvetithere's a (Newer version available) at it's name05:43
rsalvetilooking to automate that with launchpadlib05:43
rsalvetibut the package status at the ppa is still Published, what makes sense, but didn't see an easy way to match with the package version available at ubuntu05:44
rsalvetijust wonder how that is done at the launchpad ppa interface05:44
lifelessrsalveti: apt/dpkg version comparison is what you need06:08
lifelessthere isn't a magic search no06:08
lifeless(at least, I don't think there is)06:08
rsalvetilifeless: guess I could iterate over the source package names and compare with the latest from same series at ubuntu06:09
rsalvetiit's not optimal, but works06:09
lifelessderived distributions can do it very nicely, but that is separate to ppas06:09
rsalvetiyeah06:09
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm
feastyIs anyone able to moderate bug report? There's a couple of idiots messing one up: https://bugs.launchpad.net/ubuntu/+source/light-themes/+bug/92589509:59
ubot5Ubuntu bug 925895 in light-themes (Ubuntu Precise) "Ambiance sub-menus light like Radiance after latest light-themes update." [High,Invalid]09:59
czajkowskifeasty: what do you mean?09:59
feastyLook at the last comments. Theyre just swearing, arguing and not concentrating on the actual bug. Theyre setting it to invalid then to incomplete, then invalid because theyre ididots10:00
feastyTheir comments arent related and this bug is being dismissed when it's a legit bug!10:01
feastyOr at least appears to be...10:01
czajkowskiI'll poke someone on unity10:02
feastyCheers10:02
czajkowskifeasty: there is no spam on the bug, there is a discussion happening, you can change your bug mail on the bug so you don't see the notifications10:20
feastyI'm not worried about the mail but people were messing with it's status. The discussion was declining into something irrelevant, that is all. I just didn’t want the report to become disregarded because of it :o).10:24
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm
=== wedtm is now known as wedtm|away
=== jtv is now known as mup
=== mup is now known as jtv
=== wedtm|away is now known as wedtm
=== wedtm is now known as wedtm|away
=== Ursinha-away is now known as Ursinha
=== wedtm|away is now known as wedtm
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm
=== wedtm is now known as wedtm|away
=== yofel_ is now known as yofel
adeuringabentley: yes.14:54
adeuringwhere is the problem?14:54
adeuringabentley: look at lib/lp/registry/tests/test_process_job_sources_cronjob.py , or the diff for that file. The tests are about the log messages14:55
abentleyadeuring: The problem is that job_str is used elsewhere, and that makes you reluctant to define a proper default repr.14:55
abentleySo I recommend using %r in the "Running" message, using class name in job_str, and defining a proper default repr.14:56
adeuringabentley: I don't mind to change __repr__ in lazr.jobrunner -- i did not dio it yet out of lazyness because it requires additional changes to the tests in lazr.jobrunner. but it not a rela problem for me to makle them14:57
adeuringabentley: no, we should not use the class name. Look at lib/lp/registry/tests/test_process_job_sources_cronjob.py14:57
adeuringabentley:  lines 10 and 19 in the diff14:58
adeuringabentley: 'about ~murdock in ~a-team; status=Waiting>')14:58
adeuringabentley: that's why I want to use __repr__ in job_str14:58
sinzuiadeuring, I think persontransferjob and productjob also use classname in __repr__14:59
adeuringsinzui: right, I think that's fine15:00
abentleyadeuring: lines 10 and 19 are "Running" lines.  I suggested changing Running messages to use %r, as they have previously.  Then changes to job_str would not affect them.15:00
adeuringabentley: ok, the we can simply delet job_str, I think15:01
adeuringabentley: ah, no, it's still used in one place15:02
adeuringbut we could use '%r' % job there too15:02
abentleyadeuring: I'm a bit confused about what you've done here.  Have you consolidated two messages into one?15:03
adeuringabentley: which two messages?15:03
abentleyadeuring: runJob emits "Running %s in status %s" and runJobHandleError emits "Running %r"15:04
adeuringabentley: right. I did not see the point to have the separate message from runJobHandleError() in the old implementation. The next one from runJob() will follow immediately15:07
adeuringabentley: but can we first finish the discussion about job_str, __repr__, and related log messages?15:07
abentleyadeuring: Sure.15:08
abentleySo, now that I understand the runJobHandleError message is gone, ISTM that the runJob message must contain the job id.15:09
abentleyAnd it also makes sense to use the repr in that message.15:09
adeuringabentley: personally, I don't have any real pinion if we should use job_str or __repr__ directly to log things, but job_str has the advatage to add the job ID15:09
adeuringabentley: right, that's the poit15:10
abentleyadeuring: Sure, we can kill two birds with one stone by using the repr in job_str.15:10
abentleyadeuring: If you want to use a weird repr in order to land your code, that's okay with me, as long as we fix it later.15:11
adeuringabentley: as I said, I don't mind to change the __repr__ of class Job in lazr.jobrunner to show just <Job> instead15:12
abentleyadeuring: Okay, great.15:12
abentleyadeuring: let's do that, then.15:12
adeuringok15:13
abentleyadeuring: I don't want to land ~adeuring/launchpad/lp-lazr.jobrunner until we're sure runJobHandleError has not regressed in handling database errors.  I think we need a test for that.15:18
adeuringabentley: right. But taht we be a bit difficult to test in lazr.jobrunner itself.15:19
adeuring(without pulling in STorm)15:19
abentleyadeuring: testing it in Launchpad would be fine.15:19
adeuringabentley: but... the issues with runKobHandleError are already in lazr.jobrunner/trunk, I think, and my most recent branch does not affect the known problem15:21
abentleyadeuring: Your branch makes Launchpad start using lazr.jobrunner, so they introduce a regression into Launchpad.15:22
adeuringabentley: ak, right I swapped the two braches (LP main and the lazr one) mentally15:22
ujjainDoes Launchpad really have to approve my pot files?15:30
czajkowskiujjain: yes in some cases15:31
czajkowskibut it's done very regularly15:31
ujjainLaunchpad still puzzles me.15:32
ujjainIt seems imported, thanks.15:32
ujjainCan I keep reuploading pot files without losing translations from previous pot files?16:00
=== matsubara is now known as matsubara-lunch
ujjainHow can I delete a translation import?16:24
ujjainit keeps saying Translated so far: 0%16:49
ujjain90 untranslated.16:50
rick_hjono: ping, did you ever figure out what was up with your download cache from using the api the other day? Wonder if this is the issue: https://bugs.launchpad.net/lazr.restfulclient/+bug/45941816:50
ubot5Ubuntu bug 459418 in lazr.restfulclient "Cache is not safe for concurrent use (by processes or threads)" [High,In progress]16:50
jonorick_h, I didn't, but my script runner got stuck in an infinate loop which may have caused the isssue16:51
rick_hah, ok then16:51
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
=== matsubara-lunch is now known as matsubara
pfarrellon https://code.launchpad.net/~libadjoint/+recipe/dolfin-adjoint-daily: is it possible to delete the ones going to "AMCG packaging"? I started them by accident.19:09
=== epsy is now known as \u03b5
=== wedtm|away is now known as wedtm
=== matsubara is now known as matsubara-afk
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm
=== mwhudson_ is now known as mwhudson
=== wedtm is now known as wedtm|away
=== wedtm|away is now known as wedtm

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