|
|
Log in / Subscribe / Register

Best practices for the new era of open source (opensource.com)

This opensource.com article holds out Ansible as an example of a project worth emulating and delves into the reasons for its success. "The idea that a user can try something out over a lunch break, and understand it—and then learn what is left to learn—is a key success driver for open source software. Too many projects fail needlessly because they don’t invest in this critical idea."

to post comments

Best practices for the new era of open source (opensource.com)

Posted Sep 23, 2014 17:56 UTC (Tue) by simonft (guest, #61228) [Link] (14 responses)

To be fair, it was written by the founder and lead developer of Ansible.

Best practices for the new era of open source (opensource.com)

Posted Sep 23, 2014 17:59 UTC (Tue) by duffy (guest, #31787) [Link] (2 responses)

No, mdehaan didn't write it. gregdek did. gregdek joined in June 2014 as a community lead.

Best practices for the new era of open source (opensource.com)

Posted Sep 23, 2014 18:03 UTC (Tue) by spaetz (guest, #32870) [Link] (1 responses)

Yet, this is line 1 of the article:
Co-authored by Michael DeHaan, Co-founder and CTO of Ansible.
So the OT is not wrong.

Best practices for the new era of open source (opensource.com)

Posted Sep 23, 2014 19:50 UTC (Tue) by duffy (guest, #31787) [Link]

oh! fair point! apologies, I didn't see that there were two bylines.

Best practices for the new era of open source (opensource.com)

Posted Sep 24, 2014 7:32 UTC (Wed) by bartavelle (guest, #56596) [Link] (10 responses)

It does indeed look like PR. The "github" chapter is highly debatable and clearly spin-doctored.

Before reading this article, I would qualify a project that is highly popular, has a ton of forks, and more importantly a ton of contributors as a project that scratches a fairly big itch, but that is in a dire need of features / bug fixes.

Best practices for the new era of open source (opensource.com)

Posted Sep 24, 2014 8:48 UTC (Wed) by moltonel (subscriber, #45207) [Link] (9 responses)

I don't think the "number of forks" metric is very usefull on its own. A fork that only served to play with the source doesn't have much value. A project that satisfies its users well enough that they don't feel the need to fork it is a better project. The "fork/contributors ratio" heraled in the article looks like a better metric, but it tells more about how easy it is to contribute (forking is step 0, and many people don't go beyond that) than how popular the project is (the raw number of contributors seems like a better metric for that).

To me, the benchmark for good opensource projects remains PostgreSQL. It has multiple real forks ("traditional" forks that add features and periodically sync with upstream, not git/github forks that are just the result of a mouseclick), is supported by volunteers and multiple companies (without one single company being responsible for the main project), has clear and strict semantic versioning and support timelines, documentation so good you rarely need to search, detailed changelogs and upgrade instructions, a remarkably low level of defects with a steady stream of new features, a very welcoming community... You name it, they have it.

Best practices for the new era of open source (opensource.com)

Posted Sep 24, 2014 8:50 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link] (8 responses)

A working bug tracking system?

Best practices for the new era of open source (opensource.com)

Posted Sep 24, 2014 11:42 UTC (Wed) by andresfreund (subscriber, #69562) [Link]

> A working bug tracking system?

Nah. A mailing list is *obviously* much better than a actual bug tracking system. And no, that statement is completely unrelated to the fact that I'm now going to hide under a rock.

Best practices for the new era of open source (opensource.com)

Posted Sep 24, 2014 22:13 UTC (Wed) by reedstrm (guest, #8467) [Link]

Nah it's an existential, logical requirement. See, everything must have one, exquisite flaw, since nothing perfect can exist. Alternately, Postgresql is the counterexample - a bugtracker is not critical infrastructure, but is instead a holdover from enterprisey, manager-driven, count-the-LOC thinking, in the worst way. :-)

Best practices for the new era of open source (opensource.com)

Posted Sep 25, 2014 16:53 UTC (Thu) by moltonel (subscriber, #45207) [Link] (5 responses)

They've been asked for that before... I think the argument goes something like "we fix bugs immediately anyway, so why bother tracking them ?".

Plenty of projects work like that, it's just weird/suspicious when a big project does. It's great if you can stay on top of bugs, allowing you to skip the tracking step. Better than a bugtracker full of year-old bugs.

Best practices for the new era of open source (opensource.com)

Posted Sep 25, 2014 16:59 UTC (Thu) by Cyberax (✭ supporter ✭, #52523) [Link] (3 responses)

Except when they don't. Then you have to constantly badger the developers to fix bugs. And in lots of cases you eventually give up and the bug remains unfixed.

Best practices for the new era of open source (opensource.com)

Posted Sep 25, 2014 19:15 UTC (Thu) by andresfreund (subscriber, #69562) [Link] (1 responses)

> Except when they don't. Then you have to constantly badger the developers to fix bugs. And in lots of cases you eventually give up and the bug remains unfixed.

Does that happen often from your POV? Sure, there are some unfixed bugs on the -bugs list. But mostly those are ones where not enough information is available, no agreement about a fix could be found yet, or where the cure might be worse than the disease. If that impression is wrong, I'd like to hear about it.

Best practices for the new era of open source (opensource.com)

Posted Sep 25, 2014 19:32 UTC (Thu) by Cyberax (✭ supporter ✭, #52523) [Link]

It happened to my colleague, although it was about 10 years ago.

Also Postgres has a curious development model - lots of features are prototyped and developed outside of the mainline, and only then they are integrated into the mainline. So that significantly cuts the number of bugs.

Best practices for the new era of open source (opensource.com)

Posted Oct 5, 2014 9:10 UTC (Sun) by jonnor (guest, #76768) [Link]

In most projects you need to do that on the bugtracker anyway. And sometimes escalate to mailing list and/or IRC...

Best practices for the new era of open source (opensource.com)

Posted Sep 25, 2014 18:37 UTC (Thu) by andresfreund (subscriber, #69562) [Link]

> They've been asked for that before... I think the argument goes something like "we fix bugs immediately anyway, so why bother tracking them ?".

I think it's more that we (I'm a postgres dev, although not much involved in that discussion) couldn't really agree on which solution to take. Fully controllable via email was the biggest dealbreaker IIRC.

Best practices for the new era of open source (opensource.com)

Posted Sep 23, 2014 21:24 UTC (Tue) by sciurus (guest, #58832) [Link] (1 responses)

This article, where the author rewrote "around 10,000 lines of actual Puppet code" in both Ansible and Salt, does a nice job evaluating Ansible on some of the measures the opensource.com article calls important.

Best practices for the new era of open source (opensource.com)

Posted Sep 24, 2014 8:04 UTC (Wed) by mmonaco (guest, #84041) [Link]

Disclaimer: I really grew to dislike Ansible after getting trapped by the initial temptation of a low barrier to entry. Trying to define my entire infrastructure with Ansible, my first foray into configuration management, was incredibly frustrating. This was about a year ago, so let me know if my views are obsolete. It probably doesn't help that I think Vim's filetype support for yaml is horrible, but there were plenty of other issues with Ansible.

I don't want to get into an X vs Y vs Z rant, because that's not what the article is about. But I am extremely happy with Puppet and from what I understand Chef is an excellent choice as well.

Specifically, I think the "optimize for first experience" bit is misguided and ultimately an anti-feature of Ansible. Sure, it's very easy to start, but might that be because the syntax as a whole lacks necessary sophistication? E.g., It's a lot easier for a newcomer to fall in with the linear ordering rather take a minute to understand Puppet's fine-grained dependency model. Aside from the module reference, Ansible's documentation reads like a howto or guide. This is great at first but quickly becomes very frustrating. It was (and still appears to be) very difficult to quickly look up information about the core system.

This other article is almost the opposite of my experience, however, like I said, I believe Puppet to be far more elegant and useful. Refactoring is an important part of configuration management. I started with Ansible, moved on to Puppet, and then eventually redid my entire Puppet repo. It seems like the Lyft guys got to the point where their repo needed some refactoring and took it out on the CMS. It would take quite a bit of luck for the first CMS repo based on any of these projects to stay properly tidy and organized.

BTW, I still actually use Ansible more or less as a parallel SSH client. 1) I use the rsync module to sync my puppet repo to my targets and 2) I use Ansible to run commands on my targets -- typically $(puppet apply), but other things as well.

It is telling that they don't mention Salt(Stack)

Posted Sep 23, 2014 21:31 UTC (Tue) by debacle (subscriber, #7114) [Link]

but only Chef, Puppet, and CFEngine. But what is this telling me?

Btw. I don't have any opinion on the "Ansible vs. Salt" competition.


Copyright © 2014, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds