Analysis
Overview
The goal of this revision is to describe as much as possible tasks with one sentence per task. In some cases, information can be directly copied from manage/sched/sophie2-wbs.py's comments. Should also add proto, main and tune for revisions.
Task requirements
Include a sentence for each task in manage/sched/sophie2-wbs.py. This should give brief description of this task. Discuss with team possibility to include priorities.
Task result
manage/sched/sophie2-wbs.py containing extractable string for each task.
Implementation idea
Research the most convenient way to include strings in each task. These strings should be easy to extract.
Related
Comments in manage/sched/sophie2-wbs.py
How to demo
Show exports from the WBS containing this information.
Design
For now replacing comments from manage/sched/sophie2-wbs.py are enough. Note that comments should be for the whole task and may be bigger than a sentence. Define a function called "desc" in python file manage/sched/sophie2-wbs.py. Convert comments to strings in "description". Note that desc function should be similar to spec_entry function. Open the file using a text editor capable of searching regular expressions.
- Find
(#.+)
and replace it with
desc("\1")
To insert the phases find
(\t+)(with Rev.+)#proto
proto/main/tune and replace it with
\1\2\n\1\t phase(proto)
Do not do "Replace all", replace it one by one separating comments you decide useful for later work.
- Open manage/reports/m02/0m02-descriptions-en.txt and manage/reports/m02/0m02-descriptions-bg.txt, join the descriptions and add them to corresponding tasks. The desc function in that case should say
desc("R? <task overview>")
Implementation
Added descriptions and phases to tasks. phases are proto, main, tune and regular.
Testing
Log