erikw / taiga-stats

Generate statistics from Taiga and produce burnup diagrams, CFDs, dependency graphs and more.
BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

Dependency parsing is a bit fragile #4

Closed gavanfantom closed 11 months ago

gavanfantom commented 3 years ago

It's pretty easy to end up with a broken dependency graph if people aren't strict with the maintenance of the Depends On field.

It would be more useful to extract anything that looks like a story number (ie # followed by some digits) and ignore the rest.

For example:

       deps = re.findall(r"#\d+", attrs['attributes_values'][str(depson_attr_id)])
erikw commented 2 years ago

@gavanfantom this could make sense. Feel free to open an PR, as you've already found the relevant code line to update 😃

github-actions[bot] commented 11 months ago

Issue is stale; will soon close.