Open bobheadxi opened 5 years ago
This is some legacy side effect, thank you for thorough testing. I think the best way to fix this is to remove PeopleNumber
and make reversedPeopleDict
public. Then all the places which check PeopleNumber
should be changed to check len(ReversedPeopleDict)
instead.
I might just be holding it wrong, but on the repo https://github.com/ubclaunchpad/inertia.git, the following code:
panics when run with:
stacktrace:
running a similar configuration directly using
hercules
(I think) works:i noticed that the
--burndown-people
option sets the number of people based onfacts
instead, which I guess runs a separate analysis to get an accurate number of peopleemulating this behaviour by removing
PeopleNumber
from my call toDeployItem
and instead providingConfigBurndownTrackPeople=true
infacts
works:My suspicion is this happens because the repository https://github.com/ubclaunchpad/inertia has 21 contributors, while the repo I was previously using for testing (as in #235), https://github.com/bobheadxi/calories, only has 4 contributors, so the
PeopleNumber: 10
worked for the latter but not the former. I feel the expected behaviour here might be to either to ignore discovered authors after the firstPeopleNumber
authors. alternatively:PeopleNumber
is provided, it must be more than the actual number of contributorsfacts
, since currently the documentation recommends running withfacts=nil
which sort of implies thatfacts
solely exists for flexible command-line configurationI'd be happy to put in a PR to fix up the documentation or anything after clarification. thanks!