Contributing to Zeek Tim Wojtulewicz, Corelight PROPRIETARY AND - - PowerPoint PPT Presentation

contributing to zeek
SMART_READER_LITE
LIVE PREVIEW

Contributing to Zeek Tim Wojtulewicz, Corelight PROPRIETARY AND - - PowerPoint PPT Presentation

Contributing to Zeek Tim Wojtulewicz, Corelight PROPRIETARY AND CONFIDENTIAL Thats Woah-2-la-wits If you were confused by all of the consonants jammed together PROPRIETARY AND CONFIDENTIAL Talking today about how to open pull requests


slide-1
SLIDE 1

PROPRIETARY AND CONFIDENTIAL

Contributing to Zeek

Tim Wojtulewicz, Corelight

slide-2
SLIDE 2

PROPRIETARY AND CONFIDENTIAL

If you were confused by all of the consonants jammed together

That’s Woah-2-la-wits

slide-3
SLIDE 3

PROPRIETARY AND CONFIDENTIAL

Talking today about how to open pull requests for Zeek issues

slide-4
SLIDE 4

PROPRIETARY AND CONFIDENTIAL

Picking an issue (optional)

slide-5
SLIDE 5

PROPRIETARY AND CONFIDENTIAL

Fork the repo

slide-6
SLIDE 6

PROPRIETARY AND CONFIDENTIAL

Clone the repo

git clone git@github.com:zeek/zeek.git

slide-7
SLIDE 7

PROPRIETARY AND CONFIDENTIAL

Configure and build

cd zeek ./configure --prefix=/some/path cd build make

slide-8
SLIDE 8

PROPRIETARY AND CONFIDENTIAL

This is the part where you open emacs and fix the issue

slide-9
SLIDE 9

PROPRIETARY AND CONFIDENTIAL

You are using emacs, right?

slide-10
SLIDE 10

PROPRIETARY AND CONFIDENTIAL

Run the tests

cd testing/btest btest -j 6 If it succeeds: 981 tests successful, 67 skipped Don’t worry about those skipped tests, that’s intentional.

slide-11
SLIDE 11

PROPRIETARY AND CONFIDENTIAL

git checkout -b <branchname> git commit -a -m “GH-###: Some descriptive commit message” git push -u origin -b <branchname> The GH-### part will cause Github to automatically close the issue when the PR is merged.

Commit your change to your fork

slide-12
SLIDE 12

PROPRIETARY AND CONFIDENTIAL

Create the pull request, part 1

slide-13
SLIDE 13

PROPRIETARY AND CONFIDENTIAL

Create the pull request, part 2

slide-14
SLIDE 14

PROPRIETARY AND CONFIDENTIAL

Create the pull request, part 3

slide-15
SLIDE 15

PROPRIETARY AND CONFIDENTIAL

Wait for someone to review

slide-16
SLIDE 16

PROPRIETARY AND CONFIDENTIAL

Review feedback -> fixes -> new commits -> more reviews

slide-17
SLIDE 17

PROPRIETARY AND CONFIDENTIAL

Maintainer will merge to master

slide-18
SLIDE 18

PROPRIETARY AND CONFIDENTIAL

Dog tax?