Content deleted Content added
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.2) (Whoop whoop pull up - 10895 |
m date format audit, minor formatting |
||
Line 1:
{{short description|New program, and line of software development, derived from an existing one}}
{{redirect|Fork (software)|the operation whereby a process creates a copy of itself|fork (system call)}}
[[File:Linux Distribution Timeline.svg|thumb|upright|A timeline chart showing the evolution of [[Linux distribution]]s, with each split in the diagram being called "a fork"]]
In [[software engineering]], a '''project fork''' happens when developers take a copy of [[source code]] from one [[Computer software|software package]] and start independent development on it, creating a distinct and separate piece of software. The term often implies not merely a [[branching (revision control)|development branch]], but also a split in the developer community; as such, it is a form of [[schism]].<ref>"Schism", with its connotations, is a common usage, ''e.g.'' [http://www.jwz.org/doc/lemacs.html "the Lemacs/FSFmacs schism"] {{Webarchive|url=https://web.archive.org/web/20091130093142/http://www.jwz.org/doc/lemacs.html |date=30 November 2009 }} ([[Jamie Zawinski]], 2000), [https://lwn.net/Articles/419822/ "Behind the KOffice split"] {{webarchive|url=https://web.archive.org/web/20130706094238/http://lwn.net/Articles/419822/ |date=6 July 2013 }} (Joe Brockmeier, ''Linux Weekly News'', 2010-12-14), [http://www.h-online.com/open/features/Copyright-assignment-Once-bitten-twice-shy-1049631.html "Copyright assignment
[[Free and open-source software]] is that which, by definition, may be forked from the original development team without prior permission, and without violating [[copyright]] law. However, licensed forks of proprietary software (''e.g.'' [[Unix]]) also happen.
== Etymology ==
The word "fork" has been used to mean "to divide in branches, go separate ways" as early as the 14th century.<ref>[http://www.etymonline.com/index.php?term=fork Entry 'fork' in Online Etymology Dictionary] {{webarchive|url=https://web.archive.org/web/20120525165727/http://www.etymonline.com/index.php?term=fork |date=25 May 2012 }}</ref> In the software environment, the word evokes the [[Fork (system call)|fork]] system call, which causes a running process to split itself into two (almost) identical copies that (typically) diverge to perform different tasks.<ref>"The term fork is derived from the POSIX standard for operating systems: the system call used so that a process generates a copy of itself is called fork()." {{cite conference|url=http://flosshub.org/sites/flosshub.org/files/paper_0.pdf|title=A Comprehensive Study of Software Forks: Dates, Reasons and Outcomes|first1=Gregorio|last1=Robles|first2=Jesús M.|last2=González-Barahona|conference=OSS 2012 The Eighth International Conference on Open Source Systems|year=2012|access-date=20
In the context of software development, "fork" was used in the sense of creating a revision control "[[branching (revision control)|branch]]" by [[Eric Allman]] as early as 1980, in the context of [[Source Code Control System|SCCS]]:<ref>Allman, Eric. [http://sccs.sourceforge.net/man/sccs.me.html "An Introduction to the Source Code Control System."] {{webarchive|url=https://web.archive.org/web/20141106144859/http://sccs.sourceforge.net/man/sccs.me.html |date=6 November 2014 }} Project Ingres, University of California at Berkeley, 1980.</ref>
Line 29 ⟶ 30:
|archive-url = https://web.archive.org/web/20131014132149/http://www.gnu.org/philosophy/free-sw.html
|archive-date = 14 October 2013
}}</ref>}}
{{quotation|3. Derived Works: The license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software.|[[The Open Source Definition]]<ref>{{cite web|url=http://opensource.org/docs/osd|title=The Open Source Definition|publisher=The Open Source Initiative|access-date=15 October 2013|url-status=live|archive-url=https://web.archive.org/web/20131015144021/http://opensource.org/docs/osd|archive-date=15 October 2013
In free software, forks often result from a schism over different goals or personality clashes. In a fork, both parties assume nearly identical code bases, but typically only the larger group, or whoever controls the Web site, will retain the full original name and the associated user community. Thus, there is a reputation penalty associated with forking.<ref name=wheeler/> The relationship between the different teams can be cordial or very bitter. On the other hand, a ''friendly fork'' or a ''soft fork'' is a fork that does not intend to compete, but wants to eventually merge with the original.
[[Eric S. Raymond]], in his essay ''[[Homesteading the Noosphere]]'',<ref>{{cite web|url=http://www.catb.org/~esr/writings/cathedral-bazaar/homesteading/ar01s03.html|title=Promiscuous Theory, Puritan Practice|date=15 August 2002|author-link=Eric S. Raymond|first=Eric S.|last=Raymond|url-status=live|archive-url=https://web.archive.org/web/20061006010031/http://www.catb.org/~esr/writings/cathedral-bazaar/homesteading/ar01s03.html|archive-date=6 October 2006
{{quotation|Forking is considered a Bad Thing—not merely because it implies a lot of wasted effort in the future, but because forks tend to be accompanied by a great deal of strife and acrimony between the successor groups over issues of legitimacy, succession, and design direction. There is serious social pressure against forking. As a result, major forks (such as the [[GNU Emacs|Gnu-Emacs]]/[[XEmacs]] split, the fissioning of the [[386BSD]] group into three daughter projects, and the short-lived GCC/EGCS split) are rare enough that they are remembered individually in hacker folklore.}}
Line 46:
# Successful branching, typically with differentiation (''e.g.'', [[OpenBSD]] and [[NetBSD]].)
[[Distributed revision control]] (DVCS) tools have popularised a less emotive use of the term "fork", blurring the distinction with "branch".<ref>''e.g.'' {{cite web|url=https://lwn.net/Articles/628527/|title=An "open governance" fork of Node.js|first=Nathan|last=Willis|work=LWN.net|date=15 January 2015|access-date=15 January 2015|quote=Forks are a natural part of the open development model—so much so that GitHub famously plasters a "fork your own copy" button on almost every page.|url-status=live|archive-url=https://web.archive.org/web/20150421055059/http://lwn.net/Articles/628527/|archive-date=21 April 2015
Forks often restart version numbering from 0.1 or 1.0 even if the original software was at version 3.0, 4.0, or 5.0. An exception is when the forked software is designed to be a drop-in replacement for the original project, ''e.g.'' [[MariaDB]] for [[MySQL]]<ref>[http://programmers.stackexchange.com/questions/31551/forked-a-project-where-do-my-version-numbers-start Forked a project, where do my version numbers start?] {{webarchive|url=https://web.archive.org/web/20110826152252/http://programmers.stackexchange.com/questions/31551/forked-a-project-where-do-my-version-numbers-start |date=26 August 2011 }}</ref> or [[LibreOffice]] for [[OpenOffice.org]].
Line 55:
In [[proprietary software]], the copyright is usually held by the employing entity, not by the individual software developers. Proprietary code is thus more commonly forked when the owner needs to develop two or more versions, such as a [[Window (computing)|windowed]] version and a [[command line interface|command line]] version, or versions for differing operating systems, such as a [[word processor]] for [[IBM PC]] compatible machines and [[Apple Macintosh|Macintosh]] computers. Generally, such internal forks will concentrate on having the same look, feel, data format, and behavior between platforms so that a user familiar with one can also be productive or share documents generated on the other. This is almost always an economic decision to generate a greater [[market share]] and thus pay back the associated extra development costs created by the fork.
A notable proprietary fork not of this kind is the many varieties of proprietary [[Unix]]—almost all derived from AT&T Unix under license and all called "Unix", but increasingly mutually incompatible.<ref name=moen>[http://linuxmafia.com/faq/Licensing_and_Law/forking.html Fear of forking] {{webarchive|url=https://web.archive.org/web/20121217044712/http://linuxmafia.com/faq/Licensing_and_Law/forking.html |date=17 December 2012 }}
==See also==
Line 71:
==References==
{{Reflist
==External links==
* [http://meatballwiki.org/wiki/RightToFork Right to Fork] at [[Meatball Wiki]]
* A PhD examining forking: [http://helda.helsinki.fi/handle/10138/153135 (Nyman, 2015)] "Understanding Code Forking in Open Source Software
{{FOSS}}
{{Version control software}}
▲{{Use dmy dates|date=January 2013}}
{{DEFAULTSORT:Fork (Software Development)}}
|