Perforce is a client-server software configuration management (SCM) system, used to keep track of work done by developers.
The server maintains a master file repository called “depot” using a database, and the users which interact through command-line and GUI clients. The clients communicate with the server which is responsible for executing the commands, serve up file content, run event triggers, and keep record of all of this in the database.
The Perforce plugin enables you to connect ElectricFlow Perforce. It calls the Perforce’s tool “p4” command line and passes in the user-provided parameters, enabling you to perform:
- Code checkout (‘sync’ in Perforce)
- Preflight builds
- Continuous integration.
- “Smart Sync” – a feature which allows you to sync a client and workspace to a pristine condition without need to download all the changes every time. This can be very useful if you have a large code base.
Integration with Perforce Swarm for Pre-commit Testing
Swarm is a code review tool that can be integrated into your automated build/test processes in ElectricFlow. When using Swarm and ElectricFlow, you can track whether the code you are reviewing passes or fails tests – effectively performing a preflight test, without any additional tooling required from the developer’s perspective.
Watch this short video to learn about the Swarm / ElectricFlow integration: