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

=== med_out is now known as medberry
=== medberry is now known as med_out
pooliecinerama, https://bugs.launchpad.net/bzr/+bug/25568705:11
ubot5Ubuntu bug 255687 in Bazaar "log and annotate should work on removed files" [Medium,Confirmed]05:11
wgzstill dark outside...06:02
AuroraBorealisits dark outside here too!06:02
pooliehi wgz06:06
pooliebeautiful day here06:06
* fullermd searches around to find a window, and discovers darkness there too....06:13
wgz:)06:14
fullermdIt's like a giant plague, taking over!  It probably covers half the world by now   :(06:14
wgzokay, nearly time for bus06:37
wgzcow-orking today.06:38
poolieoh great06:39
pooliei'm out for a bit to play squash, probably back later06:39
jampoolie: i think I mentioned earlier, but they put a 1hr inetd timeout on savannah, i believe.06:48
jamI don't think it is from bzr, I think it is from their configuration.06:49
jammorning all06:49
Pegasus_RPG_Hello. I just wanted to find out what the best way of moving/copying a bzr checkout to another PC is?07:45
Pegasus_RPG_(I'm on a slow Internet connection and don't want to have to check it out again)07:45
mgzgood morning.08:07
mgzkirkland deserves some praise, fix up etckeeper in oneiric from yesterday08:10
pooliehi mgz, jam08:23
pooliejam, oh it kills it after an hour regardless?08:23
jampoolie: I'd have to track down the original message, let me check08:23
jamhttps://bugs.launchpad.net/bzr/+bug/82479708:25
ubot5Ubuntu bug 824797 in Bazaar "bzr serve doesn't drop idle/dead connections" [High,Fix released]08:25
jamI may have just been confused08:25
jambecause he closed the connection himself after 1 hour08:25
pooliei think that's imapd, or maybe inetd, closing it08:34
cjwatsonhey, I'd like to have a working Debian dpkg import today for Ubuntu precise opening, and apparently it's blocked on bug 71462209:25
ubot5Launchpad bug 714622 in Ubuntu Distributed Development "import fails when lp branch has been push --overwrite'n" [High,Confirmed] https://launchpad.net/bugs/71462209:25
cjwatsonI've deleted the 1.16.0~ubuntu8 tag from the natty branch, since AFAICS it doesn't correspond to anything that was ever accepted into the archive09:26
cjwatsoncould somebody please requeue it and see if that's enough to fix this?09:26
pooliehi cjwatson09:30
pooliei'll do that now09:30
pooliemgz: hi meet cjwatson09:30
mgzhi cjwatson!09:31
cjwatsonheya09:31
pooliecjwatson: do you mean 'an import of dpkg itself'?09:32
cjwatsonI mean package-import09:35
cjwatsonhttp://package-import.ubuntu.com/status/dpkg.html09:35
cjwatsonsorry for slow response, I'm doing Ubuntu 11.10 publishing09:35
poolieit's running now09:37
pooliebtw multi-tarball inputs should be supported fairly soon09:38
pooliecjwatson: it seems to be failing on09:43
poolieAssertionError: ('steve.langasek@linaro.org-20110325000519-s1f74q0j9esmvs1s', '0d73da5a0af194cfc458d9ec624b6f42209f35f7') != (u'james.westby@ubuntu.com-20110324170447-1m0lwg8kvwt6yfli', u'c7a0e118cb0af317cf3e7af7874192fa4c405d0a') for dpkg 1.16.0~ubuntu6 in natty, something has changed09:43
pooliecould that be a similar problem?09:44
cjwatsonhmm09:45
cjwatsonok, I'll have another look in a minute, worst case is deleting a tag likely to solve the problem?09:45
poolieit seems possible09:46
cjwatsonhmm09:46
cjwatsonI don't see the latter revision id in either lp:ubuntu/dpkg or lp:ubuntu/natty/dpkg09:47
cjwatsonwhere might it be coming from?09:47
pooliehm, let me see if i can work out more09:47
pooliecjwatson: i'll try a full reimport09:49
cjwatsonpoolie: um09:53
cjwatsonpoolie: will that trash existing revision ids?  we are actually using lp:ubuntu/dpkg09:53
cjwatsondefinitely don't want to lose that09:53
pooliei killed it09:54
jamcjwatson: the 'latter' revision_id is probably the one the package importer stores in its sql database tracking what has been imported.09:57
jamIt is the one that the importer had imported to match the given debian revision.09:57
jamwell, ubuntu revision, obviously :)09:57
jamlifeless: you mention that nose is evil, do you have a recommended test runner?09:59
cjwatsonis it possible to excise that, or would that cause other problems?09:59
jamcjwatson: it is possible, though I don't specifically know a way that isn't hacking the sql database directly.09:59
jamlifeless: I'm trying "py -m testtools.run" but it is a bit wonky10:00
jamlike '-v' for verbose doesn't do anything, etc.10:00
pooliei think we do need to excise them, and that would be a good fix for this10:01
lifelessjam: I usually use testr10:01
pooliecjwatson: i need to go and get S from uni in a bit, but jelmer and mgz will be here soon and may be able to fix it10:01
lifelessjam: which builds on py -m subunit.run10:02
lifeless(which extends testtools.run)10:02
poolieor maybe maxb?10:02
cjwatsonok, thanks10:02
maxbI can look at it at lunchtime10:03
maxb(London lunchtime, that is)10:03
pooliethanks10:04
mgzcool, I'm not sure which bits to poke with package stuff yet10:04
pooliemaybe max can tell you about it10:04
poolienight all10:18
mgznight poolie.10:19
jamnight poolie10:34
jammgz: so, after tons of bug filing I found the problem :)10:34
jam(why I was running more tests)10:34
jamthe old, non-scenario code was using mixins, of the form class TestsForX(Mixin, TestCase)10:34
jamand I accidentally had the same "TestsForX" class name in two places.10:35
jamSo scenarios really did give me better coverage, as it is a lot harder to make the mistakes you can make with mixins10:35
jamfiguring that out was very clumsy with the bugs I ran into.10:35
mgzjam: ha, that's actually really interesting10:37
jammgz: also, if I use the 'load_tests' hook, then 'discover --list' works correctly, since the suite of tests is determined at load time, rather than at run time.10:39
jambut -v is still broken, etc.10:39
jam(and I had to patch --list to make it work :)10:39
jammgz: also lots of other oddities. Like testscenarios.TestWithScenario inherits directly from unittest.TestCase rather than testtools.TestCase10:42
jamwhich matters when you try to run with --verbose10:43
jambecause TextTestRunner uses test.shortDescription() to determine what name to print10:43
jamand unittest.TestCase returns the docstring or nothing10:43
jam(thus using str(Test) for the representation)10:43
jamwhile testtools.TestCase returns self.id() as the short description10:43
jamso TestWithScenarios was doing the multiplying correctly, but it wasn't showing the new test ids.10:43
jambecause str(test) wasn't changing.10:44
MezI'm currently reviewing our internal code hosting stuff for bzr.  Anyone know of any tutorials for a decent setup (pref with stuff like hookless emails etc) or a good way of working within a team?10:45
MezWhat we've got a the moment is a kind of "mish-mash" repository (basically bzr+ssh) and was wondering if anyone knows a better way of doing it.10:45
MezI'd use something like LP's code-hosting if it wasn't a proprietary development10:46
cjwatsoncanonical-bazaar / LOSA: Please stop the package importer for Oneiric10:48
cjwatson(per http://wiki.ubuntu.com/ReleaseProcess)10:48
gnuoycjwatson, ok, I'll take a look10:48
RiddellMez: launchpad is open source10:50
MezRiddell: indeed it is - however - it's not exactly the best solution for us as a whole.10:51
lifelessMez: thumper made a standalone lp based codehosting system10:52
MezIf it were easy enought to pull out the code-hosting stuff on it's own, that'd be fine - but the rest of it would just get in the way (and the setup/dependencies to get LP running locally is a bit of a pain)10:52
Mezlifeless: oh, cool - that's exaclty the kind of response I wass hoping to hear :)10:52
lifelessits designed for school projects and soon, but should be close enough to consider10:54
Mezyeah - just looking over it now.  I have a feeling that I might even be able to contribute to it.10:54
Mez(Mainly, I see the ability to add stuff like code review/merges/pqm-esque stuff)10:56
Mez(I do like LP's Pqm-esque stuff)10:56
mgzjam: do you know how to stop the package importer for Oneiric as cjwatson asked?10:56
mgzgnuoy and I are... not completely sure what to do10:57
cjwatsonjames_w should but probably isn't up yet10:57
james_whi10:58
cjwatsonaha10:58
james_wI wish I wasn't :-)10:58
james_wmgz, gnuoy, it's mass-import on jubany, it has an init script10:59
mgzcjwatson: done (with more than a little help :)11:03
cjwatsonthanks!11:04
lifelessRan 23 tests in 4.600s11:08
lifelessOK11:08
lifelessbah11:08
ccxCZMez: I plan to do something like codehosting system eventually, basically by integrating bzr, sphinx, roundup and buildbot11:24
ccxCZlightweight, componentized & extensible11:25
ccxCZbut it will take some work, mainly on the sphinx front I think11:25
MezccxCZ: actually - sloecode looks promising - however, I think zope is broken in Oneiric.11:26
Mezhttp://paste.ubuntu.com/707279/11:27
ccxCZnot zope, just older zope.interface than paste requires it seems11:32
ccxCZeither upgrade or use different wsgi launcher (I use uwsgi)11:32
ccxCZzope.interface is independent of the rest of zope and used by other projects aswell, eg. twisted11:33
mgzokay, looks like the basic idea of the morning works: <http://pastebin.ubuntu.com/707284/>11:36
mgzI shall now go and have lunch11:37
awilkinsqbzr diff viewer ; any way to make the view options sticky or preconfigure them?12:08
awilkinsSpecifically I want to make "ignore whitespace" sticky because the project team I'm working with have annoyingly different whitespace settings in their IDEs (yes, I should just slap them, but that's not an option. Sadly.)12:09
=== beuno is now known as beuno-lunch
=== med_out is now known as medberry
=== beuno-lunch is now known as beuno
mgzawilkins: you can pass the option on the command line to qdiff, but I don't think there's a conf option for it13:06
mgzawilkins: could file a bug against qbzr for that, but really sounds like you need to do some slapping13:07
* fullermd is occasionally irritated at the unconfigurability of qdiff too.13:08
fullermdIf I used it more often, I'd have local hacks sitting around in the code like there's no tomorrow.13:08
mgzI think there's some blame for bzrlib for various parts not quite being flexible enough for reuse in a gui13:12
awilkinsAlas, I can only limit my slapping to people I manage13:14
awilkinsThese are the guys who thought they were OOOO so clever to sit around wasting hours discuss code formatting standards and then don't stick to a consistent IDE config (as predicted by Yours Truly - the only config you should use is the DEFAULT one)13:16
awilkinsUnless your IDE is clever enough to infer formatting rules from the files it opens (which Eclipse isn't, apart from line endings, it seems)13:16
fullermdIf you just converted to APL, you wouldn't have to worry about formatting rules...13:19
jay567hi13:24
jay567i need to install from source, but i don't find the right download13:25
mgzunder downloads on launchpad, the last one should always be a .tar.gz source package13:29
mgzeg, https://launchpad.net/bzr/+downloads13:29
mgz*ie13:30
jay567thank you, i didn't see the right bar, thought it would have to be under 'code'13:32
jay567there i am again... the downloaded package says python 2.6 needed... on the pages all i've seen is 2.4, whioch i have to work with13:49
mgzyou need 2.3 then jay56713:49
mgzbzr-2.3.4.tar.gz same page, further down13:50
kirklandmgz: ;-)  thanks13:51
jay567:)13:52
jay567next obstacle: ImportError: No module named distutils14:10
jay567in setup.py14:10
mgzjay567: ...do you have a full python installed, or just a core system package?14:14
mgzdistutils is part of the standard library and should be packed in "python"14:15
jay567i want to run bazaar on a server of my university...14:15
jay567maybe i can get them to install some modules for me...14:16
mgzand you have no ability to request packages?14:16
mgzif they can give you a working python (and ideally some build tools, pyrex and gcc), then you can do a user install of bazaar14:17
mgzor they might just be able to install the bazaar package for you.14:17
mgzjay567: as a final option, you may be able to get away with not having bazaar there as you can still work over sftp for instance14:19
jay567what do you mean by user install? isn't this what i tried? (python setup.py install --home $HOME)14:22
fullermdWell, you can run it in place without installing.  Though you may not even be able to build the C extensions without distutils, so you may be stuck with the slower pure-python variants...14:23
mgzjay567: yes, that kind of thing.14:24
mgzas fullermd says, you can get away without using install at all, but without the extensions you may not be better off then you would be just treating the server as a filesystem where you can put branches14:26
fullermdWell, even without the extensions, I'm sure using it for bzr+ssh would beat the crap out of sftp, unless the server itself is mind-zonkingly slow and very [network-topologically-] close by.14:27
fullermdDumb servers are occasionally a necessary evil.  But they're way more the short word than the long one   :p14:27
* mgz defers to the greater wisdom14:27
jay567;)14:27
jay567ehm14:27
fullermd(it's not greater wisdom; I just take any excuse to say "mind-zonkingly", 'cuz it's way fun.  You should try it sometime.)14:28
fullermdTry just running 'gmake' in the dir, see if it can do enough to build the C extensions.  I'm betting 'no', sadly...14:29
jay567so if i commit to a 'server', my local bzr calls the server-bzr via ssh... yes?14:29
jay567gmake and make just return the distutils error14:30
fullermdThere are a lot of variations, depending on details of your setup.  But in practice I'd say 'no'.14:30
fullermdJust think of the server and your local as separate branches, that you sync up occasionally (probably only working on one side at a time)14:30
fullermdSo you commit locally, then you 'push' to the server, which calls that bzr over an ssh channel.14:30
jay567yes14:30
fullermdYeah.  Figured.  Sounds like a pretty wacked out python install to not have distutils though.14:31
jay567i think they are pretty afraid of the students, every student from the computer science faculty has a shell account there14:31
fullermdAs well they should be   :p14:32
mgzjay567: try asking nicely for a proper python and build tools.14:32
* fullermd remembers being a CS student once, and it would be a pretty dumb staff/prof who wasn't scared to death of him :p14:32
jay567:P14:32
jay567so, what do I need to do to get the 'push' working? tell my local bzr where to find the bzr binary on the server?14:33
fullermdWell, there's an env var I'd have to look up to give the remote path.14:35
fullermdEasier probably just to put it in your $PATH though.14:35
jay567yes14:35
fullermdYou could e.g. have a ~/bin/bzr symlink that points to ~/src/bzr-a.b.c/bzr14:35
fullermd(assuming ~/bin/ is in your path of course.  But naturally it is, surely)14:35
jay567i see14:36
fullermdIt should Just Work(tm) then.  With the python fallbacks, so slower in various operations than would be possible otherwise, but it'll work.14:37
jay567i don't thnk performance is a big issue14:38
jay567where do i put the config files in this case?14:49
=== mnepton is now known as mneptok
james_wand there is precise :-)15:09
james_wthe package importer has just seen it and created all the jobs to create the branches, it will get to them when it is started again15:09
mgzjames_w: should be be started again?15:16
mgz*it be15:16
james_wwe should get notification when they are ready for it15:17
=== zyga_ is now known as zyga-afk
james_wI expect it could be started now, but let's wait15:17
=== mrevell_ is now known as mrevell
slangasekjam, poolie: as far as bug #714622 is concerned, I think the correct course of action for *all* the affected packages is to take the revid currently on the branch as authoritative... bad form as it may be, if someone has bzr push --overwritten (or otherwise changed the tag), they've done so for a reason.  As long as someone's doing db surgery, could you do so for the other 48 affected packages on http://package-import.ubuntu.com/status/ ? :)16:21
ubot5Launchpad bug 714622 in Ubuntu Distributed Development "import fails when lp branch has been push --overwrite'n" [High,Confirmed] https://launchpad.net/bugs/71462216:21
slangasek(this would help me for sysvinit in particular)16:21
=== deryck is now known as deryck[lunch]
CaMasonHi guys. How can I 'merge' / squash 2 commits into one?16:31
jelmer_CaMason: "bzr uncommit; bzr uncommit; bzr commit -m "Commit message for the squashed commit"16:43
=== zyga-afk is now known as zyga
jelmer_wgz: hi17:32
wgzjelmer: hi, just back from cow-orking17:36
wgzI see from your summary page the builddeb test tweak worked for maverick and natty17:37
jelmer_wgz: did you perhaps request a rebuild for bzr-builddeb?17:37
jelmer_I'm a bit surprised by the upload error17:37
wgzhave you got a bug for the other lucid failures? I guess it's some known issue with the debian helper script not existing in that ancient a release?17:37
wgzjelmer: nope, I shouldn't have touched any buttons17:37
jelmer_wgz: I've fixed those I think17:38
jelmer_http://people.canonical.com/~jelmer/recipe-status/bzr.html17:38
=== deryck[lunch] is now known as deryck
jelmer_I had to backport cython for hardy as well17:39
wgzha, I see what you mean about the 'failed to upload'17:39
wgzis that not just something about today being release day?17:40
jelmer_wgz: that usually happens when somebody hits the "Request a build" button17:40
jelmer_and the same version gets built twice17:40
wgz(looking at the <https://code.launchpad.net/~bzr/+recipe/bzr-builddeb-daily> page)17:40
wgzright, food time for me.17:41
=== yofel_ is now known as yofel
=== aj00200 is now known as aj11u10
maxbAnyone know why the UDD importer is not running?21:48
wgzI stopped it.21:49
wgzand james_w said "let's wait" when I asked about restarting after the release was done.21:50
wgzit may well now be time to start it again.21:50
wgzif you have any idea, please say maxb :)21:52
maxbI'm not clear why it needed to be stopped at all?21:52
maxbcjwatson was asking about getting the dpkg import fixed today, but I'm confused, as it appears to have last run successfully21:53
wgzafter that, another item on his checklist for the release was to stop the Bazaar importer21:54
wgz...I don't have any more information than that, I'm afraid21:54
maxbOh, wait, it'll be so it's not trying to do stuff whilst LP's branch-distro.py process is executing21:56
james_wexactly21:57
james_wwe don't want to be pushing up branches for the new series before that has run, otherwise it will lead to a huge increase in storage used21:59
wgzwhat's the run time on that? :)22:00
james_w18397 outstanding jobs22:00
james_wit22:00
james_wit's around 18 hours IIRC22:00
=== medberry is now known as med_out
maxbHmm - the web UI currently says precise has no packages22:01
james_wjam, thanks for the package import status notifications on branch, it's very nice to have22:01
maxbDoes that mean the initialize-from-parent / branch-distro stuff is not under way yet?22:02
james_wmaybe there was a bug in i-f-p, let me check my scrollback22:03
maxbI suspect a cache of some kind, looks like only the counts on https://launchpad.net/ubuntu/precise are zero22:05
maxbthere are definitely publications for precise - which explains the UDD queued jobs, actually22:07
james_wmaxb, yeah22:08
james_wseems like there were some problems with publishing, but I can't tell if they were resolved22:09
james_wthe people in question left for the day though, so it may be completed tomorrow22:09
james_wbranch-distro has been started though22:09
pooliehi all22:25
wgzhey poolie22:27
jelmer_hey poolie, wgz22:30
pooliehi there23:52
Riddellmorning poolie23:53
pooliehi there23:54
pooliecan anyone update me on the udd importer?23:54
pooliei guess there is scrollback, perhaps i'll just read that23:55

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