Skip to content

Add script for generating an MIT license report #5

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pilt
Copy link
Contributor

@pilt pilt commented Nov 27, 2024

Added a script that reports explicit licensing details to Sundsvalls kommun under the MIT license. The goal is to provide clarity for potential integrators like myself, enabling a better understanding of which components are licensed under MIT and identifying areas where other licenses, such as AGPL, might be in use.

High-level stats:

backend/
  Extension       MIT      Total   Files%    MIT Lines    Tot Lines   Lines%
  ----------------------------------------------------------------------
  .ini              0          2     0.0%            0           32     0.0%
  .lock             0          1     0.0%            0         4606     0.0%
  .mako             0          1     0.0%            0           17     0.0%
  .py              50        455    11.0%         3314        27096    12.2%
  .template         0          1     0.0%            0           40     0.0%
  .toml             0          1     0.0%            0           73     0.0%
  .yml              0          3     0.0%            0          206     0.0%
  ----------------------------------------------------------------------
  Total            50        464    10.8%         3314        32070    10.3%

frontend/
  Extension       MIT      Total   Files%    MIT Lines    Tot Lines   Lines%
  ----------------------------------------------------------------------
  .cjs              0          3     0.0%            0           82     0.0%
  .css              0          2     0.0%            0          130     0.0%
  .example          0          1     0.0%            0            6     0.0%
  .html             0          2     0.0%            0           25     0.0%
  .js               0         29     0.0%            0         2170     0.0%
  .json             0          7     0.0%            0          222     0.0%
  .sh               0          1     0.0%            0           14     0.0%
  .svelte          61        203    30.0%         4342        11319    38.4%
  .ts              23         77    29.9%         1015        10849     9.4%
  .yaml             0          2     0.0%            0         3684     0.0%
  no_extension        0         13     0.0%            0          121     0.0%
  ----------------------------------------------------------------------
  Total            84        340    24.7%         5357        28622    18.7%

Full output can be found here: https://gist.github.com/pilt/7c6222d1280c7a4b8fd7c50be626ad1f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant