Visual Studio integration

Guillermo Gonzalez guillo.gonzo at gmail.com
Thu Mar 15 20:51:39 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Klaus Hartke wrote:
> Hey guys,

Hi!

> 
> I recently discovered Bazaar as alternative to SVN for use in my final
> year project (still need to convince my fellow students though) and
> started working on a prototype add-in for Visual Studio 2005 (since we
> are going to develop both under Windows and Linux, and the latter seems
> already well supported in the form of Olive).
> 
> While scanning through the mailing list archives I noticed Bazaar is
> taking part in this year's Google Summer of Code, so I started thinking
> about turning my prototype into a real project. I found a few options
> how to interface with Bazaar:
> 
> (1) Wrapping bzr.exe by redirecting stdout and stderr
> 
>      This is how the prototype is doing it at the moment. Allows very
>      fast development, almost all major commands are already supported.
>      Problems:
> 
>       - It is impossible to detect when interactive input is required
>         (e.g., when logging in with SSH)
>       - stdout and stderr are redirected through a pipe which buffers
>         all output until the process terminates (so no fancy progress
>         bars here)
>       - It is impossible to cancel any operation except by killing the
>         process (you cannot send signals/KeyboardInterrupts through
>         stdin)
>       - In future releases bzr.exe may change its output format.
[snip]
> 
> I saw a TortoiseSVN-like application being mentioned somewhere, and
> there is Guillermo's Eclipse Plugin for Bazaar (or Bazaar Plugin for
> Eclipse). What approach(es) are you taking here?
> 

The Eclipse plugin use the (1) aproach, at least until jython reach 2.4+,
but things are going slowly.

At this moment all go well with this aproach, but if I had to do something
*really* tricky, I already have been thinking about writing one or more
bazaar plugin's as helpers to the Eclipse plugin. And add them to the 
BZR_PLUGIN_PATH variable in the env of the process (from the java side).
I not test this yet, but maybe you can solve some of those problems, (i.e:
interactive input) with this aproach

[snip]
> 
> Regards,
> Klaus

Regards, 

- --
Guillermo Gonzalez
JID: ggonzalez -AT- jabber -DOT- org
Linux User #385261
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)

iD8DBQFF+bHhaYrZfi+VMsgRAtqyAJwP6uv6kd4fcw6AAy9T0RX6dbmwwACgjCBw
X9hr29MabReSkoxW8G5S1QE=
=KPGF
-----END PGP SIGNATURE-----




More information about the bazaar mailing list