Open GoogleCodeExporter opened 9 years ago
Hello,
Yes this would be better. However there are a number of issues with using it
directly.
1) It would not work in binary versions of Editra. As the python environment is
self
contained and cannot load modules that are on they system. Meaning that the
plugin
would have to bundle a copy of Bazaar in the plugin, which would also open yet
another can of worms.
2) It doesn't fit into the current framework of the Projects plugin as it
expects to
run an external process and grep the info from stdout. This is necessary as
most
source control systems are not implemented in python and this method also fits
the
general base use case that will work with all source control systems.
Possibilities:
It could be possible to add conditional code to the BZR.py module in the
projects
plugin to try and use bzrlib when its available (i.e for those using a source
installed version of Editra and have bazaar installed). This would likely not
be
difficult for anyone familiar with Bazaar (not me I only used it for a day to
add the
current support). I don't think I will have time to work on this myself anytime
soon
though but will gladly accept patches.
Cody
Note: title updated to more specifically say what this request is about.
Original comment by CodyPrec...@gmail.com
on 2 Jan 2009 at 8:37
Original issue reported on code.google.com by
Kalzar...@gmail.com
on 2 Jan 2009 at 7:33