I have developed a simple patch to introduce ticket assignment. I have yet to add an "assigned to" column in all places that may be necessary. Is this something people would be interested in seeing included with the standard fossil distribution?
diff -rupN fossil_src_orig/src/schema.c fossil_new/src/schema.c --- fossil_src_orig/src/schema.c 2010-03-18 10:20:53.000000000 -0400 +++ fossil_new/src/schema.c 2010-05-05 21:00:11.762884455 -0400 @@ -175,6 +175,27 @@ const char zRepositorySchema1[] = @ title @ FROM ticket'); @ +@ INSERT INTO reportfmt(title,cols,sqlcode) VALUES('My Tickets','#ffffff Key: +@ #f2dcdc Active +@ #e8e8e8 Review +@ #cfe8bd Fixed +@ #bde5d6 Tested +@ #cacae5 Deferred +@ #c8c8c8 Closed','SELECT +@ CASE WHEN status IN (''Open'',''Verified'') THEN ''#f2dcdc'' +@ WHEN status=''Review'' THEN ''#e8e8e8'' +@ WHEN status=''Fixed'' THEN ''#cfe8bd'' +@ WHEN status=''Tested'' THEN ''#bde5d6'' +@ WHEN status=''Deferred'' THEN ''#cacae5'' +@ ELSE ''#c8c8c8'' END AS ''bgcolor'', +@ substr(tkt_uuid,1,10) AS ''#'', +@ datetime(tkt_mtime) AS ''mtime'', +@ type, +@ status, +@ subsystem, +@ title +@ FROM ticket WHERE assignedto=user()'); +@ @ -- Some ticket content (such as the originators email address or contact @ -- information) needs to be obscured to protect privacy. This is achieved @ -- by storing an SHA1 hash of the content. For display, the hash is @@ -359,6 +380,7 @@ const char zRepositorySchema2[] = @ severity TEXT, @ foundin TEXT, @ private_contact TEXT, +@ assignedto TEXT, @ resolution TEXT, @ title TEXT, @ comment TEXT diff -rupN fossil_src_orig/src/tktsetup.c fossil_new/src/tktsetup.c --- fossil_src_orig/src/tktsetup.c 2010-03-18 10:20:53.000000000 -0400 +++ fossil_new/src/tktsetup.c 2010-05-05 21:11:33.683636050 -0400 @@ -290,6 +290,13 @@ static const char zDefaultNew[] = @ </tr> @ @ <tr> +@ <td align="right">Assigned To: +@ <input type='text' name='assignedto' size='20' value="$<assignedto>"> +@ </td> +@ <td>Should this issue be assigned to a particular developer?</td> +@ </tr> +@ +@ <tr> @ <td align="right">EMail: @ <input type="text" name="private_contact" value="$<private_contact>" size="30"> @ </td> _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users