Haskell scripts for PjM Code
Status: Pre-Alpha
Brought to you by:
vladtbmn
| File | Date | Author | Commit |
|---|---|---|---|
| demo | 2011-05-08 | vladtbmn | [r3] CSV read, XML for JSGantt write and JSGantt sho... |
| jsgantt | 2011-05-10 | vladtbmn | [r10] width of task data area fixed |
| IOCSV.hs | 2011-05-09 | vladtbmn | [r8] module internals hidden |
| IOJSG.hs | 2011-05-10 | vladtbmn | [r10] width of task data area fixed |
| LICENSE | 2011-05-08 | vladtbmn | [r5] license provided |
| PjM.hs | 2011-05-09 | vladtbmn | [r8] module internals hidden |
| README | 2011-05-09 | vladtbmn | [r9] some details provided |
| Setup.hs | 2011-05-08 | vladtbmn | [r4] cabal info provided |
| hpjm.cabal | 2011-05-08 | vladtbmn | [r6] haddock comments provided |
| hpjm.hs | 2011-05-09 | vladtbmn | [r7] support for groups (parents) added |
| showJSGantt.html | 2011-05-08 | vladtbmn | [r3] CSV read, XML for JSGantt write and JSGantt sho... |
| testPjM.hs | 2011-05-09 | vladtbmn | [r8] module internals hidden |
OVERVIEW
This is a tool to (for now) get task and resource data from CSV files that,
most probably, are exported from an issue tracker DB with a SQL query, and
schedule the tasks by leveling resource load. Finally, output an XML that
can be open with JSGantt so the scheduled tasks may be visualized.
USAGE
1. Generate CSV files
1.1. task.csv with task data, see demo/task.csv for example
1.2. res.csv with resource availability data, see demo/res.csv for example.
Note: if availability of a resource is not specified it is assumed to be 1
full working day during each weekday. So normally you should only specify
days off and holidays. The file can be as well empty.
2. Run hpjm, usage:
hpjm [tasks res [gantt]]
Note: default names are: tasks.csv res.csv gantt.xml
3. Open showJSGantt.html in a browser to visualize gantt.xml
Note: the file name -- gantt.xml -- is currently hardcoded in the HTML
Note: jsgantt/jsgantt.js was modified slightly to correctly support
YYYY-MM-DD date format
4. Enjoy your perfect project plan :)
RELATED WORK
Python Task Planner - <http://www.mechanicalcat.net/tech/pytaskplan/>
TaskJuggler - <http://www.taskjuggler.org/>
CONTACTS
Vlad, mailto: vladt.@bigmir.net