Handling Tickets (bugs/enhancements)
You can add set other fields, but don't change the Owner. That way the committee sees the incoming tickets (those marked as Owner: somebody).
If you really have to fix a bug right away, file it and send a notice to cldr-dev explaining what you are doing and why. Otherwise, file the bug, wait for the next Wednesday meeting for discussion and approval.
Pre-Assessment for Weekly Triage
There is a pre-assessment of tickets to make the triage flow faster. This pre-assessment should be done off-line prior to every Wednesday in time for the TC triage. DO NOT fix a bug until it's been approved by the TC in triage.
The triage is a part of Monday and Wednesday meetings.
Ticket comes in, and the default is Priority=assess, Milestone=to-assess
If user sets Component (we always should!) automatically assigns the Owner based on the component owner for the pre-assessment. [Add link to Components and Owner]
At this point the Owner function is really as an assessor.
If user does not select the Component, it remains for the group TC triage with Component=to-assess, Owner=anybody. These tickets will be assessed after all the pre-assessed tickets have been triaged.
All TC members, look at To-assess by Owner / Component before each triage day.
Assess the to-assess tickets assigned to you.
You can close bugs as duplicate or if user misunderstanding if it is very clear without committee discussion. Always include a comment if you close the ticket.
If the component is wrong, change component and reassign to the right component owner.
(TODO: copy components to that page, and add notes to clarify; if possible, link to list of components + descriptions at top of new ticket). http://cldr.unicode.org/index/bug-reports
Add your assessment information:
Change Milestone to “assessed”
Update Priority, Phase, Component as you'd recommend.
Add in comments your recommendation for the Owner.
Add additional comments as necessary for other recommendations (like “close as dup”, “maint”, in design, etc)
If a committee member files the ticket (or sees a ticket they want to assess), they can do the assessment and follow the same process as the Owner/Delegator to bring to group triage.
Committee members can also request to take a ticket by email; that is assumed to be ok if at least one member confirms and nobody disagrees, or 2 working days pass
The committee can also decide the fate of Milestone=to-assess tickets, typically where someone adds them to the agenda.
TC triage meeting, first review those Milestone=assessed.
Follow the triage practice by making changes to all fields, Owner, Component, Priority, … or closing the ticket.
Update Milestone to one of the following (VV = the current milestone, eg 35)
VV if the (new) Owner agrees that it is a priority — and has some level of commitment to fix during release
VV-optional, eg 35-optional
A future milestone
Triage decides whether it's for Design or Accepted. (design indicates for more discussion needed. See design section below.).
Other ticket handling practices:
There is no commitment to doing a Milestone=VV-optional ticket. If someone else wants there to be some level of commitment, they should ask to be the Owner, and make the ticket non-optional.
If a ticket has multiple owners, the Notes must describe who is doing what. Otherwise it needs to be split into multiple tickets.
if the ticket should be handled in the survey tool there are two options:
If to be supervised by TC, set Owner=<PM>, Component=fix-in-survey-tool. The PM will coordinate with other PMs to bring the issue to the attention of vetters, and check the progress before Resolution.
Otherwise return to sender, closed as fix-in-survey-tool
When a ticket is in design, the owner is responsible for bringing back to the committee to approve the design before any lasting (aside from tests, instrumentation, etc.) work is checked in.
The Owner is responsible for documenting the results of the discussion in the TC in comments in the ticket.
The Reviewer is responsible for verifying that the design was accepted by the TC before accepting.
Assignees periodically review and take care of their tickets.
Go to http://unicode.org/cldr/trac/report/61 for My Tickets
design: You must go back to the committee with the completed design before checking anything in. For example, if the ticket doesn't describe an exact DTD structure, then add the proposed structure to the ticket in a comment, and send an email to the committee asking whether anyone objects. assess: Tickets marked "assess" need to be evaluated for priority (or whether to do them at all). Send your suggested disposition to the cldr group by email.
duplicate: If the ticket is a duplicate, any extra information is copied to the other ticket, an xref is set in both, and the ticket is returned.
If the ticket requires separate phases, such as a change to the spec, then a separate ticket is filed, with xrefs set in both.
The owner can carry over all the triage acceptance including Owner, Component, etc.
If part of a ticket cannot be completed in the release:
Set the milestone to the release number
Add a comment indicating what part of the ticket was done, and what part wasn't.
Set a reviewer.
Create a new ticket for the remaining work, with an xref to the old bug.
If the ticket can't be done due to lack of time, or is being downgraded in priority from major or above to below major, send an email to the cldr group.
If during the course of doing the ticket, the person runs up against a problem, then send a message to the cldr group. Examples:
The description doesn't work
Another mechanism looks better
If you are making any DTD changes, please follow the instructions on Updating DTDs.
Add unit tests for changes you make, then
Make sure to run the tests in Running Tests!
Skipping test failures
If there is a test failure that is due to a bug that cannot be fixed right now (eg it requires a data change, but it is past the data freeze), then use the logKnownIssue() method to disable the test. See http://site.icu-project.org/setup/eclipse/time for details, and look in the CLDR test code for some examples of usage.
Survey Tool in Production Phase!
Before you make a commit, add a line to the Issues spreadsheet below (Spreadsheet View), with status OPEN, bug number, short desc.
Don't do this if there is a status=PUSHING
When you're ready for checking, add the commit number to your line, send a message to a designee (cc cldr-dev) and change the status to CHECK, add testing description (what to check, links if possible).
The Designee is normally someone who is familiar with the Survey Tool UI, and must be notified when the line is added. The goal is to check out smoke test to make sure that the change:
doesn't make anything worse (with a quick sanity check: if so, mark as Bad, and the change needs to be reverted or fixed before pushing to production), AND
does what it was supposed to do as designed per spec or comments in the ticket (if not, mark as Incomplete, and take the ticket out of State=reviewing; but not a blocker for pushing to production)
Capture any necessary information on the Information Hub: resolved items, new feature description, etc...
For code changes, the Owner should also:
assign and notify a Reviewer
add a note to the "How to test / comments" column with Reviewer=XXX, and whether the changelists need review before a push to production (should be done for any trickier code).
if the ticket is State=reviewing (normal case), the Reviewer can then close the ticket.
Designee changes status to READY, or communicates problems back to you.
Once the statuses are all READY, anyone can push to production:
Important! Make sure the statuses are all PUSHED or READY and that the "Last Built Rev" isn't later than any items on the list
If there are any untested commits, double check the timeline and make sure something isn't slipping in!
Check http://unicode.org/cldr/trac/timeline?changeset=on&build=on&daysback=8 to verify that no changes "slipped in"
Add a line PUSHING
Push to production
If there were noticeable changes, put them in http://cldr.unicode.org/index/survey-tool#TOC-Latest-Updates (move the old items up to Tool Updates).
If it was a Known Bug, remove from https://sites.google.com/site/cldr/index/survey-tool/known-bugs.
Change status of all READY and PUSHING items to PUSHED.
You can delete some older items that are no longer relevant.
If the spreadsheet data seems stale, switch to the BuildsCheckins tab, and increment the 'to update' cell. [ If anyone knows a better way to structure the spreadsheet, please feel free.. -srl]
All commits must have as their first line: "CLDR-XXX <description>", where XXX is the ticket number.
Don't mark the bug as fixed! Instead,
Once the ticket is done, assign a reviewer.
Send a message to the reviewer if the review should be done soon.
On "Available Reports", click on My Reviews.
For each of your tickets to review, open it and do the following:
First read the description and comments/replies in the original ticket, since they may contain changes or additions, and also sometimes alert you to changes not captured by the diff tool.
In the top right, under View Tickets, you'll see "Review <x> commits." Click on that to see the changed files. (Often best to to see side-by-side, with right-click > open in new window.)
In the Changes column, click on each of the items (eg, edit) in each of the cells, and make sure that the implementation matches the description.
For data tickets, the goal is to verify that the data in the ticket matches what is entered in.
For spec tickets, it is often easier to go to the Modifications section of the latest proposed spec update, search for the modifications entry with the ticket number for the change that you are reviewing, and then click in that entry’s link to the relevant portion of the spec. The modifications in that section will be shown in yellow, and that is what you need to review.
Once you are done, go back to the original ticket (you can click on it at the top), and hit "Modify Ticket" near the bottom.
If the implementation looks good:
click "REVIEWER: Close as fixed", then
click "Submit changes"
If any problems are found
add a comment to original ticket describing the problems you found
click "back to owner"
click "Submit changes"
if time is short (near the end of the release), send an email to the owner also.
Hit "Submit changes"
If any issues come up or the topic needs general review, send a message to the email@example.com list.
All reviewers should be done well before the end of the release, so that any problems can be taken care of.
At release time, all the tickets with status "fixed" are changed to "closed".
Start of Release
The future folder tickets are moved to the discuss folder
Unscheduled tickets (with no release number) are re-evaluated.