Skip to content

[proposal] UDF to classify licenses #488

Open

Description

@vmarkovtsev

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.

cc @mcuadros @campoy

Activity

  1. campoy commented on Oct 11, 2018

    @campoy
    Contributor

    I'm not sure about this, what's the use case?

  2. vmarkovtsev commented on Oct 12, 2018

    @vmarkovtsev
    ContributorAuthor

    @campoy The use case is to classify the licenses. Wdym?

  3. campoy commented on Oct 15, 2018

    @campoy
    Contributor

    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.

  4. ajnavarro commented on Oct 16, 2018

    @ajnavarro
    Contributor

    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 0 to N fields from a row, and generate a new value from that.

  5. vmarkovtsev commented on Oct 16, 2018

    @vmarkovtsev
    ContributorAuthor

    It can work at the row level analyzing one file at a time @ajnavarro

  6. vmarkovtsev commented on Oct 16, 2018

    @vmarkovtsev
    ContributorAuthor

    @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).

  7. vmarkovtsev commented on Oct 16, 2018

    @vmarkovtsev
    ContributorAuthor

    FWIW tagging @marnovo as he is supposed to decide on the product features.

  8. erizocosmico commented on Oct 9, 2019

    @erizocosmico
    Contributor

    @ajnavarro what shall we do with this?

  9. ajnavarro commented on Oct 9, 2019

    @ajnavarro
    Contributor

    If it is just implementing a library, we can create a function like LICENSE(repository_id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions