/srv/irclogs.ubuntu.com/2011/10/10/#bzr.txt

jelmerhey poolie00:57
pooliehi jelmer!01:16
pooliebiab01:16
vilahello all ~06:38
vila!06:38
pooliehi vila, jam06:50
jammorning poolie06:51
jamand vila06:51
pooliehi jam06:51
vilaanybody managed to land something recently ? mgz and I believe rt #48346 has broken pqm06:55
vilafor values of recently starting at last Friday06:55
jamvila: the last pqm email I see is Sept 7th.06:57
jamso at least those emails have been broken06:58
vilajam: yup, me too (see rt), first root cause. But then bzr-email was.... upgraded/reconfigured and now the submissions are failing06:58
mgzmorning all07:01
vilaha crap, I thought mgz commented on the rt, looks like he failed to connect there then07:01
mgzI didn't comment, no07:01
vilamgz: np, I just pinged mthaddon anyway.07:05
vilamgz, poolie, jam: _o/07:05
mgzI don't understand bug 87138607:11
ubot5Launchpad bug 871386 in Bazaar "recipe fails to build" [Undecided,Incomplete] https://launchpad.net/bugs/87138607:11
mgzlast two lines of traceback make it look like a non-ascii symlink, but I can't actually find one in the branch07:12
mgzso maybe it's a bzr-git or submodules or something else problem07:12
hakermaniaHey, how do I tell lp that I changed version and I'm now developing the 2.2 one and not the 2.1 for example?07:13
hakermaniaAnd then, in the project page in lp, in the place of the trunk there will be another dot, saying 2.2.... I can't figure it out :P07:13
jamhakermania: you want to create a new series, I think07:15
vilapoolie: you're PP this week ;)07:16
hakermaniajam, How will I?07:17
jamhakermania: what's the project? I'll try to give you URLs07:17
hakermaniajam, https://launchpad.net/wallpaper-changer Thanks!07:17
jamhakermania: if you go to that page, and look at the timeline, underneath it should be a "Register a series"07:17
jamThe direct link would be: https://launchpad.net/wallpaper-changer/+add-series07:18
pooliethanks vila07:19
vilapoolie: there are still a couple of reviews I should finish, already on it07:20
hakermaniajam, well, and now I'll give it the same name and info but next version number?07:20
vilareminder for packagers and installer builders: 2.5b2 has been frozen !!07:20
pooliewell, i did a decent number of reviews so far today07:21
vilapoolie: haven't checked my mail yet07:22
vilaor rather, all of my mail ;)07:22
pooliebut thanks for the review07:27
poolies//reminder07:27
Riddellmorning07:30
mgzmorning Riddell!07:31
pooliegood morning riddell, mgz07:33
vilaRiddell: hey07:37
vilajam: I thought you targeted bzr.dev but your proposal for request retry are against 2.1 ?07:37
vilaproposalS even07:38
jamvila: everything is currently targetted to 2.1 because that will give clean diffs07:38
jamI don't plan on landing that before updating it to target bzr.dev07:38
vilaha, thanks for confirming07:38
vilawe can't land anything currently anyway07:38
pooliejam, eliz just wrote about bzr pulls from savannah timing out after an hour07:42
pooliecould there be anything in bzr related to that?07:42
jampoolie: I'm pretty sure savannah said that they explicitly timeout the inetd stuff at 1 hour07:42
jamI could be wrong07:42
jambut I remember in the bug discussion that savannah was unhappy about idle connections07:43
jambecause they wanted to limit to something like 40 active conns07:43
jamvila: 6202 Patch Queue Manager       2011-10-06 [merge]07:43
jamIs the last merge I've seen07:43
jamso nothing in trunk since friday07:43
vilayup07:43
vilamgz fights with one submission but ended up with an error even with all tests passing07:44
hakermaniajam, sorry for saying it again, but you may not notice, don't know. I asked you whether in the new series registration I set the same name and info and change only the version :)07:45
jamhakermania: I didn't see it ealier, just a sec07:47
jamhakermania: name is the name of the series, so in your case, I think you want "2.2"07:48
jamsummary can be whatever you want, it is meant to describe the series07:48
jamand 'branch' is whatever branch you want to be the 2.2 series branch.07:48
jamthis may just be your development branch07:48
jambut you may have a separate release branch07:48
jamthe way *bzr* does it, is that we have 'trunk' where active development is done07:48
jamwhich then gets periodically snapshotted into a stable branch07:48
poolieRiddell: hi, shall we have a chat?07:49
mgzdo you want me to reopen your email rt then vila on the basis that might have borked pqm?07:49
Riddellpoolie: ok, mumble?07:49
pooliesip?07:49
Riddellsip doesn't like me :(07:49
vilamgz: I tried to re-open but I don't have enough rights :-/07:50
mgz...maybe just file a new one?07:50
vilamgz: addind your data there and adding you as a CC should still be possibl07:50
vilae07:50
jammgz: it is still funny to see your full name :)07:50
vilaI'm tracking mthaddon in #launchpad-ops anyway, you can job the chase if you want ;)07:51
mgzehehe, yes jam I'm still adjusting to it myself07:51
jamnot used to seeing your own name?07:51
mgz...it showing up in commit messages, not the name itself, I've had long enough with it now.07:52
jam:)07:52
hakermaniajam, that's weird, I don't remember where I set the revisions to go to the '2.1' release, and even when I click on the 'Change Details' of the current trunk in the 'Name:' field I had set 'trunk', and not 2.1 o.O07:52
jamhakermania: you are looking for 'development focus' ?07:52
vilamgz: mthaddon is there, join us07:52
hakermaniajam, what do you mean? I am just using bzr and lp's trunk system so as to update online the developing  unstable code, so I assume we are saying the same thing.07:53
jamhakermania: I guess I don't understand your statement: " I don't remember where I set the revisions to go to the '2.1' release"07:57
hakermaniajam, when I started uploading the development focus I should have somewhere set the release to be 2.1, lp could not know by itself. And I haven't set it as the 'Name:' of the series as you suggest me to set it (for the 2.2 version). In the 2.1 version in the 'Name:' field I've set 'trunk' and not 2.1 so I assume there's another way to set the version.07:59
vilapoolie: to start with, I'll focus on getting numbers for the past month[s] , I'll look at getting these numbers produced in real time once I get a better idea about how it was worked until now08:08
vilapoolie: we have something like ~60GB of logs to play with (or ~300MG if we look at the driver's log only, but they start mentioning the success only recently)08:10
jamhakermania: there are also "milestones" which is a single snapshot of a release series08:11
hakermaniajam, let me try some things.08:12
hakermaniajam, please go here: https://launchpad.net/wallpaper-changer and see what is created by creating a new series: https://launchpad.net/wallpaper-changer I actually want this ->https://launchpad.net/sni-qt/trunk08:14
poolievila, 'to start with' towards counting successes?08:15
vilapoolie: yes08:26
vilapoolie: and getting some idea about the rythm08:26
jamhakermania: then what you want is to go to: https://launchpad.net/wallpaper-changer/trunk and find the "Create milestone" or "Create release" links08:32
jamabout the middle of the page08:32
hakermaniacool08:32
jamyou can delete the series08:32
jamhakermania: note we do both in bzr: https://launchpad.net/bzr/+series08:34
jamwe have a stable *series* of releases08:34
hakermaniajam, i see, what's the difference of a milestone and a release? What's a milestone?08:36
pooliea milestone that has been released has a release08:37
pooliea milestone that's in the future is just a milestone08:37
hakermaniapoolie, o.O08:42
mgzhm, that wasn't the best worded commit message ever, sorry jelmer.08:46
vilapoolie: raw numners: http://paste.ubuntu.com/705308/ except for some spikes it's ~200/day08:55
vilanumbers08:55
jamhakermania: a milestone is a projected future release08:57
jam"I will release 2.3 in February next year"08:57
hakermaniaOh, that's what I need :D08:57
jamand these are the bugs I want to fix in it, etc.08:57
hakermaniajam, thanks, you are very helpful, now how do I get bzr to upload revisions to this milestone and not to the previous one? Will it automatically?09:02
jamhakermania: *bzr* pushes revisions to trunk09:02
hakermaniajam, which means :O?09:03
jamyou never push revisions to milestones09:03
jamand you weren't doing it before09:03
vilahakermania: milestones are attached to a series, each series has an associated branch, it could be the same one for all series, but if you want to maintain separate series, you'll define different branches09:03
jamso I'm not sure what you want it to be doing09:03
hakermaniajam, vila, thanks for the info, what a basically want to achieve is to have online the developing code of the next release!09:06
hakermaniaWhat's the right way to do it?09:06
jamright, you'll generally just push stuff to 'trunk', and then mark releases from there from time to time09:06
hakermaniahow do I "mark releases from there from time to time"09:07
hakermania?09:07
vilahakermania: on the milestones only09:10
jmlIn lp:udd, does AllQueue.next_job loop on packages forever?09:10
jmlI'm guessing not, but I can't quite tell09:11
hakermaniavila, Ok, so, now I will continue pushing the developing code. Sometime this code will be stable and I will be ready for the next release. I will create a milestone then giving it the name of the release (2.2)?09:12
__bsm__Hi to all, I have one user question. Using bzr 2.4 on Win xP, issue is that I cannot diff ps1 file (windows powershell) because bzr cosinder it as binary09:13
__bsm__Any suggestions how to tell bzr it is text file?09:15
vilahakermania: yup, you get the idea09:16
hakermaniavila, jam, thanks for the help, I have to keep these info somewhere now because till the release I'll forget :P09:16
vilahakermania: hehe, the trick I use for bzr itself, is to create milestones ahead of time with rough estimate dates09:17
TimMiaohi there, I just installed the bzr 2.4.1 on my macbook air, would anyone please tell me how could I can remove it from system? thank you in advance!09:17
vilahakermania: as the expected release date approaches, I refine the dates09:17
poolieTimMiao: how did you install it?09:18
vilahakermania: also the https://launchpad.net/bzr/+milestones page is a rough planning that helps me keeping track of what is coming09:18
TimMiaopoolie: I downloaded from bzr website, mount the downloaded file, and then double click the .mpkg file, follow the wizard to finish the installation.09:19
TimMiaopoolie: now I can't see the installed bzr in Application folder, and I don't know how to remove it from system09:20
hakermaniavila, I thought that you create the milestone only when the release is ready.  So, can you create a milestone, set an 'expected date' and when the release is ready to set the milestone to 'released' or something?09:21
hakermaniavila, and 'released' goes to? PPAs?09:21
vilahakermania: yup, you can't release without a milestone but you can create the milestone ahead of time09:21
vilahakermania: out of scope09:22
vilahakermania: what a release allow you to produce is project specific09:22
__bsm__I changed file assoc in Win to notepad.exe, still bzr does not treat it as text file09:22
hakermaniavila, :P But 'released' means that a new version is available. Is it up to me the 'where'?09:22
vilahakermania: yes09:22
vilahakermania: for bzr, for example, once the release is created, I upload the source tarball09:23
poolieTimMiao: sorry i don't know much about macs09:23
vilahakermania: I then tell the packagers and installer builders to go ahead from there09:23
poolieis there no system uninstall facility?09:23
pooliesuggest you search for the 'bzr' executable and 'bzrlib' directory09:23
TimMiaopoolie: thank you09:23
hakermaniavila, how do you get someone to build the package for you? I do all the job myself :P09:23
vilahakermania: hehe, we have some really fine people around ;)09:24
vilahakermania: if you look at https://launchpad.net/bzr/2.5/2.5b2 (our latest release to date)09:24
vilahakermania: you'll see the tarball and the windows installers09:25
vilahakermania: I uploaded the tarball last Thursday, jam uploaded the windows installers a couple of hours ago09:25
vilahakermania: the mac installer will probably follow09:25
hakermaniavila, I see.09:26
vilahakermania: as for the packages themselves, they may not be tracked on this page, but they will refer to 2.5b2 and may use the tarball uploaded there09:26
vilahakermania: the release stuff here is really targeted at upstream releases09:27
hakermaniavila, so it's up to cooperation09:27
vilahmm, well, that's not true, but I think it's easier for you to think about it this way to start with09:27
vilahakermania: yup, that's what lp is good at, helping people collaborate around projects09:28
vilahakermania: https://code.launchpad.net/bzr may help you get the picture for bzr too (which branches are associated with which series)09:29
hakermaniavila, what I do is build/fix the code, push it now and then, when something has been accomplished, make a new release, send the code to lp to make the PPAs, I get from there the DEBs and I put them to sourceforge, I then update everywhere the links (site, forum signatures etc) and then I (will) send the package to REVU for inclusion to 12.04 :P Too much to do :/09:31
poolienight all09:32
vilahakermania: you're 'purple' ? It's hard to keep context with all you nicks ;)09:33
vilas/you/your/09:33
vilabah, the second one09:33
hakermaniavila, puple? what? I'm hakermania09:33
hakermaniaDo you see me as 'purple'?09:33
vilahakermania: that's your real name reported by xchat09:34
hakermaniaweird, I've registered this nickname(hakermania), from now on consider purple==hakermania = true09:35
vilahakermania: may be just a coincidence... but I seem to remember a pur... ok09:35
vilaso, for "to lp to make the PPAs, I get from there the DEBs and I put them to sourceforge", why don't you just tell your users to use the PPA ?09:36
vilahakermania: and the PPA may be able to use recipes so the builds occur automatically09:36
vilahakermania: you also define different PPAs for daily, beta and stable and have different policies to populate them09:37
vilas/you also/you can also/09:37
vilaor may :)09:37
hakermaniavila, because there are far too many unexperienced users out there, imagine that there are folks out there that don't know whether they have gnome 2 or 3. We had too many emails saying the program's not working while they actually used the wrong version (gnome 2 instead of 3 or vice versa). Also, I use PPAs only for stable releases. Oh, and also in the site I put the sourceforge's links because there package seems more well-organized.09:39
hakermaniaEvery version has its own folder, its own readme file, it's good.09:39
vilahakermania: your call, just mentioning ;)09:40
hakermaniavila, Does it look good: https://launchpad.net/wallpaper-changer/trunk ? After the code's stable I release the milestone? ALl OK?09:41
hakermaniaI'm anxious about it a little bit :/09:41
vilahehe, I know the feeling :) Yeah, it looks ok (but since I have to write access here, the display is slightly different)09:44
__bsm__ I have one user question. Using bzr 2.409:45
__bsm__                on Win xP, issue is that I cannot diff ps1 file09:45
__bsm__                (windows powershell) because bzr cosinder it as09:45
__bsm__                binary, any suggestions?09:45
vilahakermania: you probably have a (+) Release now button for 2.2 that I don't see myself09:45
hakermaniavila, I do09:45
vilahakermania: you're all good then I think09:45
vila__bsm__: what encoding is used for this file ? utf-16 is not handled as text so far in bzr, if you don't need it, try utf-8 instead09:46
__bsm__vila, thanks, I will check now09:47
hakermaniavila, nice, but when the new release is out, will I just continue to push the code simply? Maybe I will create a new milestone for the next release :)? Am I right? And when I "(+) Release now" the milestone will this be shown on the 'overview' page of the project? Sorry for the so many questions, I just want to be sure. And thanks.09:47
vilahakermania: yup to all :)09:49
hakermaniavila, perfect09:50
vilahakermania: you probably want to *tag* your release too09:50
hakermaniavila, what's this :P09:50
vilahakermania: as there is no other explicit way to find the revision corresponding to a milestone that I know of09:50
vilahakermania: bzr tag wallpaper-changer (bzr help tag, bzr help tags for details)09:51
jmlhmm.09:51
jmlhas anyone run "branch_branches_from_lp" in a while?09:51
jmlbecause it looks broken in trun09:51
jmlk09:51
hakermaniavila, oh yes, that would be nice.09:51
vilahakermania: ghaa, 'bzr tag wallch-2.2' or something09:51
hakermaniavila, do I run this before the last push that corresponds to the new release?09:52
vilahakermania: exactly09:52
vilahakermania: or not09:52
vilahakermania: you tag an older revision09:52
hakermaniavila, so first I push the code, then tag it...09:53
vilahakermania: you *can* tag an older revision09:53
vilahakermania: no, it's better to tag it first09:53
vilahakermania: but if you forget, you can catch up09:53
__bsm__vila, encoding was UCS-2 Big Endian, I converted it to UTF-8, committed two revisions, and diff now works, thank you,09:53
__bsm__i cannot compare to prefious commits, but it will work for future09:54
vilajml: sorry, where is this function ?09:54
hakermaniavila, I don't get you. *Tagging* is a way to show which revisions is for which version. Ok, so, let's say I have a rather stable code now, and I push it to create the next revision. After the push, I tag it to show that this revision is the last one for the version 2.2. Or not :P ?09:54
jmlvila: it's a script.09:54
jmlvila: in the top-level09:54
vilajml: of ? udd ? lp ? bzr ?09:54
jmlvila: I'm just doing a branch now that moves the code out of those scripts into udd/scripts/09:55
jmlvila: of udd, sorry09:55
vilaha09:55
vilajml: rings no bell as you can see :) Let me have a look09:55
jmlvila: basically, it says distribution_name in a function where it should say distribution.name09:55
jmlvila: but comments say the script is used mostly for debugging09:55
vilathe initial comment says "debug purposes"09:55
jmlyeah.09:56
jmlI'm guessing james_w hasn't needed to debug stuff for a while :)09:56
vilajml: qblame says maxb only, may suffer from bitrot :)09:56
jmlyeah.09:56
vilathe script, not max09:56
jmlheh heh09:57
idnarheh10:00
jmlvila: do we have Python 2.5 on udd production?10:00
vilajml: in addition to 2.6.5 you mean ?10:05
jmlvila: what I really mean is, 'can I use "with"?'10:05
vilajml: yes, I even have a wip to use wip replacing all the try commit/except rollback/finally close for the db cursors10:06
vilas/use wip/use with/10:07
jmlvila: oh cool.10:07
jmlvila: I was thinking of doing the same thing10:07
vilajml: :) I'd like to add the smallest set of tests I can find to go with it10:08
jmlvila: oh10:08
jmlvila: that's a drag.10:08
vilajml: the other ~related point is to use name tuples or something for the rows, but one step at a time10:09
mgzvila: did you get mail about the landing on 2.4 from PQM? at least the merge worked.10:11
jmlvila: yeah.10:13
vilamgz: not checked yet, but babune is busy10:13
mgzthe big problem is fixed at least, so that's fine10:14
vilachecked, got a bazaar-commit mail from pqm \o/10:15
mgzokay, so the rt really can be closed now, good good.10:16
mgzand we'll have a happy fullermd as a side effect.10:17
* vila nods10:19
vilaand an additional heartbeat10:19
vilamgz: so you changed your mind about test = self ?? It *was* a class attribute10:21
vilamgz: or would you have preferred an __init__ attribute (which unfortunately cannot be done) ?10:22
fullermdThe world is better for everyone when fullermd is happy.10:29
fullermdWell, for me anyway.  Which is close enough to "everyone" as far as I'm concerned...10:29
mgzvila: I thought self.overrideAttr(InnerClass, "testcase", self) was the best option I think10:32
mgzgiven you couldn't put it on the instance10:32
vilaha ! That one.10:33
vilahmm, a bit weird to use overrideAttr for a class that is embedded in the test itself though10:33
mgzit keeps a scoping a little clearer, and avoids test->class->test->...10:34
vilaI don't get it, it needs to be done after the class declaration so is less clear than inside of it as testcase = self10:36
vilaor is it that it will help your cycle detection stuff ?10:37
mgzyep, you need the gc to clean up the test if you leave a copy of self on an inner class10:39
vilamgz: bah, doesn't work: AttributeError: class FailingDuringResponseHandler has no attribute 'testcase'10:39
vilaso we need testcase = None in addition...10:40
mgzmeh, that's an annoyance of overrideAttr we should fix10:41
mgzbut I wouldn't worry about changing that now vila10:42
mgzI can poke this stuff after it's on 2.5 with the tests actually being cleaned up properly10:42
* vila nods10:43
jmlvila: udd cleanup branch up at https://code.launchpad.net/~jml/udd/clean-up-scripts/+merge/7881611:15
=== medberry is now known as med_out
vilajml: not really reviewed but I have some questions13:29
jmlof course13:30
vilajml: I posted them, but we can discuss here,13:30
jmlvila: ok. I'll pull up the page.13:30
vilajml: the most annoying bit is having the same name in both places and different parts of the whole importer referring to different paths13:31
jmlvila: sorry, I don't quite understand13:31
vilajml: I understand (and value !) the desire to make them easier to test but the added scripts seem to be... a bit empty for no good reason13:32
vilajml: which part ?13:32
jmlvila: they aren't empty. I've mostly bzr moved the things out of the tree into a package13:32
jmlvila: and then created near-empty scripts that call them13:32
jmloh, maybe that's what you meant13:32
vilayes13:32
vilathe mostly empty ones are... why do we need them ?13:33
jmlvila: well, it's either that or use entry points and buildout13:33
vilabuildout ?13:33
jmlvila: you need something to execute13:33
jmlvila: executing python scripts that are inside packages is yuck.13:33
vilaha13:33
vilaoh13:33
jmlvila: I was thinking in a separate branch that the scripts in top-level right now could be moved into bin/ and renamed to be a little nicer.13:34
vilabut I've seen many packages (may be not many, but some) using the __name__ == main idiom to know they are run as a script while still allowing import13:34
jmlvila: but I don't want to change the interface in this branch13:34
jmlvila: yeah, but no one likes using them13:34
vilaoh13:34
jmlvila: e.g. 'python -m testtools.run <foo>'13:35
jml*blech*13:35
vilahmm, the one I had in mind was... unittest ?13:35
jmlvila: yeah, it's the same13:35
jmlvila: these things are scripts, the public interface should look like any executable13:35
vilahmm13:36
jmlvila: the advantage of having very small executable Python scripts is that you don't have to test them.13:36
viladifferent names for the scripts then may be, but the other trend was to move the basic functions out of the scripts anyway13:36
jmlvila: and also, if we want to merge some of the Python modules, we can13:37
vilaright13:37
jmlmove code out of udd.scripts.list_packages into udd.icommon for instance13:37
jmlthis is, in some ways, an intermediate refactoring.13:37
vilaintermediate step then but both trends go in the same direction13:37
vilahehe, yeah13:37
jmlyeah.13:37
vilaoh right13:38
vilathen the logic becomes clearer but they don't deserve to go under udd/scripts then, they should just go under udd13:38
jmlvila: also, I still largely believe that this document is right: http://as.ynchrono.us/2007/12/filesystem-structure-of-python-project_21.html13:39
jmlvila: well...13:39
vilaha, let me read that13:39
jmlvila: I guess so. Some of them are very scripty.13:39
vilait (the url) says don't give a '.py' to scripts, which I agree with13:40
vilacan be done separately but we may need a TODO to keep track13:41
vilabah, and the REAME is bit-rotting too13:41
jmlyeah.13:41
jmlWe can file bugs, or I can just do the *.py thing right now.13:42
jmlBut I don't want to do that before this branch lands.13:42
vilajml: my BIGGEST issue is that these changes are not testable, not even as smoke tests (but I'm not blaming anybody here, just explaining my lack of enthusiasm ;)13:44
jmlvila: ah yes.13:44
jmlvila: well, of course, the thing is that the old code wasn't testable either.13:44
* vila nods13:44
vilabut I said anybody :)13:44
jmlvila: making a change like this is necessary to making them testable13:45
vilathis stuff works, not the same as testable, but still a valuable kind of test13:45
jmlvila: and even if, say, I added a bunch of tests, we wouldn't be guaranteeing against regressions13:45
jmlbecause I'd just be making up what I thought the behaviour should be :)13:45
vilait will help yes, I agree, my issue is how can I safely accept this13:45
jmlhmm.13:45
vilahehe13:45
jmlWell, we could run the scripts.13:46
jmlIf you have a staging environment, we could try that13:46
vilabah, not even, the only staging (local) one I have cannot write to lp (or chaos is around the corner)13:46
jmlHmm.13:47
jmlWell, I don't see how you can safely accept *any* change then.13:47
vilaoh13:48
vilathat's because you don't see the goats13:48
jmlvila: heh13:49
vilajml: more seriously, did you run them locally, which ones ?13:49
jmlvila: no, I haven't yet.13:49
jmlvila: the changes are self-evidently correct :P13:49
jml(I'll run them now)13:49
jmlexcept, ugh, I'm *still* part-way through my database run.13:49
vilajml: can you do that, tell me the ones you didn't and I'll aprove, land, deploy and see what breaks13:50
vilaargh13:50
vilajml: my rough estimates for the importer is that it takes 36 hours before starting again13:50
vilajml: depending on what you really do as an import, this could of course be far shorter13:51
jmlvila: does it just loop forever?13:51
vilamass_import ? Yes !13:51
jmlvila: as in, it goes through all packages again once it's done?13:51
vilait runs unattended13:51
vilayes13:51
jmlvila: I thought it needed constant fuelling from new cronjob runs.13:51
vilafor new packages I think it's still needed, but the corresponding job updates the db and mass_import query it (IIUC)13:52
vilahmm13:53
vilalooking at one of your scripts, importing 'main' ? Why not a more descriptive name ?13:53
jmlBecause it *is* descriptive?13:53
vilamain ? For a script yes, but if we intend to merge this script-wanting-to-be-part-of-packages, less13:54
jmlthen we can rename it when we do that merging?13:54
vilafair enough ;)13:55
jmlWe could have a module called builtins and change all of the scripts to be cmd_foo and then rename main to run() if you'd like :)13:55
vilaoh13:55
vilaI thought about making the importer a bzr plugin if you really want to know ;)13:55
jmlvila: yeah, I thought about it too13:56
jmlvila: but then I realized you'd need sub-sub-commands.13:56
vilathere was too much stuff in the scripts to tackle it safely though ;)13:56
vilafor what ?13:56
jmlvila: bzr udd list-packages13:56
jmlI guess you could just have a prefix or something13:56
vilaoh, I thought about bzr list-packages directly, it's not as if this will be distributed widely13:57
vilabut it could also be udd-list-packages, there is not much to share into the udd command13:57
vilanot use13:57
vilanor use13:57
jmlvila: I guess so.13:59
vilajml: but jokes aside, why not make a builtin.py and indeed rename the mains into cmd_xxx ?14:03
vilajml: not making it a plugin doesn't mean we can't use some naming conventions ahead of time14:03
vilaso many negatives >-/14:03
jmlvila: mostly because that's more work14:03
jmlvila: and it's the same naming structure14:04
vilathat's an honest answer, I like that ;)14:04
jmludd.scripts -> udd.builtins; module_name -> cmd_module_name; main -> run14:05
vilanot even the run part for now14:05
jmlWith the bonus of having to disentangle naming clashes from the existing scpts.14:05
jmlscripts.14:05
vilakeep the separate modules14:05
vilabah, don't answer14:05
vilano, I understand14:06
vilabut a TODO explaining the road ahead still sounds easy and valuable14:06
jmlOK. I'll do that.14:06
vilagreat14:06
vilalet me know when you managed to run them locally as smoke tests and which ones are left to test,14:07
vilafrom there I can land.deploy and be ready14:07
jmlThanks.14:08
vilajml: and when you have time, a private discussion about what you're doing in *your* pkgimport.import_script will probably help me help you ;)14:08
jmlvila: oh, it doesn't have to be private14:09
jmlvila: I'm downloading source packages and extracting the *.symbols files from them14:09
vilaand you upload nothing ?14:09
jmlvila: no. It's for maintaining a database locally.14:10
vilajml: to know when you've processed all packages, search for "All packages requeued, start again" in your logs/driver/progress_log file14:12
vilajml: it's in AllQueue in mass_import14:12
jmlvila: thanks.14:13
vilajml: if you want to make it faster, you can raise the number of threads (default to 8), beware of bug #724893 though (unless you already ran into something like that)14:14
ubot5Launchpad bug 724893 in Ubuntu Distributed Development "concurrent db access are not handled" [Medium,Confirmed] https://launchpad.net/bugs/72489314:14
jmlvila: lifeless warned me against that.14:15
Riddellmgz: unicode question, why does the str one seem to give utf8 bytes while the unicode one gives latin-1 bytes? http://paste.kde.org/132169/14:45
* mgz looks14:55
mgzthat's an optical illusion14:55
mgzin the str case, it gives whatever bytes your terminal gave it, which is utf-814:56
mgzin the unicode case, it decodes those bytes to a unicode characters, of 2 or 4 bytes each depending on the platform14:57
mgzhowever, the python 2 repr only prints ascii for both str and unicode14:57
mgzand the escape sequence \xa3 is just a shorter way of saying \u00a314:58
mgzso, u'a\xa3a' is really a 3 character * 4 byte value15:00
mgzand 'a\xc2\xa3a' is a 4 character * 1 byte value15:00
Riddellah, so unicode repr being different from str repr is what I was missing15:00
Riddellunicode, always strangely more complex than you think :)15:00
mgzI've got a bunch of hacks I use when working with text in a python repr15:04
mgzto save this kind of confusion when looking at reprs15:05
mgz^*repl15:05
mgzPython 3 has a repr that doesn't backslash escape printable unicode characters, and as of 3.3 even mostly works correctly15:06
mgzthen you get into other kinds of unicode hot water though :)15:07
Riddellwhee15:08
=== zyga is now known as zyga-afk
daveb_so, how can I merge, just a subset of commits?16:44
daveb_and then merge the rest later?16:44
=== daveb_ is now known as croepha
=== deryck is now known as deryck[lunch]
=== zyga-afk is now known as zyga
=== deryck[lunch] is now known as deryck
hakermaniavila, heh, im back from the 6-hours-lesson I had -_- I'd stack to what *tagging* is...remember?19:21
lifelesswgz: hi19:37
lifelesswgz: btw check out testresources.FixtureResource19:38
lifelesswgz: its the shim I was talking about19:38
=== yofel_ is now known as yofel
pfsmorigohi, how do I revert all changes in a directory locally?20:46
nigelbbzr revert20:47
pfsmorigonigelb: gives me error: bzr: ERROR: Cannot lock LockDir(http://bzr.savannah.gnu.org/r/grub/trunk/grub/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()20:48
nigelbThat's beyond wat[B20:49
nigelbpfsmorigo: That's beyond what I know :)20:49
=== jpds_ is now known as jpds
theDUBBERwww.thedubber.altervista.org22:13
pooliehi jelmer, hi all23:28
Riddellmorning poolie23:31
pooliehi23:32
jelmerhi Riddell, poolie23:40
pooliehi jelmer23:41
pooliejelmer if you get a chance can you try to get the hardy buildd backports done?23:41
poolie(if you didn't already)23:41
poolienot necessarily tonight :)23:41
jelmerpoolie: I started with it, but it's not trivial since bzr-builder relies on current quilt23:48
jelmerI'm hoping to upload a new package tomorrow23:49
pooliehm23:49
pooliequilt's only a build dependency?23:49
jelmerfor bzr, yes23:49
pooliehm23:49
jelmerbut bzr-builder uses it at run-time23:49
poolieah23:49
poolieperhaps we should just backport quilt?23:50
jelmerThere's already an up to date bzr in the canonical-bazaar/cat-proposed PPA23:50
poolieis it controversial only because it would have to go into cat for everything?23:50
pooliemaybe we could have a separate ppa for this?23:50
jelmerpoolie: That's what I did earlier, but lamont prefers to not introduce a new quilt as it might break other stuff23:50
pooliewould putting it in a buildd-specific ppa reduce that risk sufficiently?23:51
jelmerpoolie: I'm not sure, from my experience it's very hard to get stuff changed on the buildds23:51
poolieyeah so it seems23:51
poolieobviously we have to be careful but otoh this is blocking at least some users at present23:51
jelmerso I think just fixing bzr-builder to work with an older quilt would be a lot quicker23:52
poolieok, so it's feasible but just not trivial?23:52
jelmeryep23:52
* fullermd frowns.23:55
fullermdWhen did -x stop working?23:55
poolieseems to have worked for you there :)23:56
fullermdOh, I see.  It works, it just lies its butt off about what it's doing.  That seems...  suboptimal.23:56
Noldorinhi jelmer23:56
pooliefor which command?23:57
Noldorinjelmer, not going to pester you about bzr-git today heh...just had a quick question :-)23:57
fullermdci23:57
jelmerhi Noldorin23:57
Noldorinjelmer, does git have an equivalent to bzr's lightweight checkouts?23:57
fullermdMmm.  bug 268135 and bug 552805 at least...23:58
ubot5Launchpad bug 268135 in Bazaar "bzr commit -x doesn't change the --show-diff output (iter_changes does not support excludes)" [Medium,Confirmed] https://launchpad.net/bugs/26813523:58
ubot5Launchpad bug 552805 in Bazaar "Commit message template does not exclude files" [Medium,Confirmed] https://launchpad.net/bugs/55280523:58
fullermdWell, it's only 3+ years old anyway...23:59

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