Best Practices New Contributor Tutorial - MariaDB

1y ago
2 Views
1 Downloads
1.67 MB
27 Pages
Last View : 3m ago
Last Download : 3m ago
Upload by : Shaun Edmunds
Transcription

New Contributor TutorialBest practicesVicențiu CiorbaruSoftware Developer Team Lead@ MariaDB FoundationMariaDB Developer UnconferenceShanghai, China 2019

whoami Vicențiu Ciorbaru MariaDB Foundation,Software Developer Team Lead MariaDB developer since 2013- Implemented Roles, Window Functions and othersMariaDB Foundationhttps://mariadb.org2

How to contribute? Similar to many open source projects We have our code on github.com We accept contributions in many forms Simplest are Knowledge Base edits, bug reports and pullrequests (code)MariaDB Foundationhttps://mariadb.org3

How to contribute to documentation? Go to https://mariadb.com/kb/en/ Create a new user or loginMariaDB Foundationhttps://mariadb.org4

How to contribute to documentation? Go to https://mariadb.com/kb/en/ Create a new user or login Then open any Knowledge Base article Use Edit or Translate Menus on the left All contributions are reviewedand / or curatedMariaDB Foundationhttps://mariadb.org5

How to contribute to documentation?MariaDB Foundationhttps://mariadb.org6

How to contribute bug reports? Go to https://jira.mariadb.org Create a new user or login To create a new bug report or feature request:MariaDB Foundationhttps://mariadb.org7

How to contribute code? The code is public at:https://github.com/MariaDB/server First create a fork of the MariaDB Foundationhttps://mariadb.org8

How to contribute code? We use a git repository. Download and install git. sudo apt install git Clone the server fork you have created git clone https://github.com/newcontributor/server.git cd serverMariaDB Foundationhttps://mariadb.org9

How to contribute code? Install all required build dependencies: sudo apt-get build-dep mariadb-server Simplest is to run a BUILD script to compile the server BUILD/compile-pentium64-debugMariaDB Foundation 10https://mariadb.org

How to contribute code? We have finished building the server. We can run teststo see if it works properly. cd mysql-test && ./mtr --parallel 4 --mem--parallel n starts n tests in parallel--mem will use a memory filesystem instead of diskMariaDB Foundationhttps://mariadb.org11

How to contribute code? We do not have a traditional "master" branch Instead we use the major version number as the branchname5.5, 10.0, 10.1, 10.2, 10.3, 10.4, 10.5 Largest one is the main development branch. Others are for bug-fixing only.MariaDB Foundation 12https://mariadb.org

How to contribute code? Make sure you are using latest branch as a base: /server/ git checkout 10.3 && git pull Create a new branch based on newest 10.3 /server/ git checkout -b 10.3-patch Write your patch, then add all changes and commit.Write an informative commit message. /server/ git add . && git commitMariaDB Foundation 13https://mariadb.org

How to contribute code? Push your patch to your local github repository git push Go to your github fork page, pull-requests tab and starta new pull request.MariaDB Foundation 14https://mariadb.org

How to contribute code? Chose MariaDB/server as base fork and 10.5 branch Chose your fork and branch as head fork Click Create pull request!MariaDB Foundation 15https://mariadb.org

Tips and Tricks Reviews will come as comments on github. Address any concernsand update your branch. It’s strongly recommendedto include test cases aspart of your patch.MariaDB Foundation 16https://mariadb.org

Licensing MariaDB Contributor -involved/getting-started-for-developers/mca-faq/ BSD-newhttps://en.wikipedia.org/wiki/BSD licensesMariaDB Foundation 17https://mariadb.org

Licensing The CLA Assistant makes it much easier to sign theMCA. Just click on the button and sign.MariaDB Foundation 18https://mariadb.org

Creating a test case Inside mysql-test/t/ directory create a test case file. /server/ cd mysql-test && touch t/hello.test Add statement within test file echo 'SELECT "Hello World!";' t/hello.test Run mysql-test-run on the new test. ./mtr helloMariaDB Foundation 19https://mariadb.org

Creating a test caseMariaDB Foundation 20https://mariadb.org

Creating a test case If the results of the test are ok, you need to record it. ./mtr --record hello This will create the filemysql-test/r/hello.result When submitting a patch, include both .test and.result files.MariaDB Foundation 21https://mariadb.org

Buildbot MariaDB is built continuously using our g/buildbot/grid?category main&branch 10.5 All main branches (5.5, 10.0, 10.1, 10.2, 10.3, 10.4, 10.5)are built fully on many builders. All dev branches starting with bb-* as a name are builton a subset of builders.MariaDB Foundation 22https://mariadb.org

Buildbot for community We are working on updating our old buildbot to a newone. The new project is at:https://buildbot.mariadb.org All pull requests are tested by our new buildbotinfrastructure.MariaDB Foundation 23https://mariadb.org

Buildbot for communityMariaDB Foundation 24https://mariadb.org

How to reach out to us Mailing Lists: Maria pers/ Maria Discusshttps://lists.launchpad.net/maria-discuss/ Maria / ZulipChat https://mariadb.zulipchat.com Find us on IRC #maria and #maria-dev on FreeNodeMariaDB Foundation 25https://mariadb.org

Sponsors of MariaDB Foundation This talk would not have been possible if it not for the MariaDBFoundation's sponsors.MariaDB Foundation 26https://mariadb.org

Thank you!Contact org/vicentiuMariaDB Foundation 27https://mariadb.org

New Contributor Tutorial Best practices Vicențiu Ciorbaru Software Developer Team Lead @ MariaDB Foundation MariaDB Developer Unconference Shanghai, China 2019

Related Documents:

Switch and Zoning Best Practices 28-30 2. IP SAN Best Practices 30-32 3. RAID Group Best Practices 32-34 4. HBA Tuning 34-38 5. Hot Sparing Best Practices 38-39 6. Optimizing Cache 39 7. Vault Drive Best Practices 40 8. Virtual Provisioning Best Practices 40-43 9. Drive

Tutorial Process The AVID tutorial process has been divided into three partsÑ before the tutorial, during the tutorial and after the tutorial. These three parts provide a framework for the 10 steps that need to take place to create effective, rigorous and collaborative tutorials. Read and note the key components of each step of the tutorial .

Tutorial Process The AVID tutorial process has been divided into three partsÑ before the tutorial, during the tutorial and after the tutorial. These three parts provide a framework for the 10 steps that need to take place to create effective, rigorous and collaborative tutorials. Read and note the key components of each step of the tutorial .

Tutorial 1: Basic Concepts 10 Tutorial 1: Basic Concepts The goal of this tutorial is to provide you with a quick but successful experience creating and streaming a presentation using Wirecast. This tutorial requires that you open the tutorial document in Wirecast. To do this, select Create Document for Tutorial from the Help menu in Wirecast.

Tutorial 16: Urban Planning In this tutorial Introduction Urban Planning tools Zoning Masterplanning Download items Tutorial data Tutorial pdf This tutorial describes how CityEngine can be used for typical urban planning tasks. Introduction This tutorial describes how CityEngine can be used to work for typical urban .

Tutorial 1: Basic Concepts 10 Tutorial 1: Basic Concepts The goal of this tutorial is to provide you with a quick but successful experience creating and streaming a presentation using Wirecast. This tutorial requires that you open the tutorial document in Wirecast. To do this, select Create Document for Tutorial from the Help menu in Wirecast.

The Global Association for Contact Center Best Practices & Networking www.ContactCenterWorld.com THE BEST PRACTICE SERIES Nov 11-15, 2013 Benchmarking, Networking & Best Practices IN THE CONTACT CENTER WORLD TOP RANKING PERFORMERS BEST PRACTICES CONFERENCE & AWARDS WORLD'S BEST LAS VEGAS . Kansas City Call Center

Thermal system engineering is not usually thought of as a first rank engineering discipline as Mechanical, Civil, Electrical and Chemical Engineering, and it is usually ascribed to the leading one (like Aerospace, Naval, and Automotive Engineering) because the paradigmatic thermal systems has always been the heat engine, but its importance pervades all other branches (e.g. thermal control .