How software development works in the OpenSource scene (Project Management)

Proprietary or OpenSource?

In addition to commercial proprietary software such as the operating system and the Office suite from Microsoft or the Adobe product family, there is now a number of widely used OpenSource software such as for example the Linux kernel, Open-/Libreoffice, Inkscape, Wordpress, MySQL, Apache and many more. These projects have in common that the source code is under a free license stand. A free license is a license that allows third parties to use the code for any purpose and thus, for example, to further develop the project or customize details. Stricter licenses such as the GPL even require that the code must remain open after an adjustment, meaning all improvements must be made available to the users of the software. For the user, this has the advantage that software cannot be "discontinued," but they can continue to maintain the software if necessary. It also makes you independent of individual manufacturers and allows you to purchase support from any company, such as at the software house Launix purchase.

Principles

But if everyone can work on the code, how does collaboration work? Is it like a wiki, where everyone adds or deletes things as they please? Far from it! In the open-source world, quality control is written in capital letters. The pillars of the open-source development model are the following:

Use of a version control system

A version control system is a piece of software that allows developers to have a shared view of all project files. A version control system is, for example, Mercurial, which is in this article explained in more detail. Another popular version control system is Git. The version control system supports developers in managing files, as well as exchanging changes to the project and code review. Version control systems are indispensable in today's projects. Without them, one would have to send ZIP files back and forth via email.

Maintainers and Forks

In an open-source project, the maintainer plays a key role. A maintainer is either an individual, a group of people, a company, or a consortium of companies. The maintainer is responsible for the project. Open source is based on the fact that everyone participates. However, it does not work without a hierarchy. The maintainer brings together the work done by the individual, scattered contributors. All changes to the software made by contributors must be approved by the maintainer. In the Linux kernel, for example, Linus Torvalds is the top maintainer of the project. However, coordinating 3 million developers on the kernel is simply too much for one person. For this reason, there are another 100 maintainers who look after individual sub-areas. These maintainers then bring the changes to Linus Torvalds, who gives them final approval. A maintainer is a kind of "benevolent dictator" - they have full decision-making power over the project and can decide which changes are included and which are not. It has happened many times that changes were not included due to the maintainer's mood. For this reason, there is also the possibility of forking. A fork (English: fork) is a branch of the project. A person or a group of people are not satisfied with the maintainer's work and decide to continue the project themselves. To do this, they take the source code in the latest version and subsequently publish and develop the software on their own. What looks like theft at first glance is a legitimate action due to the used free licenses a legitimate action. A prominent example is OpenOffice-project, for which Oracle is the maintainer. The original developers of OpenOffice were no longer satisfied with Oracle and founded the Document Foundation , which now releases the project under the name LibreOffice. Through forking, several projects emerge from one project, of which the less active one is usually abandoned earlier or later, or both projects merge again later. It can even happen that certain users prefer an older version of the software and fork an outdated version of the software and subsequently only fix bugs. Forks invigorate the open-source scene, as they guarantee continuous development, even if certain people stand in the way during the process.

Code Review

The two main tasks of the maintainer are the packaging of the project (providing downloads) and the code review. In the code review, it is about accepting or rejecting changes submitted to the maintainer. The platform Github for example actively supports this process: A developer can copy the project, develop it further, and then send a so-called Pull Request . The maintainer is informed that someone wanted to develop the project further. They look at the changes that have been created in so-called Changesets . Changesets state exactly which lines in which file had to be changed to, for example, add a new function to the program. The maintainer, who is also an experienced programmer, then decides whether the developer worked cleanly. If the requester makes even the smallest mistakes, the acceptance is rejected and they must correct it. One reason for a rejection could be, for example, that the developer indented the lines of code incorrectly or made a spelling mistake. However, malicious changes, such as injected viruses, are also rejected. If the code looks good, the maintainer also tests whether the code actually fulfills the function it promises. They also test the program to see if it still retains its original functionality. A change that brings an improvement but destroys various functions of the program or introduces errors there is also rejected. Once the change is finally tested, it is added to the Main Branch, the official project. If a developer introduces a major change, they are usually also asked to continue maintaining this code. For example, in the Linux kernel, hardware manufacturers must be reachable by email regarding issues with their contributed drivers; otherwise, their contribution to the kernel will be removed again.

Distributors

Another, subordinate role is played by the distributors. They regularly download the source code of the projects, create software packages from it, ensure that the software still works with other software, and distribute updates to users. A very successful distributor is Canonical, which maintains the Linux distribution Ubuntu Distributors are in loose contact with the maintainers and exchange information on when and how often new versions of the software should be released. Also, the distributor usually collects information about bugs in the programs and passes it on to the maintainer. If the maintainer does not address a bug quickly enough, it can also happen that the distributor fixes the bug themselves and submits the corrected version to the maintainer. Sometimes the distributor even releases the bug-fixed version sooner than the maintainer, as the distributor's customers usually want the bug fixed as quickly as possible.

Users

Last but not least, one must not forget the users of the software. They are the reason why the software exists at all. They use the software for their daily work, and they will be the first to notice a bug in the software. Users also have a role in the open-source field. They must report bugs they discover in the software to their distributor or the maintainer. Only in this way is there a chance that bugs will also be fixed. Furthermore, users decide in the case of forks which fork is more popular, thus forcing an unsuitable or restrictive maintainer to step down.

Conclusion

Due to the advanced development model, open-source software offers a quality advantage over proprietary software. Because anyone is allowed to participate in development, the needs of the (mostly programmable) users are addressed more precisely. Proprietary software companies should adapt their development processes and copy the methods that have established themselves in the open-source scene. However, no proprietary manufacturer will ever reach the ultimate scope of a project like the Linux kernel. The best solution for users is still to use free software and, if necessary, adapt it themselves and submit the improvement to the maintainer so that everyone can benefit from it.
Categories
Tags