Assembla has released a library of server-side hooks for enhanced workflow and collaboration. Intended to bring control over repositories and source code management, this server-side hook library gives extra power to developers and system administrators.
- The Role of the WAN in Your Hybrid Cloud
- Coding to standards and quality: supply-chain application development
- Transforming Operations - Part 1: Managing Outsourced Development in Telecommunications
- Architecting Private and Hybrid Cloud Solutions: Best Practices Revealed
Amid unconfirmed claims of being "first to market" for a "never before available" offering, Assembla CTO Michael Chletsos says that until now, server-side hooks have only been available for those who maintain their own repositories. He further claims that this requires hardware, infrastructure, and administration.
NOTE: Server-side hooks are scripts that run both before and after content is pushed to the server.
If the "min length" server-side hook is installed, a user can set a minimum required length for the commit message. If code is committed without a commit message of a certain minimum length, the code is rejected and not committed.
This ensures commit messages are properly formatted. The benefits of server-side hooks extend to any tasks requiring automation that relies on external web hooks, including checking code for syntax. In short, it makes it easy to manage multiple contributions from a distributed team to a single repository and prevents commits that do not comply with coding standards.
"In addition to providing a library of server-side hooks, Assembla allows users to contribute their own hooks. If a hook is approved, we will make them available for everyone to use," said Chletsos.
Server-side hooks are currently available in Assembla's Subversion and Git code repositories.