+ All Categories
Home > Technology > 2008 11 08 Bughuntday

2008 11 08 Bughuntday

Date post: 24-May-2015
Category:
Upload: norm2782
View: 4,183 times
Download: 1 times
Share this document with a friend
Description:
Slides of the Zend Framework Bughuntday on saturday November 8th.
Popular Tags:
20
Copyright © 2007, Zend Technologies Inc. Bug Hunt Day Zend Framework
Transcript
Page 1: 2008 11 08 Bughuntday

Copyright © 2007, Zend Technologies Inc.

Bug Hunt DayZend Framework

Page 2: 2008 11 08 Bughuntday

This help is sorely needed, and we appreciate your efforts!“

First, Thank you!

Page 3: 2008 11 08 Bughuntday

| Nov 4, 2008Introduction | 3

Introduction

• Jurriën Stutterheim

• Also known as norm2782

• Zend Framework Core Contributor• Zend_Paginator (co-author Matthew Ratzloff)

• Zend_Controller_Action_Helper_MultiPageForm

• Zend_Feed_Reader (main author Pádraic Brady)

Page 4: 2008 11 08 Bughuntday

| Nov 4, 2008The process | 4

The process

• Query the issue tracker for bugs

• Identify a bug you want to work on, and indicate you're working on it by leaving a comment, assigning it to yourself and marking it In Progress

• Write a test to reproduce the bug

• Run the test to ensure that it fails

• Write code to fix the failing test

• Run the test to verify the fix

• Commit the test and code to the bughuntday branch

• Tell the issue tracker you've finished work

• Resolve the issue

Page 5: 2008 11 08 Bughuntday

| Nov 4, 2008Query the issue tracker | 5

Query the issue tracker

• http://framework.zend.com/issues

• Click “Find Issues”

• Select: Project: Zend Framework Issue Type: Bug Resolutions: Unresolved Optionally, choose specific component(s)

Page 6: 2008 11 08 Bughuntday

| Nov 4, 2008Query the issue tracker | 6

Query the issue tracker

Page 7: 2008 11 08 Bughuntday

| Nov 4, 2008Identify a bug to fix; mark it as in progress | 7

Identify a bug to fix; mark it as in progress

Page 8: 2008 11 08 Bughuntday

| Nov 4, 2008In progress... | 8

In progress...

Page 9: 2008 11 08 Bughuntday

| Nov 4, 2008Write a test case to reproduce the bug | 9

Write a test case to reproduce the bug

• When choosing bugs, prioritize bugs that have reproduce code over those that do not

• Test names should reflect the functionality being tested

• Test method should have an @group annotation with the issue identifier

Page 10: 2008 11 08 Bughuntday

| Nov 4, 2008Write a test case to reproduce the bug | 10

Write a test case to reproduce the bug

Page 11: 2008 11 08 Bughuntday

| Nov 4, 2008Run the test to verify it fails | 11

Run the test to verify it fails

Page 12: 2008 11 08 Bughuntday

| Nov 4, 2008Run the tests to verify your fix | 12

Run the tests to verify your fix

• Fixed!

Page 13: 2008 11 08 Bughuntday

| Nov 4, 2008Commit your changes... | 13

Commit your changes...

• “svn ci”:

• Good commit messages include the issue identifier, the name of the person fixing (since not all of you have commit rights), and a brief message describing the fix:

Page 14: 2008 11 08 Bughuntday

| Nov 4, 2008Note the revision number | 14

Note the revision number

• In this case, r12281

Page 15: 2008 11 08 Bughuntday

| Nov 4, 2008Tell the tracker you're done | 15

Tell the tracker you're done

Page 16: 2008 11 08 Bughuntday

| Nov 4, 2008Resolve the issue in the tracker | 16

Resolve the issue in the tracker

• Indicate the SVN revision

• Indicate what branch the resolution exists in (bughuntday)

Page 17: 2008 11 08 Bughuntday

| Nov 4, 2008Resolve the issue in the tracker | 17

Resolve the issue in the tracker

Page 18: 2008 11 08 Bughuntday

| Nov 4, 2008Contributer License Agreements | 18

Contributer License Agreements

• You must have signed previously or sign today a Contributor License Agreement. If you are not willing to do so, please do not contribute changes.

• If you have not signed a CLA yet, do so today, and get it faxed/emailed to [email protected] no later than Monday morning.

• Your issue tracker username will be used to track commits.

• All committers should note the username of the originating developer as part of the log message; otherwise, we will assume it's your own.

Page 19: 2008 11 08 Bughuntday

| Nov 4, 2008Contributer License Agreements | 19

On IRC

• Join the fun on IRC

• #zftalk.dev on irc.freenode.net

Page 20: 2008 11 08 Bughuntday

Thank you for supporting Zend Framework today!“

And again, Thank you!


Recommended