/srv/irclogs.ubuntu.com/2011/06/24/#bzr.txt

zygalifeless, can I call bzrlib.log.get_history_change(old_revision_id=None) to get a history since beginning?00:15
lifelessI haven't looked at the log code in over a year00:16
zygareading it quickly it seems that I have to00:17
zygahow can I get the revision_id of the first revision in a branch?00:17
lifelesswell you'd travese the mainline to the start00:18
lifelessbut00:18
lifelessI suspect you're using the wrong entry point00:18
zygalifeless, I just want to have the same objects to work with (to tell the user how many things changed) regardless of doing pull vs update internally00:19
lifelessyou'd normally use revisions00:20
=== medberry is now known as med_out
mwhudsonwhat the heck?  meld is running 'bzr check' for me03:00
mwhudsonon my launchpad repository03:01
* mwhudson objects03:01
mwhudsonwhisky tango foxtrot!! http://mail.gnome.org/archives/commits-list/2011-February/msg01667.html03:02
lifelessAAAAAAAAAAAAAAAAAAAAAAAAAAAAA03:07
lifelessI presume you will express mail the nuclear cluebat?03:07
mwhudsonwell03:07
mwhudsoni'm trying to remember how bugzilla works03:07
bob2bwahahaha03:07
mwhudsonso yes, running bzr check --tree --branch _is_ faster than running bzr check03:08
bob2from the "better to ask for a large stable of ponies and a yacht, than forgiveness" style of error handling03:08
fullermdIf they just want to check that it's a branch, couldn't they just make a few commits and then roll them back?  I should suggest that...03:09
mwhudsonos.path.isdir('.bzr/checkout') seems about right to me03:09
mwhudsonof course there's no documentation so i don't quite know what the method is for03:10
mwhudsonhttps://bugzilla.gnome.org/post_bug.cgi03:40
mwhudsonah haha, nice one bugzilla03:40
mwhudsonhttps://bugzilla.gnome.org/show_bug.cgi?id=65330203:40
ubot5Gnome bug 653302 in version "bzr check is completely inappropriate for testing the presence of a bzr-managed tree" [Major,Unconfirmed]03:40
mwhudsonwell, that was a distraction03:41
mwhudson"This patch attempts to add a quick sanity check03:43
mwhudson  to most version control systems.  The checks are meant to be03:43
mwhudson  as quick as possible to reduce startup time."03:43
* mwhudson giggles03:43
jtvlifeless, quick Q: are non-ASCII svn usernames supposed to work when checking out a svn repository into a bzr branch?05:22
jtvoh, looks like the traceback may be apport crashing while it tries to report the problem.05:23
jtvNope, the traceback is bzr.05:24
jtvI'm filing.05:24
=== hunger_ is now known as hunger
jelmerhmm, anybody seen John today?12:05
jamvila: ping12:41
jelmerhi jam13:08
vilajam: hi and pong13:18
vilajelmer: hi13:18
jelmerhey vila13:35
maxbIf someone has a moment, UDD iscsitarget is ready for repair in bug 79457414:05
ubot5Launchpad bug 794574 in Ubuntu Distributed Development "Import repair: iscsitarget" [Undecided,In progress] https://launchpad.net/bugs/79457414:05
vilamaxb: this requires updating the jubany scripts from lp:udd right ? (Which also requires restarting mass_import since udd.paths has been introduced (not strictly required but..)))14:27
vilamaxb: jubany is at revno 470 right now14:29
Riddelljelmer: you said we have --directory for most commands but many just take a [Location] argument, is there a reason to use one over the other?14:52
jelmerRiddell: -d is usually where we don't have a location to work from as the first argument, but want a way to specify it14:53
RiddellI think for verify-signatures it makes sense just to have a [Location] option then14:53
Riddellsince it doesn't take any other options14:54
jelmerRiddell: e.g. bzr push takes a -d option to override the source location, bzr tag already takes a tag name argument so you can override the branch to work in with -d, etc.14:54
jelmerRiddell: presuming you mean s/options/arguments, I agree14:54
RiddellI do14:55
maxbvila: There's no requirement to restart mass_import here. I think we should skip doing so. (Or, we should migrate to doing so in a LOSAless fashion, or decide to hold off future refactorings that would affect it)14:59
vilamaxb: (I went that route...For now, we have a losa and have to bear with it) Now, I know we don't *need* to restart mass_import, it's just that I'd feel safer doing so. But more importantly I wanted to check with you I understood what changes were pending and didn't miss some15:01
vilaespecially with 2 revisions fixing previous ones, nothing pending ?15:04
vilamaxb: and keep in mind that the initial plan was to migrate from jubany and lose shell access... so we're "lucky"15:06
maxb:-/15:07
mbp_hi maxb, vila15:07
mbp_i think a agood step for the losas is to start having them do jobs for max that we currently do ourselves15:07
=== mbp_ is now known as poolie
pooliewhy 'lucky'?15:08
vilano shell access would have been worse :)15:08
vilapoolie, maxb : I think giving access to jubany would me pragmatic given the recent requests15:09
vilas/me/be more/15:10
vilafunny tyop15:10
poolieto whom?15:11
vilato us15:11
vilabah15:12
vilato maxb15:12
pooliei see your point15:12
maxbThat would be convenient, but would probably need to go via the Ubuntu Developer Membership Board for signoff, given the level of access that implies15:13
poolieright, it's pretty high15:14
poolieand it's a step in the wrong direction15:14
poolierouting through the losas seems like a good step15:14
maxbI disagree on both counts15:15
poolieoh?15:15
vilaexcept the losas don't have the required knowledge as of today and the long term plan is to not need them for such operations15:15
vilamaxb: lp:udd pulled & fixit done , by the way15:16
maxbApplying to give me access to the branches directly is roughly similar to me applying to be a core-dev - not a wrong direction, but potentially awkward because I've jumped directly to contributing to matters cutting across all of Ubuntu15:16
maxbInvolving the LOSAs simply adds more "please run this" repetetive work to an already overworked team15:16
vilaoh, we aren't giving you access to the branches, we give you the ability to impersonate james_w :D15:16
vilapoolie: by the way, what's the status of the bug about not using james_w credentials anymore ?15:17
maxbNone of the work involved in managing the importer necessarily requires administrative rights - all it requires is enough privileges on Launchpad plus a computer to run the importer on15:18
pooliemaxb, that's true about it creating more manual work15:18
poolieor, spreading it around15:18
poolievila, i have an email alias for it15:18
vilapoolie: and a lp account ?15:19
poolienot yet15:19
pooliethat's the next thing i need to do15:19
poolieoh, also to test whether the address works :)15:19
maxbvila: Can you check if something's broken, the web pages don't seem to be updating, as if categorize_failures.py was not running15:23
vilaNameError: global name 'explanations_file' is not defined :-(15:23
vilatests tests tests :D15:23
james_w<bigcalm> davmor2: don't you wish you could do that?15:24
james_w* em has quit (Read error: Connection reset by peer)15:24
james_w<bigcalm> Not that I would want to touch the floor in a men's bog15:24
james_w* em (~em@unaffiliated/emma) has joined #ubuntu-uk15:24
james_w<BigRedS> anyone know what the premissions openssh actually wants for a chrooted sftp are? It's doing that wonderful thing of saying I've got them wrong, but not what they should be15:24
james_w<MartijnVdS> BigRedS: http://www.debian-administration.org/articles/590 ?15:24
james_w* em has quit (Ping timeout: 260 seconds)15:24
james_w<BigRedS> yeah, it wants more than just owned-by-root it seems15:24
james_w* Guest96855 has quit (Quit: Ex-Chat)15:24
james_w* em (~em@unaffiliated/emma) has joined #ubuntu-uk15:24
maxboh for goodness sake. I suck, evidently, though I grepped really really carefully after the first problems.15:24
james_w<BigRedS> It's happy with the user being unable to write to the chroot dir15:24
james_w<BigRedS> which seems normal, except I'm sure the user used to be able to write there...15:24
* maxb fixes15:24
james_w<MartijnVdS> BigRedS: yes, so the user can't drop a .ssh/authorized_keys15:24
james_w<BigRedS> I *thought* it used the user's ~ for ssh bits and bobs for precisely that reason?15:24
james_w<BigRedS> docs seem either to be scarce or to be hiding from me though15:24
james_w* marxjohnson (~mark@2.102.242.119) has joined #ubuntu-uk15:24
james_w<MartijnVdS> apt-get source... :)15:24
james_woops, sorry15:24
vilawho is impersonating james_w now ?15:24
vilamaxb: you don't suck, really15:25
maxbpushed15:27
vilaAttributeError: 'set' object has no attribute 'web_status_dir' :-}15:27
maxbwhat?!15:27
vila    paths = set()15:28
vila    path = os.path.join(paths.web_status_dir, "index.html")15:28
maxbyes :-/15:28
vilaI really think overriding symbols should be banned from all languages :)15:29
jelmerjames_w: is it correct that RepackTarballAdaptor isn't used anywhere in bzr-builddeb?15:29
james_wjelmer, I'm not sure. I don't remember the class, so if grep says no then it likely isn't15:30
pooliehi jam15:30
maxbpushed, again15:30
vilamaxb: watch out for the same pattern in write_main_page or did you fix both ?15:31
james_wah15:31
maxbyes, I fixed all three15:31
james_wfrom the test multiplication code15:31
vilamaxb: by removing them ? (They don't seem to be needed, it's a set for a single add)15:31
maxbI didn't want to change that much for a quick-fix15:31
vilamaxb: anyway, it ran15:32
jelmerjames_w: ah, hmm. is this replaced by the scenarios now perhaps?15:32
maxbBesides, I think it's so that all of the writing functions have the same interface15:32
vilamaxb: ok, will you or should I ?15:32
maxbdo what?15:32
vilamaxb: sure same interface but that doesn't mean the implementation has to do useless stuff15:32
maxbI'm happy with the code as it currently is.15:33
vilaha right, just re-read get_info, it has to be a set, so nm15:35
james_wjelmer, I can't remember if it uses multiplication any more15:36
jelmerjames_w: I'll browse a bit further15:37
james_wyeah, looks to be scenarios now15:37
pooliemaxb, i'll see if we can do that15:38
poolies/that/giv eyou access15:38
jamhey poolie, just on my way out15:39
jelmerhey jam15:47
maxbpoolie: That would be useful. I suppose I should file a per-package uploader application for bzr, so that I can be an Ubuntu developer of some kind.15:51
pooliethat'd be good15:54
pooliehi jam15:55
poolieand jelmer15:55
pooliemaxb, so perhaps we should ask the tb if you can have access to ubany15:56
pooliemaxb, i think it would be worth you doing a ppa15:58
maxbPPU ?15:58
poolieyou can find my application in the techboard archive15:58
poolieyes, ppu15:58
jelmerhi poolie, maxb16:00
poolieyou can crib from that if you want16:01
jelmerwait, what?16:02
jelmerclearly there are some meanings of the word "crib" I'm not familiar with :)16:02
pooliecopy16:04
poolieas in cheat on an exam16:04
jelmerah, thanks16:04
pooliealso 'a brothel', 'a wicker basket', ' a packed lunch taken to work'16:05
pooliei have nevert heard of those16:05
poolieactually maybe the first, but it's very archaic16:06
jelmeryeah, the only two places I remember seeing it are in bible references and on MTV ("MTV Cribs")16:06
vilaha, I found surprising you never heard of a brothel :)16:06
vilajelmer: what ? The bible is talking about brothels ???16:06
vilaoops, that may be offensive, sorry16:07
pooliethese are obscure meanings of the word 'crib'16:07
jelmervila: a crib is also an infant bed16:07
* vila notes to never ever use this word16:07
vilaJust in case I try to say I put one of my daughter in a crib....16:08
jelmer:)16:09
vilajelmer: is it still time to remember you about bike leds ?16:10
jelmervila: I haven't forgotten :)16:10
vilagreat !16:10
maxbOh. Hah.16:43
maxbjubany gets different results to me because lucid's and natty's dpkg behave differently16:43
pooliehm16:56
pooliei wonder if i should just ask on the tb list16:56
pooliemaxb it may be better f you start your developer application first16:58
pooliethen that can describe your credentials etc16:58
maxbok16:58
pooliei would be delighted to endorse you16:58
vilamaxb: can't you test it in chroot ?16:59
pooliei expect james, jelmer, and others would too16:59
vilapoolie: by the way, could we discuss with losas to get a read-access to some ppa so we can precisely (and cheaply) setup jubany replicas ?16:59
vilapoolie: that is, not *now* but next week ;)17:00
maxbPPA? To contain their patched packages?17:00
vilamaxb: yeah, *these* packages17:02
pooliethe CAT packages?17:03
vilamaxb: or share one with them, whatever17:03
pooliesure17:03
pooliejust ask17:03
vilapoolie: could be. The ones that are installed on jubany.17:03
vilacreat17:03
poolievila, the URL is visible on jubany ;)17:04
* vila blinks17:05
* vila blinks twice17:05
vilayummy17:05
vilawhat a beautiful idea to end the week...17:06
=== abentley is now known as abentley-lunch
pooliecheerio17:21
=== abentley-lunch is now known as abentley
Prodii'm having some issues with bzr throwing an error when I try to do a push19:24
=== deryck is now known as deryck[lunch]
Proditried a search, but nothing seems to be relevant/help19:25
Prodithe last part I see working is the fetching revisions, it sends a few megs to the server, and then throws the following error19:26
Prodibzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.19:26
Prodimy network appears to be fine though19:26
maxbHmm. Please check your ~/.bzr.log, see if there is additional debugging information there19:26
Prodii'm running this on windows19:26
Prodido you know where that file is located?19:26
maxbNo :-)19:26
* Prodi googles19:27
maxbAh. "bzr version" should tell you where the log file is19:27
Prodioh ok19:27
Prodigot it19:28
Prodithere's some message about adding something to LRUSizeCache failed, but I assume that's just a warning19:33
maxbYes19:33
* maxb wonders which flavour of UDD failure to attack next19:34
maxbThe remaining NoSuchTag ones that I semi-diagnosed at Millbank, I think19:35
* Prodi wonders what UDD is19:35
maxbUDD is Ubuntu Distributed Development, the use of Bazaar to maintain Ubuntu packages19:35
Prodiah19:35
maxbUDD is also the Ultimate Debian Database, just to confuse everyone :-)19:35
ProdiTooManyConcurrentRequests: The medium 'SmartSSHClientMedium19:36
Prodi)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.19:36
maxbHmm. Usually that means a ssh connection has broken and bazaar has kept trying to use it19:37
Prodihmmm19:37
maxbPerhaps you could pastebin a larger chunk of the log?19:37
vilaProdi: bzr version ?19:37
ProdiFri 2011-06-24 14:30:55 -040019:38
Prodi0.062 bazaar version: 2.3.119:38
Prodi0.063 bzr arguments: [u'qsubprocess', u'--bencode', u'l4:pushe']19:38
* jelmer is making progress on multiple upstream tarballs19:39
vilaProdi: 2.3.3 is out, not sure if the fixes are relevant though. Depending on your OS there is also betas for 2.419:40
Prodii went with the windows MSI19:40
Proditaht contains all the pieces19:41
vilaright, windows it is then. So you can (and probably should) upgrade to either 2.3.3 or 2.3b419:41
vilameh19:41
vila2.3.3 or 2.4b419:41
vilaif you still encounter the issue, file a bug please at http://pad.lv/fb/bzr19:42
ProdiI went for the stable release provided at http://wiki.bazaar.canonical.com/WindowsDownloads19:43
Prodihttp://pastebin.com/3rEHqZU619:45
Prodiactually, this may be server permissions related19:56
Prodiit never seems to set the right permissions when I branch on the server19:56
=== deryck[lunch] is now known as deryck
Prodiwell, that didn't help20:29
Prodiis there a server side log I can look at?20:30
Prodi]for the smart server?20:30
james_wmaxb, $ requeue lash20:31
james_wTraceback (most recent call last):20:31
james_w  File "/srv/package-import.canonical.com/new/scripts/requeue_package.py", line 33, in <module>20:31
james_w    opts.zap_revids = filter(None, opts.zap_revids.split(','))20:31
james_wAttributeError: 'NoneType' object has no attribute 'split'20:31
james_wthat's because there's no --zap-revids given I think?20:32
maxbArgh20:32
maxbI seem destined to break udd scripts in silly ways at the moment20:32
james_wmaxb, want me to fix it?20:32
maxbI'm happy to do so, but you can likely to it just as quickly :-)20:33
maxb*do20:33
maxb(I'd just add default="" to the option definition)20:33
maxbMaybe I should just turn it into a standard append-type optparse option20:34
maxbThe current uses I'm coming up with for it tend to only involve zapping a few series20:34
james_wdone20:35
maxbthanks20:35
maxbby the way, don't update bzr-builddeb on jubany, it breaks current udd :-/20:36
james_wok20:36
james_wthat was the fix jelmer proposed, or something else?20:36
maxbApparently jelmer's fix didn't go far enough20:36
james_wah, ok20:37
maxbbug 801726 filed for now to preserve my mental state on that20:38
ubot5Launchpad bug 801726 in Ubuntu Distributed Development "UDD still breaking with tip of lp:bzr-builddeb" [Undecided,New] https://launchpad.net/bugs/80172620:38
=== Prodi is now known as Prod[a]
=== yofel_ is now known as yofel
maxbRight.20:46
maxbI'm done compiling work for people to run on jubany now :-)20:47
maxbOoh, and I've *very nearly* knocked AssertionError:<module>:main:find_unimported_versions:check off the top spot in the rankings20:48
Prod[a]is there a way I can work around having to push to the server remotely?20:51
Prod[a]like package the change into a file and do the commit from the server or something?20:51
Prod[a]or rather package the commit, and push it from the server20:52
maxbBazaar has a concept called a "bundle"20:53
maxbTry bzr send --no-patch -o foo.bundle destination-branch20:55
Prod[a]k, will try it out21:04
Prod[a]thnx21:04
Prod[a]should I also open a bug report for this?21:04
Prod[a]considering I don't really know where or what the issue is?21:05
=== maxb changed the topic of #bzr to: Bazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | UDD failures: 401
maxb(assuming no more of the in-progress ones fail :-) )21:12
KombuchaKipEasyTAG has just been resurrected. Please vote on your preferred revision control management we should use: http://www.easypolls.net/poll.html?p=4e04d772a34eb0e4f6954f9121:19
* maxb wonders how spamming that message in #bzr can possibly make sense21:23
=== maxb changed the topic of #bzr to: Bazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | UDD failures: 400
Prod[a]i opened a bug for it22:01
Prod[a]https://bugs.launchpad.net/bzr/+bug/80176922:01
ubot5Ubuntu bug 801769 in Bazaar "Connection closed error on push" [Undecided,New]22:01
Prod[a]oh, there it is :)22:01
maxbrequeue --auto qbittorrent if someone has a moment?22:57
timrcdoes anyone have an example of how to push a local branch to a remote location using bzrlib?23:27

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