preface

Welcome to our GitHub repository Star: github.com/bin39232820… The best time to plant a tree was ten years ago, followed by now

Where t

I believe that when you are free, you will go to some open source projects. I don’t know if you have participated in these open source projects. Recently, Xiao Liu Liu proposed PR for others’ projects for the first time, so I would like to share with you the steps of PR. The following little 66 through a simple case to tell you the PR process, casually share my PR project this time.

Participate in the platform

At present small 66 oneself stroll more of 2 platforms below

  • GIthub
  • Gitee

Participate in the project

This choice is very much, for example, I do Java, that Java server, must be dependent on Spring, you can give Spring PR, or some scaffolding, anyway, see your own, for example, small 66 PR project is pig, let us introduce this project first ha.

Pig

System specifications

  • RBAC authority management system based on Spring Cloud 2020, Spring Boot 2.5, OAuth2
  • The idea of encapsulating Element-UI based on data-driven views makes it easy to get started without vUE experience
  • Support for common containerization of Docker, Kubernetes, Rancher2
  • Provide lambda, STREAM API, Webflux production practices

The document address

  • Documentation video wiki.pig4cloud.com
  • PIGX Online experience at pigx.pig4cloud.com
  • Product white paper paper.pig4cloud.com

A simple PR submitted by Little Six six

In fact, it is a very simple requirement to log the user’s behavior when logging in and out.

In the end, Xiaoliuliu finally appeared in the contribution list, but the name was different because I used the company’s Git account to log in and submit, and the result was embarrassing.

Pig is an example of the contribution process for open source projects

The first step is to fork the code into your repository

Browser: gitee.com/log4j/pig

Clone pig from your warehouse to local

So this is sort of like pulling the code, pulling the code, you’re going to develop and deploy the whole environment, and then get the major services up and running, and then see where you’re going to submit the PR, do the code development, do the testing, and then submit the code to dev’s development branch

The third step is to submit the pull Request

Doesn’t it feel easy? In fact, it is the same as we usually do code development, it is not difficult, and then after you submit PR? You can go to the owner of the repository, tell your PR, and he’ll check it out and give you advice on how to change it. After several changes, testing, your PR will be merged into the Dev branch, and after a while, your PR will become a release

conclusion

Small want to say is, learn an open source project one of the best a way, is to raise PR, even a small PR again, also have to run the program is not, at least to the process, I believe you will be able to read a lot of code for sure, this can make your code more and more elegant, more and more good, so? If I have time, I suggest you do PR for some open source projects or write some open source projects from 0. Well, I am small six six three days fishing, two days drying nets.

Daily for praise

Ok, everybody, that’s all for this article, you can see people here, they are real fans.

Creation is not easy, your support and recognition, is the biggest motivation for my creation, we will see in the next article

Wechat search “six pulse Excalibur program life” reply 888 I find a lot of information to you