diff --git a/README.md b/README.md index d56823e8..9b4027c0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Generate your metrics that you can embed everywhere, including your GitHub profi @@ -83,7 +83,7 @@ Generate your metrics that you can embed everywhere, including your GitHub profi - + + - + + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + + + @@ -576,6 +591,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1 + @@ -600,6 +616,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1 + @@ -624,6 +641,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1 + @@ -664,6 +682,7 @@ See their respective documentation for more informations about how to setup them * [💡 Coding habits](/source/plugins/habits/README.md) * [📅 Isometric commit calendar](/source/plugins/isocalendar/README.md) * [🈷️ Most used languages](/source/plugins/languages/README.md) +* [📜 Licenses](/source/plugins/licenses/README.md) * [👨‍💻 Lines of code changed](/source/plugins/lines/README.md) * [🎼 Music plugin](/source/plugins/music/README.md) * [💉 Nightscout](/source/plugins/nightscout/README.md) diff --git a/action.yml b/action.yml index 4587fa95..5005410c 100644 --- a/action.yml +++ b/action.yml @@ -330,6 +330,31 @@ inputs: description: Minimum threshold default: 0% + # ==================================================================================== + # 📜 Licenses + + # Enable or disable plugin + plugin_licenses: + description: Display licenses informations + default: no + + # Command to use to setup target repository + # It is required to install all dependencies that will be analyzed with github/licensed + plugin_licenses_setup: + description: Command to setup target repository + default: "" + + # Display used licenses from both repository license and dependencies licenses ratio + plugin_licenses_ratio: + description: Display used licenses ratio + default: no + + # Display permissions, limitations and conditions from both repository license and dependencies licenses + # Note that this is NOT legal advice, use at your own risk + plugin_licenses_legal: + description: Display legal informations about used licenses + default: yes + # ==================================================================================== # 👨‍💻 Lines of code changed diff --git a/settings.example.json b/settings.example.json index 0ae4b377..4bda85af 100644 --- a/settings.example.json +++ b/settings.example.json @@ -43,6 +43,9 @@ "languages":{ "enabled": false, "//": "Display most used languages metrics" }, + "licenses":{ + "enabled": false, "//": "Display licenses informations" + }, "lines":{ "enabled": false, "//": "Display lines of code metrics" }, diff --git a/source/plugins/README.md b/source/plugins/README.md index c3e0d64a..29af095d 100644 --- a/source/plugins/README.md +++ b/source/plugins/README.md @@ -12,6 +12,7 @@ See their respective documentation for more informations about how to setup them * [💡 Coding habits](/source/plugins/habits/README.md) * [📅 Isometric commit calendar](/source/plugins/isocalendar/README.md) * [🈷️ Most used languages](/source/plugins/languages/README.md) +* [📜 Licenses](/source/plugins/licenses/README.md) * [👨‍💻 Lines of code changed](/source/plugins/lines/README.md) * [🎼 Music plugin](/source/plugins/music/README.md) * [💉 Nightscout](/source/plugins/nightscout/README.md)
- 🧩 20 plugins + 🧩 21 plugins
🈷️ Most used languages👨‍💻 Lines of code changed📜 Licenses
@@ -94,15 +94,22 @@ Generate your metrics that you can embed everywhere, including your GitHub profi - + +
With licenses ratio + +
👨‍💻 Lines of code changed 🎼 Music plugin💉 Nightscout
+ + +
🎼 Favorite tracks version @@ -112,16 +119,16 @@ Generate your metrics that you can embed everywhere, including your GitHub profi
💉 Nightscout⏱️ Website performances
⏱️ Website performances🧑‍🤝‍🧑 People plugin
Detailed version @@ -132,6 +139,12 @@ Generate your metrics that you can embed everywhere, including your GitHub profi
🧑‍🤝‍🧑 People plugin✒️ Recent posts
Followed people version @@ -145,40 +158,34 @@ Generate your metrics that you can embed everywhere, including your GitHub profi
✒️ Recent posts🗂️ Projects
🗂️ Projects✨ Stargazers over last weeks
✨ Stargazers over last weeks🌟 Recently starred repositories
🌟 Recently starred repositories📌 Starred topics
📌 Starred topics🧮 Repositories traffic
Mastered and known technologies version @@ -186,23 +193,30 @@ Generate your metrics that you can embed everywhere, including your GitHub profi
🧮 Repositories traffic🐤 Latest tweets
🐤 Latest tweets⏰ WakaTime plugin
⏰ WakaTime plugin
@@ -552,6 +566,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1 💡 📅 🈷️📜 👨‍💻 🎼 💉✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️✔️ ✔️ ✔️ ✔️