You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This proposes to add a UDF based on go-license-detector to classify licenses of repositories to gitbase core. That UDF requires all the files in HEAD belonging to a repository.
I wouldn't want to add extra features that do not have a specific persona / use case in mind.
There's many useful things we could add to the engine, we need to ensure that those added have enough value to compensate for the extra API / documentation, etc.
@campoy Regarding the functions. License audit is one of those nasty problems everybody hates to do in the enterprises yet many have to do (and pay for it).
Activity
campoy commentedon Oct 11, 2018
I'm not sure about this, what's the use case?
vmarkovtsev commentedon Oct 12, 2018
@campoy The use case is to classify the licenses. Wdym?
campoy commentedon Oct 15, 2018
I wouldn't want to add extra features that do not have a specific persona / use case in mind.
There's many useful things we could add to the engine, we need to ensure that those added have enough value to compensate for the extra API / documentation, etc.
ajnavarro commentedon Oct 16, 2018
If that functionality requires all the HEAD files from a repository cannot be implemented using a UDF.
A UDF is working at the row level. You can process from
0toNfields from a row, and generate a new value from that.vmarkovtsev commentedon Oct 16, 2018
It can work at the row level analyzing one file at a time @ajnavarro
vmarkovtsev commentedon Oct 16, 2018
@campoy Regarding the functions. License audit is one of those nasty problems everybody hates to do in the enterprises yet many have to do (and pay for it).
vmarkovtsev commentedon Oct 16, 2018
FWIW tagging @marnovo as he is supposed to decide on the product features.
erizocosmico commentedon Oct 9, 2019
@ajnavarro what shall we do with this?
ajnavarro commentedon Oct 9, 2019
If it is just implementing a library, we can create a function like
LICENSE(repository_id)