| Summary: | fix budget-sync's incorrect assumption that at most 1 payment exists for each person-bug combination | ||
|---|---|---|---|
| Product: | Libre-SOC Organisation | Reporter: | Jacob Lifshay <programmerjake> |
| Component: | Planning | Assignee: | Jacob Lifshay <programmerjake> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | libre-soc-org, lkcl, programmerjake |
| Priority: | Highest | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| NLnet milestone: | --- | total budget (EUR) for completion of task and all subtasks: | 0 |
| budget (EUR) for this task, excluding subtasks' budget: | 0 | parent task for budget allocation: | |
| child tasks for budget allocation: | The table of payments (in EUR) for this task; TOML format: | ||
|
Description
Jacob Lifshay
2021-09-23 20:38:05 BST
I ended up refactoring/rewriting a large portion of budget-sync, but now it should be able to handle multiple payments to a person in a bug (they do have to use different aliases otherwise the TOML parser will fail, since it is a dict at the level of TOML semantics). https://git.libre-soc.org/?p=utils.git;a=commitdiff;h=d9408da49b5c87d9f3bafc0ab1ab41d33b608839 This should fix it. I also added some more tests, and an extensible pretty-printer (I was trying to debug stuff and pprint wasn't good enough) |