Original link: https://qq52o.me/2807.html
A few days ago, after participating in the special live broadcast of the Open Source Stars Program organized by Tengyuan Club, other guests talked about the summary of this open source story, and as a new face, I have this article.
I met Open Source in 2017, and created a GitHub account on November 23, 2017, the ID is sy-records , just to create a blog based on Github Pages and Hexo templates to record some learning records and other content.
Relatively speaking, the time for full bloom should start in 2018 and join the Swoole development team by chance.
Before going any further, let me introduce myself:
about me
Lu Fei, net name Shen Chen, founder of Simps and PHPMQTT , GitHub: @sy-records , member of the development team of open source projects such as Docsify, Hyperf, PHP, Swoole, ThinkPHP, Alibaba Cloud expert blogger, top Chinese open source code list 15. Writing member of “Open Source Guide North” , member of Open Source Society. WordPress plugin developer , provides 10+ open source plugins for WordPress.
Contact open source
After the initial registration of GitHub, I didn’t use it much. In addition to Hexo, maybe the first fork project is git-tips , which is used to learn more Git-related commands.
Usually due to work reasons, some functional API interface calls are encapsulated into sdk and submitted to https://packagist.org/ (there is a suspicion of repeated wheel building, escape~)
At the end of 2018, I encountered an opportunity to get close to the big shots and joined Swoole Technology (Swoole commercialization company).
After joining the company, he was mainly responsible for and participated in the development of some commercial projects, but also did some things for the Swoole open source project: community operation, document reconstruction, library development and maintenance, etc.
It is particularly worth mentioning that the documentation has been refactored. Not only has the old version of the UI been replaced with a new form of front-end implementation, but most of the errors have been corrected and more sample codes have been added.
old version documentation | new version documentation |
---|---|
As of the publication of this article, the new Swoole Chinese document has 1058
commits, including my 713
commits.
When refactoring the Swoole document, I also encountered some problems. The selection of the new version of the document is to use the docsify project. At that time, docsify still had some search problems left over from history, such as:
- Can’t search the contents of the table
- Search content click jump location error
- Can’t search the contents of the list
- There are other questions…
What should I do if I encounter a problem? docsify is an open source project, so submit a PR to solve the problem.
So what should I do if I encounter a problem? Rotten? That’s definitely not possible. docsify is an open source project, so the problem can be solved by submitting PR.
I submit an issue first to see if the developer has time to reply and fix it. After getting the reply, I took the time to submit a PR to fix it, and it was merged into the trunk relatively smoothly.
Back and forth, after submitting many PRs to docsify, I was invited to join the development team, and now I am the owner
of docsify.
After the document refactoring, it is equivalent to promoting docsify on the other hand. Currently, organizations such as Hyperf, OpenMix, and apolloconfig use docsify to build documents.
At the same time, docsify signed up to participate in the “SFOSSP – Sifu Open Source Project Support Plan” organized by Sifu, and also won the “Best Popular Project” selected by OSC China Open Source Project in 2020.
Participate in open source in use
Only after using it can you find a deeper problem in a project. If you have the ability to fix this bug and merge it after submitting a PR, then congratulations, you are already a Contributor
of this project.
I developed a plug-in for WordPress that uses Tencent Cloud Storage COS as attachment storage. I found some problems with cos-php-sdk-v5
while using it. During the repair process, I also contacted the development team of COS PHP SDK.
Participating in open source is not limited to fixing bugs. I also mentioned some optimized PRs and document fixes. Being able to contribute to a project within the limits of your ability is a way of participating in open source.
Love is the beginning and motivation
As a PHP engineer, I will submit my packaged sdk to packagist for others to use;
The PHPMQTT project is the PHP library that I have been maintaining in my spare time for the past two years. This is an MQTT protocol parsing and coroutine client for PHP.
It is also the first PHP library to support the MQTT 5.0
protocol.
And the first PHP library to support MQTT Over Websocket, not yet released, but it has been implemented.
PHPMQTT also won the “Most Popular Project” in the 2021 OSC China Open Source Project Selection.
As a member of the Swoole development team, I will also pay attention to some problems in the surrounding ecology. Basically, I have submitted PRs for projects such as mixphp, easyswoole, imi, and swoft.
Laravel launched an octane
project to be compatible with Swoole. I also watched the project on GitHub. When a user encounters a problem related to Swoole, I can submit a PR to solve or reply to the issue as soon as possible.
Continued contribution
In the past few years, I have also been insisting on making continuous contributions, mainly active in projects such as docsify, swoole-src, typecho, hyperf, laravel/octane, simps/mqtt, etc., as well as surrounding sdk or activity organizations to provide some basic support capabilities.
Unless there is an irresistible reason or a problem with GitHub permissions, such as the contribution map of 2021 in the figure below, there are several blank spaces, but my GitHub login status is green.
I submit a little bit of code every day, and then I slowly developed a habit and liked this persistence. Now I feel that something is missing if I don’t submit code for a day.
write at the end
Open source, as long as you touch it, you will feel inseparable from it. Open source software, mobile phones, apps, etc., which are also ubiquitous in our lives, use some open source software…
And in the open source community, you can encounter some people and things that you can’t get in touch with at work. The more you interact and share with the open source community, the more possibilities you have, giving you the opportunity to become a talented and energetic person. Be part of a community where you can draw inspiration and meet like-minded people.
Looking forward to more small partners to join the open source!
This article is reprinted from: https://qq52o.me/2807.html
This site is for inclusion only, and the copyright belongs to the original author.