20110903 candycane

69
CandyCane A Very Sweet Bug Tracking System for You. 2011/09/03 CakeFest 2011 201193日土曜日

Upload: yandod

Post on 24-May-2015

11.770 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: 20110903 candycane

CandyCaneA Very Sweet Bug Tracking System for You.

2011/09/03 CakeFest 2011

2011年9月3日土曜日

Page 2: 20110903 candycane

Who am I ?

$me = array( ‘name’ => ‘Yusuke Ando’, ‘from’ => array(‘Tokyo’,‘New York’), ‘twitter’ => ‘@yando’, ‘lang’ => array(‘PHP’, ‘Ruby’,‘JavaScript’), ‘job’ => array(‘RAKUTEN’,‘LinkShare’), ‘books’ => 3);

2011年9月3日土曜日

Page 3: 20110903 candycane

http://2011.phpmatsuri.net/page/what-is-php-matsuri

2011年9月3日土曜日

Page 4: 20110903 candycane

Agenda

• Why do we need Bug Tracking System?

• What is CandyCane?

2011年9月3日土曜日

Page 5: 20110903 candycane

Why do we need Bug Tracking System

2011年9月3日土曜日

Page 6: 20110903 candycane

What we do.

2011年9月3日土曜日

Page 7: 20110903 candycane

What we do.

• We write software.

2011年9月3日土曜日

Page 8: 20110903 candycane

What we do.

• We write software.

• Sometimes, we create bugs.

2011年9月3日土曜日

Page 9: 20110903 candycane

What we do.

• We write software.

• Sometimes, we create bugs.

• We immediately fix them if we can.

2011年9月3日土曜日

Page 10: 20110903 candycane

What we do.

• We write software.

• Sometimes, we create bugs.

• We immediately fix them if we can.

• Sometimes, we leave them unfixed.

2011年9月3日土曜日

Page 11: 20110903 candycane

What we do.

• We write software.

• Sometimes, we create bugs.

• We immediately fix them if we can.

• Sometimes, we leave them unfixed.

• What should we do ?

2011年9月3日土曜日

Page 12: 20110903 candycane

2011年9月3日土曜日

Page 13: 20110903 candycane

“Keeping a database of bugs is one of the hallmarks of a good software team.”

2011年9月3日土曜日

Page 14: 20110903 candycane

“Keeping a database of bugs is one of the hallmarks of a good software team.”

Joel Spolsky

2011年9月3日土曜日

Page 15: 20110903 candycane

BTS Will Save Us.

2011年9月3日土曜日

Page 16: 20110903 candycane

BTS Will Save Us.

• BTS certainly remember bug.

2011年9月3日土曜日

Page 17: 20110903 candycane

BTS Will Save Us.

• BTS certainly remember bug.

• Nobody need to suffer with Excel crash.

2011年9月3日土曜日

Page 18: 20110903 candycane

BTS Will Save Us.

• BTS certainly remember bug.

• Nobody need to suffer with Excel crash.

• We have to learn how to use BTS.

2011年9月3日土曜日

Page 19: 20110903 candycane

Major 6 BTS

2011年9月3日土曜日

Page 20: 20110903 candycane

Bugzilla (1998)

2011年9月3日土曜日

Page 21: 20110903 candycane

Mantis (2000)

2011年9月3日土曜日

Page 22: 20110903 candycane

Trac(2006)

2011年9月3日土曜日

Page 23: 20110903 candycane

Redmine(2006)

2011年9月3日土曜日

Page 24: 20110903 candycane

PivotalTracker(2008)

2011年9月3日土曜日

Page 25: 20110903 candycane

JIRA

2011年9月3日土曜日

Page 26: 20110903 candycane

BTS Trends

• Richer User Interface.

• Multiple projects support.

• Customizability, and plugin support.

• Agile development capability.

• SaaS (but you may need subscription.)

2011年9月3日土曜日

Page 27: 20110903 candycane

is cute.

• Built on Ruby on Rails.

• GPL

• Flexible dashboard for admins.

• Easy to develop plugin.

• Pretty popular in Japan.

2011年9月3日土曜日

Page 28: 20110903 candycane

Stats on Google Trends

2011年9月3日土曜日

Page 29: 20110903 candycane

Forbidden Truth

2011年9月3日土曜日

Page 30: 20110903 candycane

Redmine Books.

2011年9月3日土曜日

Page 31: 20110903 candycane

2011年9月3日土曜日

Page 32: 20110903 candycane

Registered Users

about 2 years

reach 1,000 user account within 2 years. both developers and

business people have access to Redmine.

2011年9月3日土曜日

Page 33: 20110903 candycane

2011年9月3日土曜日

Page 34: 20110903 candycane

Practices.

• Turned off unnecessary high load features.

(Repo viewer, Documents, Attachment)

• Made custom plugin.

• Be nice for Excel peoples.

2011年9月3日土曜日

Page 35: 20110903 candycane

Why Not Start Using Redmine Now?

2011年9月3日土曜日

Page 36: 20110903 candycane

Why Not Start Using Redmine Now?

Because, You Can Use CandyCane!

2011年9月3日土曜日

Page 37: 20110903 candycane

What is CandyCane?

2011年9月3日土曜日

Page 38: 20110903 candycane

What is CandyCane?

2011年9月3日土曜日

Page 39: 20110903 candycane

CandyCane

• A Bug Tracking System built on CakePHP.

• GPL

• Started in April 2009.

• v0.8

• 2nd brother of Redmine on Ruby on Rails.

2011年9月3日土曜日

Page 40: 20110903 candycane

Redmine Family

0.8

0.8

1.1.1

2.2.01.2.12011年9月3日土曜日

Page 41: 20110903 candycane

Beginning

• April, 2009.

• Rewrite in CakePHP, line by line.

• 8 good CakePHP developers.

• Using git to maximize development speed.

• Epic 100-hours of Hackathon.

• Coding hell.

2011年9月3日土曜日

Page 42: 20110903 candycane

2011年9月3日土曜日

Page 43: 20110903 candycane

2011年9月3日土曜日

Page 44: 20110903 candycane

2011年9月3日土曜日

Page 45: 20110903 candycane

2011年9月3日土曜日

Page 46: 20110903 candycane

2011年9月3日土曜日

Page 47: 20110903 candycane

Use every trick we know.

• Component

• Behavior

• Helper

• Routing

• Unit Testing

• Plugin, Theme

2011年9月3日土曜日

Page 48: 20110903 candycane

CI on Jenkins

2011年9月3日土曜日

Page 49: 20110903 candycane

2011年9月3日土曜日

Page 50: 20110903 candycane

2011年9月3日土曜日

Page 51: 20110903 candycane

if($candycane == $redmine){ echo ‘Oh, It is very similar :)’;}

2011年9月3日土曜日

Page 52: 20110903 candycane

Advantage of CC

• 2-minutes installation.

• Practical Features.

• Built on CakePHP.-Not require port and memory.- We know how to maintain, extend.

2011年9月3日土曜日

Page 53: 20110903 candycane

2-minutes installation

• Unpack the archive under your webroot.

• Access the index with a browser.

• Type in your existing database setting.

• That’s it!

• == WordPress

• Demo

2011年9月3日土曜日

Page 54: 20110903 candycane

Practical!

• 134 actions.

• Up from 40 when we started.

• Basic issue management are available.

• Trimed verbose features.(Repo Viewer, Documenting, Forum)

2011年9月3日土曜日

Page 55: 20110903 candycane

Main Features

• Installer

• Accounts

• Multi Projects

• Permissions

• i18n

• Issues

• Roadmap

• Time Tracking

• Search

• Custom Query

• News

• Wiki

2011年9月3日土曜日

Page 56: 20110903 candycane

Installer

• Implemented with plugin.

• Originally from Croogo.

• Should be reusable plugin.

2011年9月3日土曜日

Page 57: 20110903 candycane

2011年9月3日土曜日

Page 58: 20110903 candycane

Project

• Top level category in CandyCane.

• Create project first.

• Add users as member of project.

• Configure wiki page, if you need.

2011年9月3日土曜日

Page 59: 20110903 candycane

2011年9月3日土曜日

Page 60: 20110903 candycane

Tracker

• 2nd level group.

• Correspond workflow in your team.

• Built in default are Bug, Feature, Support.

• You can define different workflow for each tracker type. (i.e Bug must be verified by QA after developer fix it.)

2011年9月3日土曜日

Page 61: 20110903 candycane

2011年9月3日土曜日

Page 62: 20110903 candycane

Issue

• Basic element of CandyCane.

• Have many input fields.

• Store all history of changes.

• Time tracking is optional.

• You can setup costom value for each issue.

2011年9月3日土曜日

Page 63: 20110903 candycane

2011年9月3日土曜日

Page 64: 20110903 candycane

2011年9月3日土曜日

Page 65: 20110903 candycane

Version

• Version correspond to release date.

• Must be configured, if you want to see beautiful roadmap page.

• Can be used as itearation or sprint in agile method.

2011年9月3日土曜日

Page 66: 20110903 candycane

2011年9月3日土曜日

Page 67: 20110903 candycane

Best Practice

• Think what will you want to see.

• Leave out the fields you don’t need.

• Create your plugin if you need.

• Hand over exported data to Excel guys.

2011年9月3日土曜日

Page 68: 20110903 candycane

ToDo

• Bug fix

• Migrate to Cake1.3 or Cake2

• Refactoring!

• Enhancement

2011年9月3日土曜日

Page 69: 20110903 candycane

https://github.com/yandod/candycane

Need Your Help

2011年9月3日土曜日