Forked and integrated variants in an open-source firmware project
Forked and integrated variants in an open-source firmware project
复制标题
开源固件项目中的分叉和集成变体
DOI:
--
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
A. Wąsowski
中科院分区:
文献类型:
--
作者:
Stefan Stanciulescu;Sandro Schulze;A. Wąsowski
Code cloning has been reported both on small (code fragments) and large (entire projects) scale. Cloning-in-the-large, or forking, is gaining ground as a reuse mechanism thanks to availability of better tools for maintaining forked project variants, hereunder distributed version control systems and interactive source management platforms such as Github. We study advantages and disadvantages of forking using the case of Marlin, an open source firmware for 3D printers. We find that many problems and advantages of cloning do translate to forking. Interestingly, the Marlin community uses both forking and integrated variability management (conditional compilation) to create variants and features. Thus, studying it increases our understanding of the choice between integrated and clone-based variant management. It also allows us to observe mechanisms governing source code maturation, in particular when, why and how feature implementations are migrated from forks to the main integrated platform. We believe that this understanding will ultimately help development of tools mixing clone-based and integrated variant management, combining the advantages of both.