Version Control API is an engine for Drupal integration with a variety of version control systems. The focus is primarily on working with canonical, server-side repositories. It provides basic tools that allow for things like history listings, commit access controls, triggered actions when new code comes in, and direct on-disk repository management.
This module is a core engine and does nothing on its own without a "backend" module that provides integration with a specific VCS (e.g. git, bzr, svn). This module provides a consistent base interface (UI and API) for interacting with all the different backends.
Version Control API is the system that drives all of Drupal.org's Git integration.
Versions and Backends
The 6.x-1.x branch of VCAPI is abandoned; however, it has much wider backend support:
- Version Control Git - 1.x and 2.x
- Version Control SVN - 1.x only
- Version Control CVS - 1.x only
- Version Control Mercurial - 1.x only
- Version Control Bazaar - None, placeholder only
The 2.x branch of VCAPI was a massive refactoring, and is what runs drupal.org today. Unfortunately, we can make no promises about the upgrade path from 1.x, though it should generally work. Please do get in touch if you'd like to see one of the other backends brought up to speed with 2.x.
The VC system has a number of modules that integrate with it for richer functionality:
- Version Control Project - integrates VCAPI with the Project system. In use on drupal.org.
- Repoview - an experimental repository browser