protontypes / LibreSelery

Continuous distribution of funding to your project contributors and dependencies. Integrated into GitHub Actions
GNU Affero General Public License v3.0
123 stars 18 forks source link

Better random pick function for the dependency tree #175

Open Ly0n opened 4 years ago

Ly0n commented 4 years ago

At the moment we are gathering all contributors in the dependency tree and pick a user defined of random amount out of that. I don't think it is the ideal approach. It would be better to randomly pick a project and use the same weight function as in the major project. @kikass13 @cornerman @krux02 What do you think? How can we better deal with dependency contributors?

kikass13 commented 4 years ago

@Ly0n @cornerman @krux02 i think the way it's done right now is fine. but:

I also think that we should be able to run libreselery recursively ... meaning that if project_dependencies: true is enabled, we should search for dependencies and execute other libreselery instances with out wallet.

In case there is no libreselery in a dependency project, we just randomly split stuff because we have no reason to do it otherwise,

In case libreselery is also a tool used by the dependency, we should be able to run it with our wallet and payout information as well, so that the dependency project receives it's share of the main project, but it will distribute the share as it sees fit.

In other words my requested feature is: