Claiming Issues

New in version 0.10: Issue-claiming commands

To avoid the situation where two or more developers inadvertently work on the same issue at the same time, PyDitz allows issues to be claimed by a single developer. When you claim an issue, this marks the issue as ‘yours’ to other developers, and indicates that you’ll be resolving it.

Ditz: claim prog-1
Claiming prog-1: Implement a hello-world program
Comments (ctrl-c to abort, . to finish)
> You're my issue now!
> .
Claimed issue prog-1: Implement a hello-world program

You can see the issues you’ve claimed using the mine command. It’s like the todo command, but restricted to just the issues you’ve claimed.

Ditz: mine
1.0 (unreleased):
_ prog-1: Implement a hello-world program (feature)

Unassigned:
No open issues

If another developer tries to claim an issue that’s already been claimed by someone else, PyDitz will inform them of the fact, and ask if they really want to go ahead. Saying “yes” at that point without prior agreement from the issue claimer (or other extenuating circumstances) is considered rude.

If you decide, for whatever reason, that you won’t be resolving the issue after all, you can unclaim it again. This reverts the issue to having no claimer, and being up for grabs to others.

To get a summary of who has claimed what issues, you can use the claimed command. This groups the issues by claimer:

Ditz: claimed
Dilbert <dilbert@cubicle.com>:
_ prog-1: Implement a hello-world program (feature) [1.0]

The unclaimed command just lists all the issues that have no claimer at all:

Ditz: unclaimed
_ prog-2: Prototype prints the Wrong Thing (bug)
_  doc-1: Write some documentation

Normally, closed issues are not shown by the mine, claimed and unclaimed commands. But if you give the -a (for ‘all’) option, they are.