{"thread":{"id":"25324","subject":"remote-bzr status","startedAt":"2010-10-03T21:17:37Z","lastAt":"2010-10-07T21:27:13Z","messageCount":7,"participants":["Gabriel Filion","Sverre Rabbelier","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"152408","messageId":"4CA8F2F1.5090407@gmail.com","threadId":"25324","inReplyTo":null,"subject":"remote-bzr status","fromName":"Gabriel Filion","fromEmail":"lelutin@gmail.com","sentAt":"2010-10-03T21:17:37Z","receivedAt":"2010-10-03T21:17:37Z","isPatch":false,"sender":{"key":"lelutin@gmail.com","avatar":"https://avatars.githubusercontent.com/u/108728?v=4"},"body":"Hi,\n\nIt's been a very long time now since I talked about this on the list.\nThe project (integration with Bazaar through a remote helper) is not\ndead, it's just stalled because of bugs in the chosen \"backend\".\n\nThe remote helper code was done in python (mostly based off of Sverre's\nremote-hg code) and relies on the \"bzr-fastimport\" tool. It can be found\non my github repository:\n\nhttp://github.com/lelutin/git-remote-bzr\n\n\nFirst off, what was done for now?\n\n- The remote helper is able to pull in changes in Git repos and to\ncreate tags.\n- It is possible to push changes back _but_ only in some situations. The\n\"bzr-fastimport\" tool currently has bugs [1] that prevent it from doing\nwhat we want. I have included a patch in the remote helper repository to\nfix one issue on the fix that was proposed but the whole thing is not\ncompletely fixed.\n\n[1]: https://bugs.launchpad.net/bzr-fastimport/+bug/347729\n\n\nWhy did I lag this much on this project?\nMostly because of lack of time. My $dayjob was far too demanding. But\nsince I am now self-employed, I want to find some time to work on this\nand get it through.\n\n\nI tried tinkering directly with \"bzrlib\" to make my own tool to\nimport/export information from/to Bazaar, but it is a tremendous PITA\n(unstable API, bad documentation, exceptions thrown are not always easy\nto understand).\n\n\nI have been working on the bzr-fastimport bugs but I didn't receive any\nfeedback from maintainers. So I currently am wondering if I need to be\npushing for this tool to be fixed or if I should reimplement it.\n\nAny help and/or support would be appreciated. I'll keep posting status\nupdates when I have new info or progress on the project.\n\n-- \nGabriel Filion\n"},{"id":"152423","messageId":"AANLkTimbsxUJbZsadCxiw9MpicaND5g3db6fx=QtzaEY@mail.gmail.com","threadId":"25324","inReplyTo":"4CA8F2F1.5090407@gmail.com","subject":"Re: remote-bzr status","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2010-10-03T22:37:25Z","receivedAt":"2010-10-03T22:37:25Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\n> The remote helper code was done in python (mostly based off of Sverre's\n> remote-hg code) and relies on the \"bzr-fastimport\" tool. It can be found\n> on my github repository:\n\nGlad you found my code helpful :).\n\n> - It is possible to push changes back _but_ only in some situations. The\n> \"bzr-fastimport\" tool currently has bugs [1] that prevent it from doing\n> what we want. I have included a patch in the remote helper repository to\n> fix one issue on the fix that was proposed but the whole thing is not\n> completely fixed.\n\nI see you are not using the 'export' functionality, which is good\nsince it has a bug, but if you'd be interested in doing that, feel\nfree to ping me in #git-devel on freenode or on gchat, and we can\nfigure out what would be easiest.\n\n> I have been working on the bzr-fastimport bugs but I didn't receive any\n> feedback from maintainers. So I currently am wondering if I need to be\n> pushing for this tool to be fixed or if I should reimplement it.\n\nI'd recommend working on 'bzr fast-import', forking it if necessary.\nDefinitely preferable over creating a new tool from scratch.\n\n> Any help and/or support would be appreciated. I'll keep posting status\n> updates when I have new info or progress on the project.\n\nPlease keep up the good work, I'd love to be able to clone bzr repo's :).\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"152462","messageId":"20101004061104.GH24884@burratino","threadId":"25324","inReplyTo":"4CA8F2F1.5090407@gmail.com","subject":"Re: remote-bzr status","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-10-04T06:11:05Z","receivedAt":"2010-10-04T06:11:05Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi,\n\nGabriel Filion wrote:\n\n> git://github.com/lelutin/git-remote-bzr.git\n\n>From README.rst:\n\n| What may work:\n| \n| - small repositories\n| - cloning local branches\n| - using differential import (although pushing is currently broken --\n| see below)\n\nNice.\n\n| What's being stopped by bugs in dependencies\n| \n| - pushing (I've fixed a bug on Ian's branch -- see below -- but I've\n| hit another one with using mark_files)\n\nI notice that you are already maintaining a patches/ directory with\nfast-import patches that are needed.  Seems like a sane approach.\n\n> Any help and/or support would be appreciated.\n\nAlso good to hear. :)\n\nWhat is the license on your code (if any)?  Would you be interested\nin including it in contrib/ or core git?\n"},{"id":"152554","messageId":"4CAA16F8.4050705@gmail.com","threadId":"25324","inReplyTo":"20101004061104.GH24884@burratino","subject":"Re: remote-bzr status","fromName":"Gabriel Filion","fromEmail":"lelutin@gmail.com","sentAt":"2010-10-04T18:03:36Z","receivedAt":"2010-10-04T18:03:36Z","isPatch":false,"sender":{"key":"lelutin@gmail.com","avatar":"https://avatars.githubusercontent.com/u/108728?v=4"},"body":"On 2010-10-04 02:11, Jonathan Nieder wrote:\n> What is the license on your code (if any)?\n\nhmm right, there's nothing about this in the repo yet..\nI guess I'd put a GPLv2 license on it to be similar to git's license.\n\n> Would you be interested\n> in including it in contrib/ or core git?\n\nyes I would (after review from the community, and when the code reaches\nbetter functionality and testing.) It would mean greater visibility for\nthe code, added functionality to git and the possibility for more\nmaintainers to help ;)\n\nMy original plan was to try and make the helper work both ways, and then\nto incorporate it into git.git to build patches on top of master (since\nit's a new feature that should be working on the current master).\n\n-- \nGabriel Filion\n"},{"id":"152556","messageId":"AANLkTin_ziCLfsHOeqwzCSaAGWwxwUPi=1=4Hdhz7uSk@mail.gmail.com","threadId":"25324","inReplyTo":"4CAA16F8.4050705@gmail.com","subject":"Re: remote-bzr status","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2010-10-04T18:07:01Z","receivedAt":"2010-10-04T18:07:01Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Mon, Oct 4, 2010 at 20:03, Gabriel Filion <lelutin@gmail.com> wrote:\n> yes I would (after review from the community, and when the code reaches\n> better functionality and testing.) It would mean greater visibility for\n> the code, added functionality to git and the possibility for more\n> maintainers to help ;)\n>\n> My original plan was to try and make the helper work both ways, and then\n> to incorporate it into git.git to build patches on top of master (since\n> it's a new feature that should be working on the current master).\n\nIt would be great if you could make it work by adding a bzr directory\nto git_remote_helpers and a git-remote-bzr.py to the root directory!\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"152738","messageId":"4CABCFDD.4050902@gmail.com","threadId":"25324","inReplyTo":"AANLkTin_ziCLfsHOeqwzCSaAGWwxwUPi=1=4Hdhz7uSk@mail.gmail.com","subject":"Re: remote-bzr status","fromName":"Gabriel Filion","fromEmail":"lelutin@gmail.com","sentAt":"2010-10-06T01:24:45Z","receivedAt":"2010-10-06T01:24:45Z","isPatch":false,"sender":{"key":"lelutin@gmail.com","avatar":"https://avatars.githubusercontent.com/u/108728?v=4"},"body":"On 2010-10-04 14:07, Sverre Rabbelier wrote:\n> On Mon, Oct 4, 2010 at 20:03, Gabriel Filion <lelutin@gmail.com> wrote:\n>> My original plan was to try and make the helper work both ways, and then\n>> to incorporate it into git.git to build patches on top of master (since\n>> it's a new feature that should be working on the current master).\n> \n> It would be great if you could make it work by adding a bzr directory\n> to git_remote_helpers and a git-remote-bzr.py to the root directory!\n\nI have written a test file that uses test-lib.sh. It is named\nt5801-remote-bzr.sh. I don't know if this name is right so I can correct\nit. I simply took the next sequential number after t5800-remote-helpers.sh.\n\nIt is included in the repo mentioned earlier but it won't work in there..\n\nI've created a clone of git.git [1] in which there's a 'remote-bzr'\nbranch. I will be rebasing this branch on top of master and keeping it\nup to date with the other repo's content. (so most operations will be\nnon-fastforward pushes)\nThe previous repository will contain the detailed history about work on\nthe remote helper, while the git clone will contain a simple commit for\nthe helper, plus relevant commits for integration in git.git.\nThe test file can be used inside the git clone.\n\n[1]: http://github.com/lelutin/git\n\nMaintaining two repositories will add a little more work but it will\nmake it easier for me to post a series on top of git for review and\npossible inclusion later.\nAlso, it should make it easier for interested people to test out the\nremote helper, and to run the test file.\n\nSo now, most of my work will be to try and fix bzr-fastimport. I tried\nto get in contact with current maintainers of the plugin via Bazaar's\nmailing list but was unsuccessful. I guess I should e-mail Jelmer\nVernooij directly since he merged some code in not so long ago.\n\n-- \nGabriel Filion\n"},{"id":"152934","messageId":"AANLkTi=qmTCX2+Ty5y3FZF5MoK2WrNGFu3Z8rEHv4CzG@mail.gmail.com","threadId":"25324","inReplyTo":"4CABCFDD.4050902@gmail.com","subject":"Re: remote-bzr status","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2010-10-07T21:27:13Z","receivedAt":"2010-10-07T21:27:13Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Wed, Oct 6, 2010 at 03:24, Gabriel Filion <lelutin@gmail.com> wrote:\n> I have written a test file that uses test-lib.sh. It is named\n> t5801-remote-bzr.sh. I don't know if this name is right so I can correct\n> it. I simply took the next sequential number after t5800-remote-helpers.sh.\n\nI also have a t8501-remote-hg.sh, I suppose whoever is done first gets\n8501 eh? Easy enough to resolve when the issue arises.\n\n> I've created a clone of git.git [1] in which there's a 'remote-bzr'\n> branch. I will be rebasing this branch on top of master and keeping it\n> up to date with the other repo's content. (so most operations will be\n> non-fastforward pushes)\n\nThat's how I've been working too (although I've thrown away the old history).\n\n> Maintaining two repositories will add a little more work but it will\n> make it easier for me to post a series on top of git for review and\n> possible inclusion later.\n\nYou could just drop the non-git repo and work just with the git.git\nfork (that's what I'm doing), whatever you're comfortable with though.\n\n> So now, most of my work will be to try and fix bzr-fastimport. I tried\n> to get in contact with current maintainers of the plugin via Bazaar's\n> mailing list but was unsuccessful. I guess I should e-mail Jelmer\n> Vernooij directly since he merged some code in not so long ago.\n\nYes, Jelmer is involved with the bzr fast-import/export stuff,\ndefinitely contact him if you haven't already.\n\n-- \nCheers,\n\nSverre Rabbelier\n"}]}