SPO600 Code Review Lab

Lab 1

Tim Lin


This week's blog is about comparing two open-source software packages. In this lab, I choose MongoDB and PHP.


1. MongoDB is written in C++ and is an open-source database system based on distributed file storage. 

MongoDB uses the GNU AGPL v3.0 license. It is done by uploading Git to replace the original code or to fix bugs. So the MongoDB repository(https://github.com/mongodb/mongo) is also using GitHub. As it is open source. So MongoDB also welcomes community members to use its bug issue system(https://jira.mongodb.org/plugins/servlet/samlsso?redirectTo=%2F) to fix bugs.

MongoDB currently has 627 contributors. Most of these patches are made by users who raise questions through the bug feedback system. The contributors then release the initial patches, and if they have problems, they discuss better patches with each other. I have observed that their discussion history is usually resolved within a day, which is very efficient. In the absence of bugs contributors release optimization patches, such as optimizing load times, optimizing memory, etc. Like https://github.com/mongodb/mongo/pull/1451


2. PHP uses the PHP license. The patching process is done by getting a Git account. They also use GitHub to store repositories. PHP has a dedicated bug tracking system: https://bugs.php.net/

If a contributor wants to release a patch, they can request the Git account via the request form: https://www.php.net/git-php.php to fix the bug. There are 900 contributors to PHP. When a contributor releases a patch (https://github.com/php/php-src/pull/9553), it becomes a draft state and contributors discuss with each other whether this code is released or not. When they are done discussing it, they decide if the draft will be released, turn it into an update, and then use GitHub to update the RFC. they are also very efficient, usually discussing it within a day.

Comments

Popular posts from this blog

6502 Assembly Language Lab

PenniesBox