1 I've put together an updated bug tracking example. This example requires some recent
2 patches of mine. It requires [[todo/tracking_bugs_with_dependencies]],
3 [[todo/Default_text_for_new_pages]] and the second [[patch]] in
4 [[todo/structured_page_data]] (the data plugin, not the form plugin).
6 You'll then want to add/replace the following files in the software project example. The
7 heading is the name of the file. I've commented all the directives. Oh, and I don't
8 have nice CSS for this yet. I did make sure that if I borrowed
9 [Trac's](http://trac.edgewall.org/) css then it would display as nicely as theirs - the
10 html is there if not the CSS.
12 ### templates/bug.mdwn
14 \[[!datatable class="bugtable" datalist="""
15 [[!data key="Reported by" link=""]] [[!data key="Owned by" link=""]]
16 [[!data key="Depends on"]]
21 This is a bug that needs solving.
23 #### Steps to reproduce:
25 #### What I expect to happen:
27 #### What actually happens:
29 #### What I have tried to narrow it down:
33 This is FooBar's bug list. Link bugs to \[[bugs/done]] when done.
35 \[[!inline pages="bugs and ! bugs" feeds=no postformtext="Report a bug:"
36 postform=yes rootpage="./blog" newposttemplate="templates/bug.mdwn"]]
38 \[[!toggle id="all bugs" text="Show all bugs"]]
40 \[[!toggle id="open bugs" text="Show open bugs"]]
42 \[[!toggle id="ready bugs" text="Show ready bugs (open bugs with all dependencies closed)"]]
44 \[[!toggleable id="ready bugs" text="""
47 Open bugs with all dependencies closed.
49 [[!inline pages="define(~open, ./bugs/* and !./bugs/done and !link(done) and !*/Discussion)
50 and ~open and !data_link(Depends on,~open)" actions=yes archive=yes show=0]]
53 \[[!toggleable id="open bugs" text="""
56 [[!inline pages="./bugs/* and !./bugs/done and !link(done)
57 and !*/Discussion" actions=yes archive=yes show=0]]
60 \[[!toggleable id="all bugs" text="""
63 [[!inline pages="./bugs/* and !./bugs/done and !*/Discussion"
64 actions=yes archive=yes show=0]]
67 ### bugs/needs_more_bugs.mdwn
69 \[[!datatable class="bugtable" datalist="""
70 [[!data key="Reported by" link="John"]] [[!data key="Owned by" link="Frank"]]
71 [[!data key="Depends on" link="bugs/fails_to_frobnicate"]]
76 FooBar does not have enough bugs, which suggests that it's not a real Free
77 Software project. Please help create more bugs by adding code to FooBar!
80 #### Steps to reproduce:
84 #### What I expect to happen:
88 #### What actually happens:
92 #### What I have tried to narrow it down:
94 I've added some code, but I'm not sure it was the right code.
96 ### bugs/fails_to_frobnicate.mdwn
98 \[[!datatable class="bugtable" datalist="""
99 [[!data key="Reported by" link="John"]] [[!data key="Owned by" link="Frank"]]
100 [[!data key="Depends on"]]
105 FooBar, when used with the `--frob` option, fails to properly frobnicate
108 > This is fixed in \[[news/version_1.0]]; marking this bug \[[done]].
110 #### Steps to reproduce:
112 Use FooBar with the `--frob` option.
114 #### What I expect to happen:
116 Lots of frobnication.
118 #### What actually happens:
120 Complete lack of frobnication
122 #### What I have tried to narrow it down:
124 Tested on Linux, MacOS and NetBSD.