/srv/irclogs.ubuntu.com/2012/01/06/#ubuntu-release.txt

=== doko_ is now known as doko
micahghi doko, if I have an FTBFS fix for a new package, should I sync from Debian first, then upload the fix?07:07
dokoI don't mind ;)07:08
micahgI'm just wondering what's better in terms of archive integrity07:08
micahgdoko: ok, animal-sniffer in NEW07:10
micahgBTW, this fixes a depwait :)07:11
micahgdoko: assuming it was you, thanks07:42
pittiGrueMaster, slangasek: -omap kernel> argh, I thought I caught them all when overriding; sorry07:50
pittino idea how that one weaseled out :(07:50
=== rickspencer3_ is now known as rickspencer3
cjwatsonWhy does http://reports.qa.ubuntu.com/reports/kernel-bugs/reports/rls-p-tracking-bugs.html only have one entry?  That looks wrong.12:13
=== bladernr_afk is now known as bladernr_
cjwatsonLaney,tumbleweed: if all autosyncs started to be done like https://launchpad.net/ubuntu/+source/autodocktools/1.5.6~rc2+cvs.20111222-1, would that work for you guys?14:23
cjwatson>>> autodocktools_spphs[0].creator14:23
cjwatson<person at https://api.launchpad.net/1.0/~katie>14:23
cjwatson>>> autodocktools_spphs[0].package_creator14:23
cjwatson<team at https://api.launchpad.net/1.0/~debian-med>14:23
cjwatsoncontrast with https://launchpad.net/ubuntu/+source/pybik/0.4.2-1:14:24
cjwatson>>> pybik_spphs[0].creator14:24
cjwatson>>> pybik_spphs[0].package_creator14:24
cjwatson<person at https://api.launchpad.net/1.0/~katie>14:24
LaneyI think we get N/A for katie ATM14:25
Laneyoh, wait14:26
LaneyIn [1]: lp.people['katie'].display_name14:26
LaneyOut[1]: u'Ubuntu Archive Auto-Sync'14:26
Laneydid that always work?14:26
tumbleweedit's the e-mail address that breaks, IIRC14:26
LaneyIn [2]: lp.people['katie'].preferred_email_address.email14:26
LaneyOut[2]: u'archive@ubuntu.com'14:26
tumbleweedhrm14:26
tumbleweedsomething used to break badly...14:26
LaneyIn [9]: lp.distributions['ubuntu'].getArchive(name='primary').getPublishedSources(source_name='autodocktools')[0].creator.display_name14:28
LaneyOut[9]: u'Ubuntu Archive Auto-Sync'14:28
Laneyso it should be fine …14:28
tumbleweedhttp://paste.ubuntu.com/794897/ LGTM14:29
Laneysomething must have been fixed14:29
cjwatsonI got the katie user unsuspended14:33
cjwatsonhttps://answers.launchpad.net/launchpad/+question/18310914:33
cjwatsonthat was necessary before I could do this14:33
Laneyah, great, good work14:33
cjwatsonhmm, annoyingly I get e-mail for this sort of sync though14:34
Laneythey're essentially syncs you are sponsoring for katie?14:35
cjwatsonyes, in fact that was just syncpackage -s katie14:36
cjwatsonthough I'll write a new tool for it14:36
cjwatsonwell - I get mail myself, and it says that precise-changes will get mail, but it doesn't actually appear to14:36
cjwatsonso I can probably put up with the spam until I get round to fixing it14:36
LaneyI suppose that will email, indeed, until copyPackage grows a quiet mode.14:37
cjwatsonI can probably just add more special-casing of katie14:37
cjwatsonafter all it's a celebrity so that special-casing is possible ...14:37
Laneymore fun in the notification code either way14:39
tumbleweedLaney: I note that the sponsor still isn't visible in the SPPH?14:40
Laneyyes14:40
tumbleweedgrumble14:40
Laneythere is a bug and a vague wish to look at it myself14:40
Laneybut as bigjools didn't JFDI right away I suspect there might be something else there14:41
cjwatsonso is there anything else that stops us transitioning entirely to API syncs for everything?14:44
cjwatsonhttps://blueprints.launchpad.net/ubuntu/+spec/foundations-q-replace-archive-admin-shell-access14:45
tumbleweedwe can't do API backporting14:47
cjwatsonI thought the plan for that was to just switch to backportpackage14:47
tumbleweedsounds fine, I guess14:48
cjwatsonthe reason I always wanted LP doing syncs was because they have the same version number and therefore I want something to assure that they're really verbatim copies; backports don't have that problem14:48
cjwatsonI don't recall whether backporters can definitely always upload to -backports, but that's fixable if not14:49
tumbleweedaren't there still issues with timeouts, when copying from PPAs via API?14:49
cjwatson(and worst case we can have something like the current system where archive admins help them out)14:49
cjwatsonpossibly, I don't know.  Do you have a bug#?14:49
Laneywe can modify backport-helper to use backportpackage indeed14:50
cjwatsonactually finishing all the stuff is clearly a few months' of work14:50
tumbleweedsearch turns up bug 575450 and bug 81735814:51
cjwatson*this stuff14:51
ubot4Launchpad bug 575450 in launchpad "Archive:+copy-packages nearly unusable due to timeouts (affects: 13) (dups: 6) (heat: 75)" [Critical,Triaged] https://launchpad.net/bugs/57545014:51
ubot4Launchpad bug 817358 in launchpad "Copying packages with lots of associated bugs can cause timeout (affects: 1) (heat: 1)" [Critical,Triaged] https://launchpad.net/bugs/81735814:51
Laneyit would be good to have blacklist in LP too, but not a blocker if the tools continue to look at sync-blacklist.txt14:51
cjwatsonthe first is a UI copy which I strongly suspect is more susceptible to timeouts14:51
cjwatsonLaney: I was shelving that until I could do API autosyncs; now that I almost can I'll be ready to push the blacklist to LP soonish14:51
cjwatsonsru-release is using .syncSource and should probably be using .copyPackage14:52
tumbleweedcjwatson: IIRC copyPackage can't copy from PPAs, and syncSource can but isn't synchronous14:52
cjwatson.syncSource is synchronous so is bound to timeout14:52
tumbleweederr is synchronous14:52
cjwatsonI think copyPackage has been fixed; https://launchpad.net/+apidoc/devel.html#archive shows a from_archive parameter14:53
cjwatsonsurely that's enough to copy from PPAs14:53
cjwatsonBug 902114 is kind of unfortunate, but if we kept on using bugs and just had mass-sync use a different backend, it wouldn't be a showstopper14:57
ubot4Launchpad bug 902114 in launchpad "When sponsoring using copyPackage, the sponsored person is not sent email from Soyuz (affects: 1) (heat: 13)" [High,Triaged] https://launchpad.net/bugs/90211414:57
Laneyyou can't copy /to/ PPAs, don't know about from14:57
cjwatsonHm, how come?14:57
LaneyResponse body:14:57
Laney---14:57
LaneyNot enabled for copying to PPAs yet.14:57
Laney---14:57
cjwatsonsigh, ok14:58
cjwatsonIt's behind a feature flag14:58
cjwatson            # We have no way of giving feedback about failed jobs yet,14:59
cjwatson            # so this is disabled for now.14:59
Laneylooks like it only applies to PPA as destination though?14:59
DavieyHmm... does syncSource() not work now?14:59
Davieyfrom archive -> PPA ?15:00
cjwatsonLaney: I think so15:00
cjwatsonDaviey: sure, but syncSource often times out15:00
Davieyahh15:00
cjwatsonDaviey: it's a synchronous API call15:00
LaneyI'll just test with something15:00
Davieybug 33485815:01
ubot4Launchpad bug 334858 in launchpad "Require a way to copy [P]PPA packages into Ubuntu (dups: 1) (heat: 9)" [High,Triaged] https://launchpad.net/bugs/33485815:01
cjwatsonthanks for the link15:03
cjwatsonit might be enough for sru-release though; I'll have to give that a try15:04
cjwatsonpitti: re bug 891886 et al, given that oneiric and precise are in sync, is there any reason I shouldn't just sru-release --devel it?  (Please don't just do that though; I was hoping to use it as a test case for an sru-release change)15:11
ubot4Launchpad bug 891886 in compiz-plugins-main (Ubuntu Precise) (and 2 other projects) "Compiz grid plugin is fired when resizing a window (affects: 4) (dups: 1) (heat: 25)" [High,In progress] https://launchpad.net/bugs/89188615:11
Laneyhttps://launchpad.net/ubuntu/+source/haskell-skein/0.1.0.3-2 worked15:11
Laney(sync from PPA)15:11
* Laney gets briefly freaked out by "Component: main"15:12
cjwatsonNeat.  With include_binaries=False presumably?15:12
jdstrandskaet: hey, not sure if you are aware, but http://status.qa.ubuntu.com/reports/kernel-bugs/reports/rls-p-tracking-bugs.html lost a bunch of bugs. seems I looked at it yesterday and it was full15:13
Laneywell, there aren't any yet, but yes15:13
skaetjstrand, thanks for the head's up.  Hadn't checked it this morning.   Will look into it later.15:14
jdstrandskaet: may be that only critical bugs are shown, even though the options say everything should be15:14
skaethmm...   interesting.15:14
skaetok,  after the meeting.15:14
jdstrandtoggling the non-critical checkboxes indeed does nothing. toggling critical does what you would expect15:15
pitticjwatson: not technically, just policy-wise (build packages against precise and all that)15:18
pitticjwatson: but we'll get a compiz release next Monday anyway, so I don't object15:18
pitticjwatson: at UDS we had a discussion about SRU policy, and skaet and me argued pretty strongly for actually uploading to precise first15:18
pittiwe had quite some trouble with oneiric-proposed -> precise copying in particular when there was buildd lag/powerpc failure15:19
cjwatsonoh, I agree in general15:23
cjwatsondo you know if it would be a problem in this specific case?15:23
cjwatsonmostly just because it's the only available test case right now :-)15:24
pitticjwatson: no, should be fine here15:36
pitticjwatson: armhf should get a new build record automatically15:36
pitti(sorry, didn't see your response)15:36
cjwatsonhm, I hadn't thought of armhf; let's see15:37
cjwatsonhttps://launchpad.net/ubuntu/precise/+source/compiz-plugins-main/1:0.9.6-0ubuntu4.2 looks OK15:42
cjwatsonhttps://launchpad.net/ubuntu/+source/compiz-plugins-main/+publishinghistory not seeing anything for oneiric-updates though15:44
micahgcjwatson: just got a -changes E-Mail for that copy15:46
skaetDaviey,  "nothing to declare"... lol.   Am wondering if there is an equivalent of random search that should come into play like at customs when crossing a border.  ;)15:50
cjwatsonmicahg: I've got one for precise, but not for oneiric15:51
pitticjwatson: but sru-release didn't crash? hm, strange; it's been a while since I used -d15:51
pitticjwatson: can you try to run it again without -d?15:51
cjwatsonhttp://paste.ubuntu.com/794968/15:52
cjwatsonthis is with http://paste.ubuntu.com/794970/ applied15:52
micahgcjwatson: right, the one for oneiric was originally 18 days ago15:52
pitticjwatson: so with syncSource (as well as copy-package.py) the copy to devel needed to happen first, then -updates; otherwise it complained about unpublished stuff in oneiric-updates when trying to copy to precise afterwards; perhaps copyPackage behaves differently now?15:53
cjwatsonin that case it's possible it doesn't work because copyPackage is asynchronous so when it returns the copy hasn't actually happened yet15:54
cjwatsondid it have to actually be published?15:54
cjwatsonI tried again and it still isn't working; asking on the LP ops channel if anyone can help me debug16:02
cjwatsonI'll probably revert to syncSource in half an hour or so if I don't hear anything16:03
Davieyskaet: if there are rubber gloves, i'll be there.16:09
skaetDaviey, LOL.16:11
cjwatsoncompiz-plugins-main 1:0.9.6-0ubuntu4.2 in precise (same version already building in the destination archive for Precise)16:16
cjwatsonMaybe that's blocking copyPackage too16:16
* cjwatson cranks up the armhf build score there16:16
cjwatsonthis is a bug though16:18
evI'll have a new wubi finally up just as soon as people.c.c rises from the dead16:37
cjwatsonOK.  New auto-sync script not absolutely the fastest thing ever but it seems to be at least minimally managing to scan the differences.21:16
cjwatsonThings I still need to do to it: (1) test that it returns the same set of results as sync-source.py -a; (2) add checks for conflicting binary versions; (3) add checks for syncs that require fakesyncs; (4) possibly check for pending Ubuntu publications as well as published ones21:17
cjwatsonoh and (5) make it scan the blacklist, pending shifting that into LP21:17
cjwatsonI might be able to make the last autosync for precise be API-based :-)21:18
Laney:-)22:21
cjwatson(5) done22:21
Laneyare you still seeing many bug based sync requests from developers?22:22
Laneyif so, we might want to announce syncpackage a bit22:22
cjwatsona handful, very few22:22
cjwatsonbut probably, yes22:22
Laneysyncpackage can do (3) …22:23
tumbleweedand announce avoiding +localpackagediffs at the same time, so we can refer to it in future :)22:23
cjwatsonLaney: true, may steal / call some code22:23
Laneymaybe it could be extended to work on multiple packages at once22:23
Laneyor get / become a library indeed22:23
cjwatsonI do want auto-sync to be a separate thing really; it has slightly odd semantics and I don't want it to have the same kinds of options22:24
cjwatsone.g. auto-sync -f would be very bad22:24
LaneyI was thinking you could have it hand off to syncpackage at some stage22:24
cjwatson(2) is a bit awkward because sync-source.py never got that *quite* right22:24
Laneynot sure what that means22:24
cjwatsonI don't think I'd want it to actually call syncpackage, but maybe use some common code22:25
cjwatsonthat said, the actual sync bit really isn't very much code22:25
cjwatsononly the fakesync detection is actually hard in any way22:25
tumbleweedcommon checks sounds like a useful thing22:25
cjwatsonwrapping things up in udt objects to call syncpackage might be more trouble than it's worth22:25
cjwatsongiven that I'm calculating the sync list from a distro_series_difference collection22:26
tumbleweedagreed22:26
tumbleweedI also don't understand (2)22:26
cjwatsonsyncpackage probably ought to gain (2) actually.  That's a check that the binary versions that are produced by the source package don't accidentally override binaries from another source that have an ubuntu version number22:27
cjwatsonso any such syncs require -f22:27
tumbleweedsounds useful, yes22:27
cjwatsonso if you have libfoo 1.0-1ubuntu1 -> [libfoo0 1.0-1ubuntu1, libfoo-dev 1.0-1ubuntu1] and you try to sync foo 1.0-1 -> [foo 1.0-1]  ==>  foo 1.0-2 -> [foo 1.0-2, libfoo0 1.0-2, libfoo-dev 1.0-2], that should require forcing22:28
cjwatsonif that notation makes sense22:28
cjwatsonsync-source.py checked this rather crudely and got it wrong in two ways, possibly with the same potential fix:22:29
cjwatson (1) in the above example, if foo 1.0-2 failed to build and you then tried to sync foo 1.0-3, you had to force that as well because it checked the set of binaries actually in the archive rather than the set of binaries that would be in the archive if everything had built22:30
cjwatson (2) packages that have a source with no ubuntu version substring but binaries with an ubuntu version substring have to be forcibly synced every time (yes, there is a real example of this in the archive!)22:30
cjwatson(it's something that generates binaries based on binutils-source and concatenates binutils' version number with its own, or something along those lines)22:31
tumbleweedhah22:31
tumbleweed(1) isn't a dig problem, though22:31
cjwatsonI think the fix is not to check actual binaries based on Packages or getPublishedBinaries, but instead to check whether each of the binaries produced by the new source are in the Binary field of any other source package with an ubuntu version substring22:32
cjwatsonthat would deal with both problems22:32
cjwatsonpossibly excluding binaries that have already been superseded22:32
cjwatsonneed to figure out how to do that quickly in the API though22:33
tumbleweedsounds reasonable22:33
Laneycan you do that in the API?22:34
cjwatsonI'm not sure22:34
tumbleweedit'll involve reading the .dsc too22:34
cjwatsonreading *every* .dsc22:34
cjwatsonwhich would suck22:34
Laneyyeah. not the fastest thing to do.22:34
cjwatsonmight be quicker to just download Sources22:35
tumbleweedoh, right22:35
cjwatsonI was hoping to avoid that, but ...22:35
Laneyunless an external job maintains a database22:35
tumbleweed(which would be preferable fo syncpackage)22:35
cjwatsonI wouldn't do that, I'd extend LP if I really needed that22:35
tumbleweedextending LP to know the contents of .dsc s would be handy for other bits of u-dt22:35
cjwatsonit already does, but this is sort of a reverse lookup22:36
tumbleweedyes22:36
cjwatsonI mean, internally it has SPR.dsc_binaries (although it's sometimes wrong; I have a branch in progress at the moment to fix that up)22:36
cjwatsonbut we want to search for any source that has this binary in dsc_binaries22:36
cjwatsonindeed a binary -> source(s) lookup would be a useful thing to have in general22:37
cjwatsonmaybe just getPublishedSources(binary_name=...)22:38
cjwatsonI'll file an LP bug in a bit and see if anyone has comments; DVD time now22:39
LaneyI wonder what checks mass-sync would perform that we wouldn't also want syncpackage to22:43
Laneyseeya22:43
=== bladernr_ is now known as bladernr_afk

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