Current Articles | RSS Feed RSS Feed

Calling All Hackers - Automate Git and SVN Workflows, Get Assembla For Free!

Posted by Michael Chletsos and Titas Norkunas on Fri, Jun 28, 2013
  
  

A Contest for Hackers

Recently we released an exciting feature, Server Side Hooks for our hosted Git and Subversion repositories. Today we present to you our first Community Contest - write Server Side Hooks to get Assembla for free.

What can You do with Server Side Hooks?

Anything. Automate your workflow - reject commits that you don’t like (no commit message? tests do not pass? does not comply with a coding standard?), trigger events on external services, rename branches... You know, it's software, anything is possible.

People have submitted two hooks so far:

  • A Subversion hook that validates php syntax. Install it and never see anyone committing non-working code again. Thanks Jakub!

  • A Git hook that validates the commit message based on a regex and rejects if it matches. It defaults to looking for “wip” in the message - any commit message containing text “wip” will not be accepted to the repository. Thanks Ido!

This is just the tip of an iceberg of what is possible. Go crazy!

How to participate

  1. Submit a server side hook for Git or Subversion via Merge Request to our hoook repository.
  2. Tweet it out - don’t forget to include @assembla and #serversidehooks
  3. When your hook is accepted and merged by our team, you win 25 Assembla subscription dollars, and your entered to win amazon gift cards that will be given out at random to participants.
  4. Submit as many hooks as you want.
  5. The Subversion and Git hook that is most installed in Commercial spaces at the end of the contest wins an additional 250 Assembla subscription dollars.

As more people submit hooks, we will unlock more prizes.

Submission and Review

Get submissions in by July 31, 2013 to be considered for the contest. We will make our final determination of winners on August 31, 2013. 

Read more about submitting hooks (and our review policy) on the hoook wiki. Refer to this list to see all the participants.

Have fun and good luck automating your workflows!

Need help?

Have questions? Contact us on our dev group.

Tags: , , , ,

COMMENTS

What about Mercuial (Hg)?

posted @ Friday, June 28, 2013 4:24 PM by AP


We know our Mercurial offering is not the best. However if there is interest in adding hooks, we can look into this. Anyone else want Mercurial hooks on Assembla? Starting up a request on http://feedback.assembla.com would be a good start to getting this done. We do pay attention to those requests.

posted @ Friday, June 28, 2013 4:47 PM by Michael Chletsos


25 subscription dollars. What a wonderful prize. May be something less, like lifetime hosting for one or two projects?

posted @ Tuesday, July 09, 2013 8:36 AM by x


I think you missed that 25 subscriptions dollars is just for entering the contest, there are other prizes including gift certificates to Amazon.

posted @ Tuesday, July 09, 2013 1:08 PM by Michael Chletsos


Scripts which integrate phpmd or phpcs would be much appreciated.  
 
Maybe we could use some parameters to define how strict these programs would be, so if the code is too messy, commit would not be allowed.

posted @ Saturday, July 20, 2013 11:34 AM by Haluk


Comments have been closed for this article.

Follow Assembla

twitter facebook youtube linkedin googleplus

Get Started

blog CTA button

Subscribe by Email

Your email: