/srv/irclogs.ubuntu.com/2011/09/05/#ubuntu-motu.txt

=== vddlogger is now known as parislogger
=== slicer_ is now known as slicer
micahgcjwatson: for gnash, youtube worked, some other sites don't but I think this is the same with the current version, so I'm uploading the patch you gave me02:12
micahgcjwatson: I'm subscribed and will keep an eye  out for any issues02:17
kovidwhois kovid06:31
dholbachgood morning07:07
=== almaisan-away is now known as al-maisan
=== hannesw_ is now known as hannesw
=== Quintasan_ is now known as Quintasan
thelinuxerhi guys, I have a question about version numbering (that version we put in the change log) when I am building from a mercurial repo. How should it be written ?09:11
geseris the mercurial revision number monotonic incrementing?09:14
thelinuxergeser: can u know from here ? http://hg.atheme.org/users/desowin/gdigi/09:14
thelinuxeri have little knowledge of mercurial09:15
chrisccoulsonthelinuxer, look at the version number i use for firefox nightlies (which come from mercurial) ;)09:16
thelinuxerchrisccoulson: ok will check it out09:17
thelinuxeri just want to know if there is some kind of standard when building packages from repos in general09:17
jtaylorit depends on the repo, e.g. with git one uses dates as the hash is random09:18
jtaylorwith svn the revision number is fine09:18
jtaylorbzr too I think09:19
thelinuxerchrisccoulson: jtaylor and with hg it date + revision number from what I see ...09:19
chrisccoulsonthelinuxer, eg, for "194:dec7a1546064", the "194" is the revision, which is monotonic09:19
geserthelinuxer: the only requirement is the version string has always to increase09:19
chrisccoulsonso, for that revision, i would add "~hg20110829r194" (with the date coming from http://hg.atheme.org/users/desowin/gdigi/rev/dec7a1546064)09:20
thelinuxerchrisccoulson: without -ubuntu1 at the end ?09:21
jtaylorI'd add the hash to the changelog to keep the version short09:21
thelinuxerr there any tools to pull this from the repo and add the version number automatically ?09:21
geserso you can either use 0.2.0+hg20110829r194 or 0.2.1~hg20110829r194. assuming 0.2.0 is current and 0.2.1 will be next (0.2.0+hg sorts after 0.2.0; 0.2.1~hg sorts before 0.2.1)09:22
geserthat's for the upstream version, append the usual -0ubuntu1 as revision09:23
thelinuxerjtaylor: geser chrisccoulson that's gr8 thanx a lot guys09:23
tumbleweedfor mercurial, it's generally safe to use the "revision" number (commit count), if the source is managed in a central repo (svn-style)09:46
cjwatsonmicahg: *nod* fair enough, thanks09:46
=== dutchie_ is now known as dutchie
thelinuxerI read here https://wiki.ubuntu.com/MOTU/Packages/REVU that uploading my new package to debian mentors is the way to go11:06
thelinuxerI find here http://mentors.debian.net/package/gdigi that the name of the uploader isn't me :D11:06
thelinuxeris this normal ?11:06
Laneysomeone else had already uploaded it to mentors11:08
Laneyyou should coordinate with that person11:08
Laneyand certainly fix all of the lintian problems reported11:08
thelinuxerLaney: ok i guess it uploaded some of my stuff to this page11:10
thelinuxercurrently when i use dput it says that the package is already uploaded11:10
Laneyuse dput -f if you have made changes11:10
thelinuxerok will try that, thanx11:11
Laneybut email the other guy and find out what he's doing11:12
thelinuxerok will do so , thanks again11:12
=== chrisccoulson_ is now known as chrisccoulson
tumbleweedLaney, bdrung: Should we turn launchpad DSD blacklisting into non-fatal errors in syncpackage for now? (bug 841372)12:33
ubottuLaunchpad bug 841372 in Launchpad itself "Incorrect auto-blacklisting in DSD?" [Low,Triaged] https://launchpad.net/bugs/84137212:33
bdrungtumbleweed: i think no as long as we have a way to force the sync.12:35
tumbleweedwe don't. We only allow force overriding when fakesyncing12:35
bdrunghm12:36
=== al-maisan is now known as almaisan-away
bdrungi don't like adding workarounds12:36
tumbleweedI don't know how many packages are incorrectly blacklisted, but only archive-admins can un-blacklist them again12:37
Laneywhat's an auto blacklist?12:37
tumbleweedLaney: launchpad automatically blacklists syncs when the version in Ubuntu is newer than Debian, but it appears to be buggy12:38
tumbleweedhttp://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/view/head:/lib/lp/registry/model/distroseriesdifference.py#L76012:39
Laneyhow could you sync when the target has a newer version anyway?12:41
tumbleweedI think it does it to get it off the front page of +localpackagediffs12:41
Laneyare we more interested in Blacklisted always?12:42
tumbleweedI haven't tried syncing a package that was ignored (DSD blacklisted) from the web interface, but it doesn't look like it'd stop me12:42
Laneyalways seems like it should be fatal and current a warning (require overriding)?12:43
tumbleweedyeah, maybe blacklisted always should be a hard-error, and blacklisted current should be a warning12:43
tumbleweed^512:43
tumbleweedah, no the checkbox on the web interface *is* greyed out when it's blacklisted current12:44
* tumbleweed wonders if it'll even let us do the sync...12:44
Laneyyou mean your link from the bug?12:45
Laneynot greyed out here12:45
tumbleweedLaney: ah, but many are here https://launchpad.net/ubuntu/oneiric/+localpackagediffs?field.name_filter=&field.package_type=all&field.package_type-empty-marker=112:46
* Laney wonders what "Upgrade Packages" does12:47
* tumbleweed too12:47
Laneythe greyed ones there are all > debian AFAICS12:49
LaneyI wonder why the ones that are = debian aren't greyed...12:49
Laneyis this implemented by blacklisting current?12:49
tumbleweedthat's a question for bigjools12:51
LaneyI guess I don't care about the implementation, but versions that are the same shouldn't be available for syncing12:52
Laneywonder what happens if I do one12:52
tumbleweedI've found some of the answers to things like that by reading https://dev.launchpad.net/HelpOnActions?action=fullsearch&context=180&value=derivative+distributions12:52
* Laney gets scared12:52
Laneyhah, it got rejected thankfully12:56
tumbleweedI added a note about that to the bug12:57
Laneynice12:57
tumbleweedurgh, turning BLACKLISTED_CURRENT into an overrideable warning requires some refactoring12:58
=== _ruben_ is now known as _ruben
tumbleweedLaney: ok, launchpad allowed me to override the BLACKLISTED_CURRENT. Committing13:41
Laneynice13:41
Laneydoes always work properly?13:41
tumbleweedyou mean does launchpad block the sync? I don't want to test that :P13:42
Laneyno, i mean clientside13:44
tumbleweedyes13:44
Laneyhappy days13:44
Laneyso we can import sync-blacklist.txt?13:44
tumbleweedhrm, DSD comments hang around post sync13:44
tumbleweedhttps://launchpad.net/ubuntu/oneiric/+localpackagediffs?field.name_filter=libsdl-sound1.2&field.package_type=all13:45
tumbleweedLaney: I don't think that's worth doing until all syncing is done through syncpackage13:45
tumbleweedbut yes, blacklist() is available in the API13:45
Laneyi'd like to see the text file be generated from launchpad13:46
tumbleweedthat's something to take up with the archive admins13:47
Laneywell indeed, blacklisting is their domain13:48
LaneyI am just saying that we should move things into LP as far as possible to make the syncpackage workflow go13:48
cjwatsonif somebody wants to write a script that generates a suitable text file from Launchpad, I'd be happy to move the existing stuff into LP and deploy that script13:51
cjwatsonI'd like to make sure that there's essentially no period of time without a blacklist though13:51
Laneydo you get an interface on the website to manage blacklisting?13:52
cjwatsonI think so13:52
=== vivi`d is now known as vivid
Laneyok, that makes the tool easier13:52
cjwatsonI have an "Add comment" AJAX thing13:52
cjwatsondo you?13:52
wgrantEveryone gets "Add comment"13:53
wgrantOnly archive admins get the three radio buttons above that.13:53
cjwatsonoh yes, I was looking at the wrong bit13:53
wgrant(at least they used to be above that, but it was a while ago)13:53
cjwatsonI have "Ignored: ( ) No ( ) All versions ( ) These versions"13:53
wgrantRight, that's the blacklist status.13:54
cjwatsonsorry, that's ago)13:54
Laneysounds adequate13:54
cjwatsonsorry, that's "Ignored: (o) No ( ) All versions ( ) These versions" but hopefully YKWIM13:54
Laneyso we just need to generate sync-blacklist.txt from the blacklisted_always entries for the transitional period13:54
cjwatsonI think we should probably not transfer the blacklist entries that are just because of orig mismatches13:55
cjwatsonI would rather have the new auto-sync.py (which I've started, though only barely) figure that out for itself13:55
=== almaisan-away is now known as al-maisan
cjwatsonthey were always a pain to manage anyway13:55
wgrantPlease file bugs for any API inadequacies you run into.13:55
wgranteg. difficulties getting hashes and stuff.13:56
tumbleweedyeah, we all see the radio boxes, they are just read-only for non-AAs13:56
cjwatsonI should be using copyPackages rather than copyPackage for mass sync, yes?13:56
cjwatson"If any of the requested copies cannot be performed, the whole operation will fail. There will be no partial changes of the destination archive." possibly slightly odd decision there13:57
wgrantcjwatson: Yes. Fewer requests, same result.13:57
wgrantErm. It still says that?13:57
wgrantThat hasn't been the case for months :(13:57
cjwatsonyes.  https://launchpad.net/+apidoc/devel.html13:57
wgrantIt creates a separate job for each copy now. The only checks performed up-front are permissions.13:58
cjwatsonOK, good - that would be a recipe for irritation13:58
wgrantAtomicity is useful sometimes.13:58
wgrantBut not for autosyncs.13:58
cjwatsonquite.13:58
tumbleweedcjwatson: how do you plan to handle sync-request bug closing? the only way to tell if the sync was successful is to wait for the mail13:58
cjwatsontumbleweed: that seems not much worse than bugs being closed on source upload before we know if it built13:59
wgrantWe'll be processing copies much more frequently in the next week or so.13:59
wgrantCurrently they're done every 5 minutes along with lots of other jobs. I think that may be moving up to minutely.13:59
tumbleweedcjwatson: ah, suppose so14:00
cjwatsonI think what I'd like to see is a bugs parameter on copyPackage so that LP can close those bugs if the copy succeeds14:00
cjwatsonfor autosyncs I don't care14:00
wgrantThat sounds reasonable.14:00
wgrantcjwatson: You've not filed the copyPackages documentation issue?14:00
cjwatsonno, can do now14:01
* wgrant is already there.14:01
cjwatsonOK.  I'll file one for copyPackage bugs14:01
wgrantThanks.14:01
wgrantChangelog bug closing just needs one last fix. And announcement emails should already be fixed... no more issues there?14:02
wgrantBug #84184214:03
ubottuLaunchpad bug 841842 in Launchpad itself "Archive.copyPackages says it's atomic, but that's a lie" [High,Triaged] https://launchpad.net/bugs/84184214:03
tumbleweedwgrant: attribution for sponsorship, and came across a problem with the auto-blacklisting on the weekend,14:05
wgrantYeah, I saw those. I mean with announcements.14:05
wgrantSince there have been a few issues there :)14:05
tumbleweedI think NEW didn't generate announcemets (there's a bug filed)14:06
wgrantIndeed.14:06
thelinuxera quick questin. should i add a project on launchpad for the package I am builing ? as I doing some changes to it too...14:08
Laneytumbleweed: What was that bug you filed about the DSD API?14:08
LaneyI don't see a way to get the source package name from a dsd object14:08
Laneythelinuxer: no need to do that14:08
tumbleweedLaney: that querying blacklisting was needlesly hard (had to separatly query for CURRENT and ALWAYS and comments)14:09
Laneyah14:09
cjwatsonwgrant: bug 841849 - hope that's clear enough14:09
ubottuLaunchpad bug 841849 in Launchpad itself "add a way to close bugs on copyPackage completion" [Undecided,New] https://launchpad.net/bugs/84184914:09
thelinuxerLaney: i need some place for my code, at least until they accept my patch upstream. am i right ?14:09
cjwatsonthelinuxer: for small changes, just putting them in a debian/patches/ file in the source package is often enough14:10
cjwatsonI wouldn't bother with creating a project unless I were making fairly extensive changes14:10
wgrantLaney: sourcepackagename and status are exported in trunk, but not quite deployed yet.14:10
wgrantLaney: Hopefully tomorrow.14:10
thelinuxercjwatson: ok cool14:10
Laneywgrant: oh, sweet. /me stops filing a bug then14:11
wgrantLaney: Bug #83308014:11
ubottuLaunchpad bug 833080 in Launchpad itself "distro_series_difference API objects don't have package names" [High,Fix committed] https://launchpad.net/bugs/83308014:11
Laneyhah14:11
* Laney awaits that fix then14:12
wgrantCould have deployed it today, but I forgot. :(14:12
=== dpm_ is now known as dpm
=== raju1 is now known as genupulas
=== al-maisan is now known as almaisan-away
=== taggerdoodles is now known as paultag
=== parislogger is now known as transitlogger
=== almaisan-away is now known as al-maisan
=== yofel_ is now known as yofel
=== nxvl_ is now known as nxvl
=== andreas__ is now known as ahasenack
tumbleweedScottK: any thoughts on sbte's closing of all the old emesene bugs and telling people to install a new version from his ppa?21:07
tumbleweedit seems pragmatically sound, but not really how things are supposed to work21:07
ScottKFixed in the development release is the normal standard for fixed, so that's correct.21:09
tumbleweedI suppose that's reasonable21:09
ScottKI'd rather it be dealt with through backports, but if no one is willing to do the testing for that, PPA is not an unreasonable way to go.21:10
tumbleweedyeah, it sounds like there's quite a lot to be backported21:10
tumbleweedblackz used to care about that package, but he isn't around any more21:10
=== al-maisan is now known as almaisan-away
jtaylorhm requestsync complains about possible duplicate sync when the sync is complains about is a duplicated of a fixed bug22:19
jtaylorI assume thats a bug?22:19
jtaylorrequestsync --lp f-spot brings up Bug #61898122:20
ubottuLaunchpad bug 617760 in f-spot (Ubuntu) "duplicate for #618981 Sync f-spot 0.7.2-1 (main) from Debian experimental (main)" [Wishlist,Fix released] https://launchpad.net/bugs/61776022:20
tumbleweedjtaylor: yeah, although that's possibly a bug in launchpad22:23
jtaylorlp.bugs[618981].bug_tasks[0].is_complete should be True when its a dup of a fixed bug?22:33
micahgjtaylor: are you sure about that?  shouldn't it just make sure it's not a dupe?22:36
tumbleweedmicahg: that's what jtaylor is asking too22:36
jtaylorI have no idea22:36
tumbleweedfixed bugs aren't searched by default, so it would make sense to not search dups of fixed bugs either22:37
tumbleweeddups are a pain, you need to account for them everywhere22:37
tumbleweedjtaylor: I'd say fix requestsync here, but it's worth asking launchpad people if they think that's an lp bug22:38
jtayloris there an attribute to check if all bug_tasks of a bug a fixed?22:42
jtaylorinstead of looping over it22:42
* tumbleweed points jtaylor at https://launchpad.net/+apidoc/1.0.html22:42
jtaylorhm so no22:43
jtaylorto bad all takes no lambda ._.22:44
tumbleweedhrm, searchTasks has an omit_duplicates parameter22:44
tumbleweedthere we go22:44
jtayloryup that seems to work22:53
jtaylorthx22:53
jtaylormerge proposed23:17
tumbleweedjtaylor: is limiting the status such a good idea23:23
tumbleweedsync bugs are often incomplete / in progress when there's some back-and-forth with the sponsor23:24
jtaylorit checks for is_complete later anyway which should be the same23:24
jtaylorjust with maybe less load on lp23:24
tumbleweedI mean there are other non-terminal statuses23:25
tumbleweedit could also search on the tag sync, but not everybody sets that...23:25
jtaylorhm yes incomplete is missing23:25
jtaylorand in progress ._.23:26
jtaylorI guess its safer to remove it, but then it loops over 1100 bugs instead of 300 for f-spot23:28
tumbleweedI'd say specifiy all the non-terminal statuses then23:30
tumbleweedI wouldn't be entirely against using tags='sync' either23:31
tumbleweedor may be search_text="Sync"23:31
jtayloryould have to be Sync and sync23:35
jtaylordoes this work?23:35
jtaylorync does not work as lp does no substring matching23:36
* tumbleweed doesn't know, I'd have to experiment (staging / qastaging / dogfood is great for experimentation)23:36
jtaylornon-terminal status will do for now23:42
* jtaylor is off to bed23:45

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