Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 9 years ago

#1547 closed enhancement (wontfix)

Define QA owner for a component

Reported by: pkou at ua.fm Owned by: Christopher Lenz
Priority: normal Milestone:
Component: admin/console Version: 0.8
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Implementation of customized workflow (see NewWorkflow) requires that a component has two owners: developer-owner and QA-owner.

This feature requires database changes. If the database upgrade is performed in a patch, it is very hard to track changes and upgrade projects with new version of Trac.

On the other hand, this feature does not make any impact on existing system.

Thus, it is necessary to implement the change in mainstream for simplifying further development on customized workflow.

Necessary changes:

  • trac/db_default.py: add column qaowner to table component. Modify default database data;
  • trac/upgrades/dbX.py: An upgrade script that sets qaowner equals to currnet owner during the upgrade;
  • trac/admin/scripts.py: Extend commands for component modification:
    • component add <name> <owner> [<qaowner>]: Set qaowner if specified. Set qaowner equals to owner if omitted.
    • component chown <name> <owner> [<qaowner>]: Change qaowner if specified. Set qaowner equals to owner if omitted.

(In preparation for #869)

Attachments (2)

qaowner-r1674.diff (5.6 KB ) - added by pkou at ua.fm 16 years ago.
Patch for the changes
Load_A4.ctl (2.1 KB ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by pkou at ua.fm, 16 years ago

Would you agree with this change for 0.9?

by pkou at ua.fm, 16 years ago

Attachment: qaowner-r1674.diff added

Patch for the changes

comment:2 by pkou at ua.fm, 16 years ago

Patch attached.

While working on the patch: Milestone owner has been removed in [1169] because of #786. Why? This creates another minor problem for customized workflows. Need to think how it will look without milestone owner.

comment:3 by Christopher Lenz, 16 years ago

What do you mean with "milestone owner has been removed"? We never had owners for milestones AFAIK.

comment:4 by pkou at ua.fm, 16 years ago

Oops! Just entangled with all my patches. Sorry :) (Do we have a possibility to edit/remove comments? :)
Milestone owner has been introduced with my first patch for NewWorkflow.

comment:5 by Matthew Good, 16 years ago

Severity: normalenhancement

comment:6 by Christopher Lenz, 16 years ago

Resolution: wontfix
Status: newclosed

Okay, I'd rather not check in this change separately as it'd just add unused code/db column. Let's just keep it together with the NewWorkflow patch (#869), okay?

by anonymous, 16 years ago

Attachment: Load_A4.ctl added

comment:7 by Christian Boos, 9 years ago

Milestone: 0.9

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.