当前位置:网站首页>Left hand code, right hand open source, part of the open source road

Left hand code, right hand open source, part of the open source road

2022-06-24 14:58:00 InfoQ

|  author : Ruffec ( Shen condolence )
|  edit : Huxinyuan
|  Design : Zhu Yiqin

I met open source in  2017  year , stay  2017  year  11  month  23  Day created a  GitHub  account number ,ID yes  
sy-records
, It was just to be based on Github Pages and Hexo Template to create a blog to record some learning records, etc .
Relative to , The full flowering time should be from  2018  year , And join by chance  Swoole  The development team started .
Before we move on to the story , Let's introduce ourselves first :

About me

Ruffec , Net name Shen condolence ,
Simps  and  PHPMQTT  The founder of
,GitHub:@sy-records ,Docsify、Hyperf、PHP、Swoole、ThinkPHP And other open source project development team members , Alibaba cloud expert Blogger , China open source code power list  Top 15,
《 North refers to open source 》
Writing members  , Open source members .
WordPress  Plug in developers , by  WordPress  Provide  10+  Open source plug-ins .

Access to open source

First sign up  GitHub  after , Not much to use , except  Hexo  outside , Maybe the first  fork The project of is  
git-tips
 , To learn more  Git  Relevant command .

Usually because of work reasons , Put some functions API The interface call is encapsulated into sdk, Submitted to
https://packagist.org/
( There is a suspicion that the wheel was built repeatedly , flee ~)

18  At the end of the year , I met a chance to get close to the boss , induction
Know wo Technology
(Swoole  Commercial company ).

After joining the company, I was mainly responsible for and participated in the development of some commercial projects , But also for  Swoole  This open source project does something : Community operations 、 Document refactoring 、Library Development and maintenance of .

It is especially worth mentioning that
Document refactoring
了 , Not only from the old version UI Change to a new form of front-end implementation , In addition, most of the errors have been corrected , Added more sample code .

 Old version document

 New version document
As of the publication of this article ,Swoole  New Chinese documents include  `1058 ` Time  commits, It contains my `713` Time  commits.

In refactoring  Swoole  When the document , We also encountered some problems , The model selection of the new version of the document uses  docsify  This project , At that time  docsify  There are also some historical search problems , for example :

  •   Cannot search the contents of a table
  •   Search content Click to jump to the wrong position
  •   Cannot search the contents of the list
  •   There are other questions ...

So what to do when you encounter problems ? Is it bad ? It can't be ,docsify  It's an open source project , That can be done by PR To solve the problem .

I submit first  issue, See if the developer has time to reply and repair , After getting a reply , I took the time to submit PR Make repairs , It has also been merged into the trunk smoothly .

And back and forth , I'm giving  docsify  Submitted many PR after , Was invited to join the development team , Now I am  docsify  Of  `owner`  了 .

After document refactoring, it is equivalent to  docsify  It was promoted , at present  Hyperf、OpenMix 、apolloconfig  And so on  docsify  To build documents .

meanwhile  docsify  Signed up to participate in the
「SFOSSP -  Think about the open source project support plan 」
, Also in the  2020 The year earned OSC China open source project selection 「 Best popular item 」.



Participate in open source in use

Only with use can we find deeper problems in a project , If you have the ability to repair this bug, Submitting PR And then merged , So congratulations , You are already part of this project  
`Contributor`
 
了 .

I am for  WordPress  Developed a cloud storage system using Tencent COS Plug ins stored as attachments , I found it when I used it `cos-php-sdk-v5` Some of the problems , In the process of repairing , And touched  COS PHP SDK  Development team

null
Participation in open source is not limited to repair bug, I also mentioned some optimized PR、 Repair of documents . Be able to contribute to a project within the scope of one's ability , Are a way to participate in open source .

Love is the beginning , Also power

As a  PHP  The engineer , I will encapsulate myself  sdk  Submitted to the  packagist , For others to use ;

PHPMQTT 
This project is what I have been maintaining after two years of work  PHP library, This is an example for  PHP  Of  MQTT  Protocol resolution and coroutine clients .

It is also the first to support  MQTT `5.0`  Agreed  PHP library.
>  And the first support  MQTT Over Websocket  Of  PHP library, Not yet released , But it has been achieved .

PHPMQTT  Also in the  2021  year OSC Won... In the selection of open source projects in China
「 The most popular project 」
.

null
As  Swoole  Members of the development team , I will also pay attention to some problems in the surrounding Ecology , Basically I work for  mixphp、easyswoole、imi、swoft  And other projects have been submitted PR.

Laravel  Launched a `octane` project , To be compatible with  Swoole, I was there too  GitHub watch  The project , When a user encounters  Swoole  Related questions , I can submit it as soon as possible PR To solve or reply  issue .

Continuous contribution

In recent years, I have been making continuous contributions , Mainly active in  
docsify 、swoole-src 、typecho、hyperf 、laravel/octane 、simps/mqtt
  Etc , And the surrounding sdk Or the activity organization provides some basic support capabilities .

Unless there is an irresistible cause or  GitHub  The question of authority , As shown in the picture below 2021 Annual contribution chart , There are several blank spaces , But my  GItHub  The login status is green .

Submit more or less code every day , Then I gradually develop the habit and like this persistence , Now I feel that there is something missing if I don't submit the code for one day .

null
At the end

Open source , As long as I touch it, I feel I can't live without it , Open source software is also ubiquitous in our lives , mobile phone 、App And so on ...

And in the open source community, you can meet some people and things that you can't touch at work , Interact with the open source community 、 The more you share , There are more possibilities , Give you a chance to be a talented person 、 Part of a vibrant community , You can draw inspiration from it , And meet like-minded people .

Expect more small partners to join the open source !
原网站

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241303226110.html