Over a million developers have joined DZone.

Well, Hello Github

DZone's Guide to

Well, Hello Github

· Agile Zone
Free Resource

Learn more about how DevOps teams must adopt a more agile development process, working in parallel instead of waiting on other teams to finish their components or for resources to become available, brought to you in partnership with CA Technologies.

So after my last post, I decided I would try to just setup commit emails on our git repository. I found a project called git-commit-notifier. It‘s a Ruby project that produces decent looking diffs that are colored.

Ran into 2 huge things: 1. because we were using https and webdav, the hooks were never getting triggered. So if you are out there thinking about which protocol to use in Git and your repo is not open to the world, don‘t pick https. It‘s also slow as molasses. So of course, we had to waste a ton of time getting everyone setup with ssh. 2. the commit notifier project proves that you can get really poor quality code in any language. Ruby‘s whole putsch into the marketplace was ‘we write great code‘ and ‘java is a confusing mess.‘ I would invite any serious programmer to look at this codebase. It‘s not object oriented. Matter of fact, I‘ve seen Perl code that is better than this stuff.

We spent hours trying to figure out why if we committed to master, the email would go, using the smtp configuration we had setup, but if we committed to develop (branch) it would attempt to send the email through sendmail! After running around in worhmhole-ridden rot for hours, we decided to consider a new workflow. Found this story pattern that looked kind of interesting, better than the one we had adopted from the Pro Git book.

Which brought on the coup de gras in all this: because you are never doing anything but merging to master, the push diff ends up being pretty useless.

Integrated tools that are tested and documented by the providers are such horrible hindrances to freedom..

Discover the warning signs of DevOps Dysfunction and learn how to get back on the right track, brought to you in partnership with CA Technologies.


Published at DZone with permission of Rob Williams, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}