[Libre-soc-dev] budget-sync
Jacob Lifshay
programmerjake at gmail.com
Mon Jun 20 05:54:10 BST 2022
I added functionality to budget-sync to display in the tree output the
total amount submitted/paid for each bug and all its children:
https://git.libre-soc.org/?p=utils.git;a=commitdiff;h=472bb09fbac4e41667cedbb9c14869e0b106d9f1
I also adjusted the budget fix heuristics to adjust the budget including
subtasks instead if adjusting the budget excluding subtasks would make it
negative:
https://git.libre-soc.org/?p=utils.git;a=commitdiff;h=16ad3ec56fc34b6e256248881c69f6277848061f
because of this, i discovered that if #74 (which is not submitted or paid)
is set to eur 100 then that ends up making all the budgets balance and sum
to eur 50k. this would also require increasing #48's budget to 15325 and
leaving #191's budget at 50k.
NLnet.2019.02.012 191
bug # 191 budget 50200 excltasks 0 sub_tot 49900 paid_tot 43725
bug # 22 budget 6125 excltasks 0 sub_tot 6125 paid_tot 3500
<snip>
bug # 48 budget 15525 excltasks 0 sub_tot 15225 paid_tot 15225
bug # 43 budget 1200 excltasks 1200 sub_tot 1200 paid_tot 1200
bug # 44 budget 1500 excltasks 1500 sub_tot 1500 paid_tot 1500
bug # 74 budget 300 excltasks 300 sub_tot 0 paid_tot 0
bug # 75 budget 1500 excltasks 1500 sub_tot 1500 paid_tot 1500
<snip>
Jacob
More information about the Libre-soc-dev
mailing list