mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 11:32:39 +02:00
165 lines
No EOL
9.5 KiB
HTML
165 lines
No EOL
9.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title>
|
|
Fork you! or how the social coding can help you - Alexis Métaireau </title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet"
|
|
href="https://blog.notmyidea.org/theme/css/main.css?v2"
|
|
type="text/css" />
|
|
<link href="https://blog.notmyidea.org/feeds/all.atom.xml"
|
|
type="application/atom+xml"
|
|
rel="alternate"
|
|
title="Alexis Métaireau ATOM Feed" />
|
|
</head>
|
|
<body>
|
|
<div id="content">
|
|
<section id="links">
|
|
<ul>
|
|
<li>
|
|
<a class="main" href="/">Alexis Métaireau</a>
|
|
</li>
|
|
<li>
|
|
<a class="selected"
|
|
href="https://blog.notmyidea.org/journal/index.html">Journal</a>
|
|
</li>
|
|
<li>
|
|
<a class=""
|
|
href="https://blog.notmyidea.org/code/">Code, etc.</a>
|
|
</li>
|
|
<li>
|
|
<a class=""
|
|
href="https://blog.notmyidea.org/weeknotes/">Notes hebdo</a>
|
|
</li>
|
|
<li>
|
|
<a class=""
|
|
href="https://blog.notmyidea.org/lectures/">Lectures</a>
|
|
</li>
|
|
<li>
|
|
<a class=""
|
|
href="https://blog.notmyidea.org/projets.html">Projets</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<header>
|
|
<h1 class="post-title">Fork you! or how the social coding can help you</h1>
|
|
<time datetime="2010-11-05T00:00:00+01:00">05 novembre 2010</time>
|
|
</header>
|
|
<article>
|
|
|
|
<p>With <a href="http://github.com">github</a> and
|
|
<a href="http://www.bitbucket.org">bitbucket</a> coming around, a lot of new usages
|
|
appears for the developpers: it’s now easy to get feedback on your
|
|
code/modifications, and to get help from others by, for instance,
|
|
forking repositories.</p>
|
|
<p>Eeach time I see people helping others, I’m amazed by how we like to
|
|
share our knowledge.</p>
|
|
<p>I say github, because it seems to be the more mainstream, but I think
|
|
it’s something strongly related to the
|
|
<a href="http://en.wikipedia.org/wiki/Distributed_revision_control"><span class="caps">DVCS</span></a>
|
|
principles: the “only” thing github have made is to turn that into a
|
|
social network, and to reveal the awesomeness of the DVCSes to the masses.</p>
|
|
<p>What is really interesting is to see how this platform is addictive:
|
|
it’s automatically updating a webpages with the more accurate
|
|
informations about the projects you’re involved in, and add a bit of
|
|
magic to that using webhooks, allowing you to update your website each
|
|
time you push to you repository, for instance.</p>
|
|
<p>Quite nothing, indeed, but, I don’t know why, I find this fascinating.</p>
|
|
<p>I haven’t had the privilege to see my projects forked from github by
|
|
strangers, but I’ve forked others repository to give an hand some times,
|
|
when I wanted to, and the main reason is “because it’s <strong>fun</strong>” to do so.</p>
|
|
<p>Yeah, you’re probably right, you have to be a nerd to find fun to fork
|
|
others. The good point is that geeks are a kind of nerds, and some geeks
|
|
are coders :)</p>
|
|
<h2 id="new-ways-to-contribute">New ways to contribute</h2>
|
|
<p>In addition, it seems that he community, or the communities, are there,
|
|
on those new social networks for coders. It’s really handy to drop an
|
|
eye on interesting projects, to report bugs, propose new features, and
|
|
check what new projects this or this person have made.</p>
|
|
<p>Well, “it’s not new”, you may think. That’s true, because it’s been a
|
|
while that <span class="caps">SVN</span> was there and even <span class="caps">CVS</span> before that. But, it was a bit
|
|
messy to “fork” a project, isn’t it ? And I’m not talking about all the
|
|
hell <span class="caps">SVN</span> involved with it (who have not had issues with those messy .svn
|
|
folders raises an hand !).</p>
|
|
<p>It have not been so easy to share code and thoughts about code, to
|
|
propose changes on existing code, than now. You think it’s better to
|
|
implement this or that in a different way ? Clone it (fork it), make
|
|
your changes and publish them, and then ask projects owners about it.
|
|
For sure you’ll have answers.</p>
|
|
<p>Even if they don’t want it, you can easily keep your changes, and keep
|
|
getting their updates!</p>
|
|
<p>Also, lot of <em>fashionables</em> projects tend to move on <span class="caps">DVCS</span>. Personally,
|
|
if I know I can fork on a <span class="caps">DVCS</span> instead of from a “simple” <span class="caps">VCS</span>, I’ll
|
|
probably be quicker to fork/clone, and to publish changes on my own
|
|
copy, than if I had to do so on the upstream repository (and I’ll likely
|
|
dont have the rights to push to it), because I will not be afraid to
|
|
break things.</p>
|
|
<p>DVCSes makes the contribution easier.</p>
|
|
<h2 id="release-early-release-often">Release early, release often</h2>
|
|
<p>Maybe have you read <a href="http://www.catb.org/~esr/writings/cathedral-bazaar/">The cathedral and the
|
|
bazaar</a>, by Eric
|
|
Steven Raymond ? (If not, consider doing so, it’s a really interesting reading)</p>
|
|
<p>Among a lot of others interesting things, one hint he gives is <em>release
|
|
early, release often</em>.</p>
|
|
<p>I understand it as: if you want to get contributors, release your code
|
|
early, even if it’s not perfect, and don’t be afraid to publish your
|
|
changes each time it’s needed.</p>
|
|
<p>Without notifying it, that’s basically what I was doing for my own
|
|
projects. I guess that’s because Social coding platforms encourages
|
|
those practices, partially cause of the possible impact publishing each
|
|
of your changes can have on your final solution.</p>
|
|
<p>If you have considered publishing your projects, code snippets, or
|
|
whatever (code related) but did not done it, considering them not yet
|
|
ready, maybe should you think about it twice: you can get feedback and
|
|
probably start some interesting discussions about it, if you write code
|
|
that’s readable, of course!</p>
|
|
<h2 id="a-step-further-for-open-source-softwares">A step further for open source softwares</h2>
|
|
<p>Well, DVCSes are a honking great idea, and they’re starting to be really
|
|
powerful when applied to free softwares. I mean: if you can’t see a
|
|
project, it will be hard to contribute to it. And, I don’t think anyone
|
|
wants to contribute to something closed/proprietary, <em>just for fun</em>. Or
|
|
maybe am I missing something.</p>
|
|
<p>Maybe it’s a kind of revolution, about free and open source softwares
|
|
(<a href="http://en.wikipedia.org/wiki/Free_and_open_source_software"><span class="caps">FOSS</span></a>),
|
|
that is going on. I really like to know I have my word to say about the
|
|
changes in the tools I use, and to know that I can make them evolve.</p>
|
|
<p>Let’s take an example. Imagine I’m using a web framework on daily basis,
|
|
as a part of my job as a web developer. I do like using an open source
|
|
software because I know how it’s working, and because I know that I can
|
|
interact with the authors of the framework while they’re doing the
|
|
changes on it.</p>
|
|
<p>That’s communication, nothing more, and of course I can do that with an
|
|
internal proprietary solution, but it will cost me <strong>a lot</strong> more time,
|
|
for a dead-simple reason: a company is not as big and powerful as a
|
|
community can be: it will cost time to work on this framework, resources
|
|
to maintain it, fix bugs etc.</p>
|
|
<p>Well, I’m starting advocating here about Free and Open Source Softwares
|
|
use on companies, what is a bit beyond the scope of this article, so
|
|
let’s back to our DVCSes and new social related tools.</p>
|
|
<p>If I find a bug in this framework, while working, I have the possibility
|
|
to go and talk with the creators of the framework, to open a ticket, and
|
|
even to make a fix for it, because I’ve access to the source code. If I
|
|
want to create a new feature, I just have to fork it, hack it, and then
|
|
publish my code to have feedback of the community.</p>
|
|
<p>My fix/work will benefit to all the people (and maybe others companies)
|
|
working with this framework, and it’s a way to prove the community that
|
|
my company is enough skilled to make code-fixes to the framework, so
|
|
that’s all good !</p>
|
|
<h2 id="whats-next">What’s next ?</h2>
|
|
<p>I hope those social coding platforms are only the begining of a new
|
|
area. I hope they will make people realize what the power of the
|
|
community is, and how easily they can becomes part of it.</p>
|
|
<p>If you’re not using them right now, maybe you should do so: have a look
|
|
on how the programs you’re using are made, consider publishing your
|
|
experimentations, and share them with others, you will see, it’s kind of
|
|
addictive !</p>
|
|
</article>
|
|
<footer>
|
|
<a id="feed" href="/feeds/all.atom.xml">
|
|
<img alt="RSS Logo" src="/theme/rss.svg" />
|
|
</a>
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html> |