/srv/irclogs.ubuntu.com/2012/05/15/#bzr.txt

=== vednis is now known as mars
=== jordan__ is now known as jordan
=== echo-are` is now known as echo-area
=== idnaria is now known as idnar
=== echo-are` is now known as echo-area
mgzmorning08:47
jelmerhey08:49
smspillazjelmer: around ?09:08
jelmersmspillaz: hi09:17
smspillazjelmer: hey :)09:18
jelmersmspillaz: what's up?09:18
smspillazjelmer: so I was looking at getting bzr join working for git imported branches, although it seems to fail when adding the new items to the inventory, since git imports set the file_id of the entry in the inventory to the name of the file (which can clash with items in the new inventory easily)09:19
smspillazso I was wondering - is it safe to modify bzr-join to modify the file_ids of imported entries to be, eg, prefixed with the branch we're joining ?09:19
smspillaz(sorry if that sentence was a bit long, been poking around in pdb a bit)09:20
smspillazhere's an example in case you need one: http://paste.ubuntu.com/988614/09:22
jelmersmspillaz: it should be safe to do that, but it will mostly defeat the point of using bzr join at all09:23
smspillazjelmer: hmmm, how so ? the history would be kept right ?09:23
jelmersmspillaz: the revision history will be kept, but the files will appear to have been removed and readded09:23
smspillazah, that's a problem09:23
smspillazjelmer: do you think there might be any other way around the name conflicts in the inventory then ?09:24
jelmersmspillaz: I guess you could use something else for importing from git (fastimport?)09:24
jelmersmspillaz: which will generate non-deterministic file ids09:24
smspillazjelmer: right, although I'm already imported from git09:26
jelmersmspillaz: yeah, you would have to reimport in that case09:28
smspillazjelmer: so I guess the next question is, is it possible to export to git while keeping the history (not flattened ideally) ;-)09:29
jelmersmspillaz: using fastexport/fastimport? I'm not sure how well that works, to be honest.09:30
smspillazmmm09:31
smspillazok, I'll give a couple of things a try then09:31
smspillazthanks :)09:31
jelmersmspillaz: it might be useful to have a look at git-bzr-ng09:31
jelmerIIRC it allows that sort of thing (but from the git UI)09:31
smspillazmm09:31
jelmerand it uses fastimport/fastexport internally09:31
=== jam1 is now known as jam
mgzjelmer: do you recall what in 2.5.0 conflicted with launchpad when you tried to update it in their codebase?12:54
jelmermgz: well, launchpad has to be updated to avoid the methods deprecated in bzr 2.512:55
jelmermgz: doing that broke a bunch of things12:55
mgzfor parallel testing reliability, they could do with the fix for bug 39681912:57
ubot5Launchpad bug 396819 in loggerhead "AttributeError: _factory - lazy imports are not threadsafe" [Critical,Triaged] https://launchpad.net/bugs/39681912:57
mgzwhich is in 2.5.0 but not current launchpad bzr-2.5.0dev2_r615212:58
mgzsee bug 99804012:58
ubot5Launchpad bug 998040 in Launchpad itself "lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrlNotStacked(RemoteBranchFormat-v2) fails rarely/intermittently in parallel tests" [High,Triaged] https://launchpad.net/bugs/99804012:58
mgzmaybe some of our maintenance time would be well spent working through the things preventing that upgrade?12:59
jelmermgz: I guess it would be better to just cherrypick that fix?13:00
mgzperhaps? I don't think I have a good sense of the comparative amount of work involved.13:02
mgzusing an actual release rather than a random dev revision seems like a good thing to do regardless,13:03
mgzbut if it's really disruptive maybe not.13:03
=== zyga_ is now known as zyga
=== yofel_ is now known as yofel
cjohnstonjelmer: I was told to paste you this http://paste.ubuntu.com/988992/  to see if you had any idea why its throwing an error..14:35
jelmercjohnston: hi14:42
jelmercjohnston: at a quick glance it seems like python-dev isn't installed14:42
* jelmer EODs14:47
cjohnstonthat seems to be it.. thanks jelmer14:48
=== zyga_ is now known as zyga
ovnicrafthello i am working in a team so we get a centralized server, but i want to configure to push from team needs an approve, when the push don't auto commit changes15:57
ovnicraftso i need to implement a workflow with gatekeeper16:02
ovnicraftbut is not clear for me16:02
ovnicrafthow to user make a request to merge16:02
mgzthat's really a social question16:03
mgzasking and giving a reference to the branch is the basic requirement16:04
mgzif the gatekeeper is a person, yelling across the office would work16:05
mgzfor a script, you generally want to send email, or something along those lines16:05
mgzclick a button on a webpage, whatever16:05
mgzthere are various existing tools like pqm and tarmac that do this and much more with launchpad16:06
ovnicraftmgz: so pqm work with bze send ?16:08
ovnicraftand yes gatekeeper is a person16:09
mgzif the gatekeeper is going to be a person, just tell everyone to put branches they want merged (with or post review) somewhere he can access them16:17
ovnicraftwith or post review ?16:26
ovnicraftmgz can you help me  explaining it  or give a doc link ?16:26
wgzovnicraft: http://doc.bazaar.canonical.com/beta/en/user-guide/using_gatekeepers.html16:36
ovnicraftwell i understand how it works but i don't get it how implement it16:38
mgzwhat's to implement with a human?16:38
ovnicraftso gatekeeper will make merges from users branches ? or users can try to merge ? and gatekeeper is notified to reviewed16:39
=== zyga_ is now known as zyga-afk
vilaovnicraft: the gatekeeper does the merges (on his side of the gate), submitters publish their branches wherever they want as long as the gatekeeper can read them (on the other side of the gate)16:58
ovnicraftok and users can use bzr send to notify the gatekeeper a patch16:59
=== samkottl_ is now known as samkottler
=== zyga_ is now known as zyga
=== zyga__ is now known as zyga
=== zyga is now known as _zyga
ovnicrafthello i am working with pqm but i can't installed so it can't find pqm python library, i branch code from LP and ./autogen.sh;make; sudo make install23:19
rbasakHow do I see a branch as it was in a previous revision? I want to see a tree that looks like revision 51. In git, I'd do "git checkout 51". What's the bzr equivalent? "bzr switch -r51" crashes on me.23:20
jelmerrbasak: bzr revert -r5123:24
jelmerrbasak: or perhaps 'bzr up -r51' (which updates the branch too)23:24
rbasakjelmer: both of those commands crash too :-(23:25
ovnicraftthere is any way to implement my own pqm manager23:30
ovnicrafti need to use merge proposal workflow (gatekeeper) and but lp-send works with LP23:30
ovnicraftand code review app23:31
jelmerrbasak: how do they crash?23:39
jelmerovnicraft: perhaps tarmac?23:39
ovnicraftreally pqm doc is poor23:39
ovnicraftin fact there is no exists23:39
jelmerovnicraft: pqm is pretty hard to set up23:40
ovnicraftyes miy friend23:41
ovnicrafthave you experience with tarmac to read your feed back ?23:41
jelmerI have experience with both pqm and tarmac23:41
jelmertarmac is a lot easier to set up; I'd recommend it if you're using launchpad23:42
ovnicraftwell i am working in my own server23:45
ovnicrafti want to implement my own server with merge proposal workflow23:46
ovnicraftwith bzr send, iget this errror23:50
ovnicraftbzr: ERROR: Public branch "sftp://USER@192.168.1.119/home/gnuthinkserver/proyectos/nomina_61/addons/" lacks revision "ovnicraft@gmail.com-20120515180023-rgtcfe3a2fcibyq8".23:50
ovnicrafti can't understand the problem?23:50
jelmerovnicraft: bzr send won't work with tarmac - tarmac picks up merge proposals from launchpad only, not from bzr send23:50
jelmersorry, I can't help right now - about to get some sleep23:51
ovnicraftyes i know i just working with bzr send23:51
ovnicraftok thanks23:51

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