Bug Triage Day
From PEAR Wiki
Contents |
[edit] Bug Triage Day
Welcome to Bug Triage Day.
[edit] When is it?
You can check the Google Calendar for the latest time
The next will be Bug Triage Day 2008 10 04
The last one was Bug Triage Day 2008 09 14
[edit] Who's running it?
Helgi (dufuz)
Daniel (doconnor)
Chuck (ashnazg)
[edit] What is it?
A quick description can be found at:
- http://fedoraproject.org/wiki/BugZappers/GettingStarted
- http://geekswithblogs.net/srkprasad/archive/2004/08/20/9961.aspx
- http://wiki.secondlife.com/wiki/Bug_triage
[edit] Patches for unmaintained packages
What's the policy for this bug-triage? I've provided some patches for some packages earlier (one month or so) and still no answer from developers, may I commit 'em now and close thoses bugs?
The answer to this is TBA. It's probably worthwhile to get a second developer to review & test them, then get someone else (like Helgi) to say if its OK or not.
[edit] Process
Pick your package, and look for existing open bugs.
The basic steps are below but remember, creating patches and fixes or tests are not a requirement:
- Choose a Bug
- Reproduce / Verify it
- See if there are existing unit tests for it
- Write a unit test to demonstrate the bug
- Make changes to the code to fix the bug
- Create a patch
- Repeat
[edit] Getting access to CVS
Don't know how to get CVS code?
Read http://www.php.net/anoncvs.php
[edit] Windows users
For windows users, grab a a copy of the binary, unzip it into your path, and we're off.
Bring up a command line (Start -> Run -> cmd), and check you've done it right by typing cvs.
Next, you want to make somewhere to checkout to:
G:\work>md pear G:\work>cd pear G:\work\pear>cvs -d :pserver:cvsread:@cvs.php.net:/repository login Logging in to :pserver:cvsread@cvs.php.net:2401/repository G:\work\pear>cvs -d :pserver:cvsread:@cvs.php.net:/repository checkout pear cvs checkout: Updating pear U pear/AllTests.php
[edit] Making patches
Patches are easy!
To see all modifications; use:
cvs diff -u
To see just a certain file, use:
cvs diff -u Foo.php
and to make a patch
cvs diff -u Foo.php > bug-12345.diff.txt
