VCI::VCS::Bzr - The Bazaar implementation of VCI
This is a "driver" for VCI for the Bazaar version-control system. You can find out more about Bazaar at http://bazaar-vcs.org.
For information on how to use VCI::VCS::Bzr, see VCI.
For the repo argument to "connect" in VCI, choose the directory above where your branches are kept. For example, if I have a branch http://bzr.domain.com/bzr/branch, then the repo would be http://bzr.domain.com/bzr/.
http://bzr.domain.com/bzr/branch
repo
http://bzr.domain.com/bzr/
VCI::VCS::Bzr requires that the following be installed on your system:
bzr Must be installed and accessible to VCI. If it's not in your path, you should specify an x_bzr argument to "connect" in VCI, which should contain the full path to the bzr executable, such as /usr/bin/bzr.
bzr
x_bzr
The bzrtools extension package must be installed. Usually this is available as a package (RPM or deb) in your distrubution, or you can download it from here: http://bazaar-vcs.org/BzrTools.
bzrtools
Because VCI::VCS::Bzr processes the output of bzr, it needs it in a machine-readable format like XML. For bzr, this is accomplished by the bzr-xmloutput plugin, which is available here: https://launchpad.net/bzr-xmloutput.
bzr-xmloutput
You can read about how to install it at http://bazaar-vcs.org/UsingPlugins.
This is in addition to any perl module requirements listed when you install VCI::VCS::Bzr.
These are limitations of VCI::VCS::Bzr compared to the general API specified in the VCI::Abstract modules.
VCI::Abstract
projects
On some repositories, ->projects will return an empty array, even though there are branches there. This only happens for repositories where we can't list the directories. For example, HTTP repositories without a directory listing.
However, get_project will still work on those repositories.
When constructing a Directory, you cannot specify time or revision without also specifying contents. VCI::VCS::Bzr itself never does this, so you generally don't have to worry about this unless you're building your own objects for some reason.
time
revision
contents
With local repositories, VCI::VCS::Bzr should be very fast. With remote repositories, certain operations may be slow, such as calling projects on a Repository.
To install VCI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VCI
CPAN shell
perl -MCPAN -e shell install VCI
For more information on module installation, please visit the detailed CPAN module installation guide.