Changeset 1396
- Timestamp:
- 10/18/06 13:40:03 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
timingandestimationplugin/trunk/setup.py
r1390 r1396 8 8 description='Plugin to make Trac support time estimation and tracking', 9 9 keywords='trac plugin estimation timetracking', 10 version='0. 1.9',10 version='0.2.0', 11 11 url='', 12 12 license='http://www.opensource.org/licenses/mit-license.php', timingandestimationplugin/trunk/timingandestimationplugin/reports.py
r1369 r1396 9 9 "title":"Ticket Work Summary", 10 10 "reportnumber":None, 11 "version": 4,11 "version":6, 12 12 "sql":""" 13 SELECT ticket as __group__,__style__, ticket, 14 newvalue as Hours_added, time as _time, strtime as Time_Entered, 13 SELECT ticket as __group__, __style__, ticket, 14 newvalue as Hours_added, author, time, 15 16 -- strtime as Time_Entered, 17 15 18 _ord 16 19 FROM( 17 20 SELECT '' as __style__, author, t.id as ticket, newvalue, 18 21 ticket_change.time as time, 19 strftime('%m/%d/%Y %H:%M:%S', ticket_change.time, 'unixepoch', 'localtime') as strtime , 22 23 -- strftime('%m/%d/%Y %H:%M:%S', ticket_change.time, 'unixepoch', 'localtime') as strtime , 24 20 25 0 as _ord 21 26 FROM ticket_change … … 31 36 UNION 32 37 33 SELECT 'background-color:#DFE;' as __style__, '' as author, t.id as ticket, sum(newvalue) as newvalue, strftime('%s', 'now') as time, 34 'Ticket Work Summary for '|| 35 strftime('%m/%d/%Y %H:%M:%S', $STARTDATE, 'unixepoch', 'localtime' )||' - '|| 36 strftime('%m/%d/%Y %H:%M:%S', $ENDDATE, 'unixepoch', 'localtime') as strtime , 38 SELECT 'background-color:#DFE;' as __style__, 'Ticket Work Summary for the selected time period ' as author, t.id as ticket, sum(newvalue) as newvalue, NULL as time, 39 40 -- 'Ticket Work Summary for the selected time period ' 41 -- || 42 -- strftime('%m/%d/%Y %H:%M:%S', STARTDATE, 'unixepoch', 'localtime' )||' - '|| 43 -- strftime('%m/%d/%Y %H:%M:%S', ENDDATE, 'unixepoch', 'localtime') as strtime , 44 37 45 1 as _ord 38 46 FROM ticket_change … … 47 55 GROUP By t.id 48 56 ) 49 ORDER BY ticket, _time, _ord57 ORDER BY ticket, _ord , time 50 58 51 59 """ … … 54 62 "title":"Milestone Work Summary", 55 63 "reportnumber":None, 56 "version": 4,64 "version":5, 57 65 "sql":""" 66 58 67 SELECT 59 68 milestone as __group__, … … 62 71 summary, 63 72 newvalue as Hours_added, 64 time as _time,65 strtime as Last_Updated,73 time as time as LastU_pdated, 74 -- strtime as Last_Updated, 66 75 _ord 67 76 FROM( 68 77 SELECT '' as __style__, t.id as ticket, SUM(newvalue) as newvalue,t.summary as summary, 69 78 MAX(ticket_change.time) as time, 70 strftime('%m/%d/%Y %H:%M:%S', MAX(ticket_change.time), 'unixepoch', 'localtime') as strtime , 79 80 -- strftime('%m/%d/%Y %H:%M:%S', MAX(ticket_change.time), 'unixepoch', 'localtime') as strtime , 81 71 82 t.milestone as milestone, 72 83 0 as _ord … … 87 98 '' as ticket, sum(newvalue) as newvalue, 88 99 '' as summary, 89 strftime('%s', 'now') as time, 90 'Ticket Work Summary for '|| 91 strftime('%m/%d/%Y %H:%M:%S', $STARTDATE, 'unixepoch', 'localtime')||' - '|| 92 strftime('%m/%d/%Y %H:%M:%S', $ENDDATE, 'unixepoch', 'localtime') as strtime , 100 NULL as time, 101 102 -- 'Ticket Work Summary for '|| 103 -- strftime('%m/%d/%Y %H:%M:%S', STARTDATE, 'unixepoch', 'localtime')||' - '|| 104 -- strftime('%m/%d/%Y %H:%M:%S', ENDDATE, 'unixepoch', 'localtime') as strtime , 105 93 106 t.milestone as milestone, 94 107 1 as _ord … … 104 117 GROUP By t.milestone 105 118 ) 106 ORDER BY milestone, ticket, _time, _ord119 ORDER BY milestone, ticket, time, _ord 107 120 108 121 … … 114 127 "title":"Developer Work Summary", 115 128 "reportnumber":None, 116 "version": 4,129 "version":5, 117 130 "sql":""" 118 131 SELECT author as __group__,__style__, ticket, 119 newvalue as Hours_added, time as _time, strtime as Time_Entered, 132 newvalue as Hours_added, time as time, 133 134 -- strtime as Time_Entered, 135 120 136 _ord 121 137 FROM( 122 138 SELECT '' as __style__, author, t.id as ticket, newvalue, 123 139 ticket_change.time as time, 124 strftime('%m/%d/%Y %H:%M:%S', ticket_change.time, 'unixepoch', 'localtime') as strtime , 140 141 -- strftime('%m/%d/%Y %H:%M:%S', ticket_change.time, 'unixepoch', 'localtime') as strtime , 142 125 143 0 as _ord 126 144 FROM ticket_change … … 136 154 137 155 SELECT 'background-color:#DFE;' as __style__, author, '' as ticket, sum(newvalue) as newvalue, strftime('%s', 'now') as time, 138 'Developer Work Summary for '|| 139 strftime('%m/%d/%Y %H:%M:%S', $STARTDATE, 'unixepoch', 'localtime')||' - '|| 140 strftime('%m/%d/%Y %H:%M:%S', $ENDDATE, 'unixepoch', 'localtime') as strtime , 156 157 -- 'Developer Work Summary for '|| 158 -- strftime('%m/%d/%Y %H:%M:%S', STARTDATE, 'unixepoch', 'localtime')||' - '|| 159 -- strftime('%m/%d/%Y %H:%M:%S', ENDDATE, 'unixepoch', 'localtime') as strtime , 160 141 161 1 as _ord 142 162 FROM ticket_change … … 151 171 GROUP By author 152 172 ) 153 ORDER BY author, _time, _ord173 ORDER BY author, time, _ord 154 174 155 175 """
