Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diver - Look for corporate copyrights in sources #43

Open
pylapp opened this issue Mar 2, 2022 · 0 comments
Open

Diver - Look for corporate copyrights in sources #43

pylapp opened this issue Mar 2, 2022 · 0 comments
Labels
enhancement New feature or request feature-diver Enhancement related to the diver feature feature-new Enhancement for a new feature (which has not its GitHub label)
Milestone

Comments

@pylapp
Copy link
Member

pylapp commented Mar 2, 2022

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
@pylapp pylapp added enhancement New feature or request feature-GitHub Enhancement related to the GitHub-based feature feature-new Enhancement for a new feature (which has not its GitHub label) labels Mar 2, 2022
@pylapp pylapp added this to the 2.4.0 milestone Mar 2, 2022
@pylapp pylapp changed the title GitHub - Look for copyrights in sources GitHub - Look for corporate copyrights in sources Mar 7, 2022
@pylapp pylapp modified the milestones: 2.4.0, 2.5.0, 2.6.0 Mar 8, 2022
@pylapp pylapp added feature-diver Enhancement related to the diver feature and removed feature-GitHub Enhancement related to the GitHub-based feature labels Mar 9, 2022
@pylapp pylapp changed the title GitHub - Look for corporate copyrights in sources Diver - Look for corporate copyrights in sources Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-diver Enhancement related to the diver feature feature-new Enhancement for a new feature (which has not its GitHub label)
Projects
None yet
Development

No branches or pull requests

1 participant