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.
White PapersMore >>
- Real results: Speeding quality application delivery with DevOps [in financial services]
- How to Prep and Modernize IT For Cloud Computing
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.