Skip to content

Diver - Look for corporate copyrights in sources #43

Open
@pylapp

Description

@pylapp

As a GitHub administrator
I want to check if there are projects in my organisation without copyrights in source code
So that I can contact project maintainers to ask them to add copyrights if sources.

Pseudocode:

For My GitHub Organisation: Clone All Projects Repositories
For Each Clone Projects:
    For Each Source File In [go, java, kotlin, php, javascript, rust, swift, objective-c, c, c++, c#, typescript, ...]
        Get the Copyright Line(i.e. Line starting by "copyright')
        If There Are More Than One Line: Warning
        If There Is No Line: Warning
        If The Copyright Line Does Not Contain My Company Name: Warning
        If The Copyright Line Contains My Company Name: OK
    End For Each
End For Each

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature-diverEnhancement related to the diver featurefeature-newEnhancement for a new feature (which has not its GitHub label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions