From 1c07ab5941adc75c46e764ab393b9fffac6f6c1e Mon Sep 17 00:00:00 2001 From: francesco Date: Tue, 24 Mar 2026 18:58:05 +0100 Subject: [PATCH 1/2] chore(gitignore): stop tracking convcommit config --- .convcommit | 76 ----------------------------------------------------- .gitignore | 1 + 2 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 .convcommit diff --git a/.convcommit b/.convcommit deleted file mode 100644 index 0eed165..0000000 --- a/.convcommit +++ /dev/null @@ -1,76 +0,0 @@ -# convcommit - Conventional Commit message builder -# This file is read by the `convcommit` CLI tool to populate -# the interactive selector menus. -# Commit this file to share the project's commit vocabulary with the team. -# -# FORMAT -# type: — commit type option (e.g. fix, feat, docs) -# scope: — commit scope option -# message: — commit message template -# -# SPECIAL PREFIXES -# ~ — marks the default selection -# _ — enables free-text manual input (press ".") -# [X] — forces key letter X for this entry (e.g. [B]build, [W]wip) -# -# HOW TO USE (interactive) -# Run `convcommit` in a git repo. A menu appears for type, scope, message. -# Press the letter in brackets [A][B]... or [.] for free-text input. -# Stage and push in one shot: -# convcommit -a -p -# -# HOW TO USE (direct flags — scripts, AI agents) -# Bypass the selector entirely with explicit flags: -# convcommit --type fix --scope auth --message "fix null pointer" --push -# convcommit -t feat -s api -m "add endpoint" -a -p -# -# SMART PATTERN — stage specific files and commit in one command -# Use --add instead of nested command substitution. -# Anti-pattern (avoid): -# msg=$(convcommit --type fix --message "fix") && git commit -m "$msg" && git push -# Recommended: -# convcommit --add src/auth.sh --type fix --scope auth --message "fix null pointer" --push -# Stage multiple files: -# convcommit --add src/auth.sh --add tests/auth_test.sh -t test -s auth -m "add tests" -p -# -# HOW TO USE (pipe / non-interactive) -# Pipe selections as lines: one per stage (type, scope, message). -# Use the letter shown in the menu, or "." to trigger free-text input. -# Examples: -# printf "G\n.\nfix null pointer in login\n" | convcommit -# printf "F\n\nadd endpoint\n" | convcommit -a -p -# Capture just the formatted message: -# msg=$(printf "G\n\nfix null pointer\n" | convcommit) -# -# OTHER USEFUL FLAGS -# --reset Regenerate this file with the latest defaults -# --help Show all options -# -# INSTALLATION -# convcommit is a single bash file with no dependencies. -# Install it locally in your project: -# curl -fsSL https://raw.githubusercontent.com/francescobianco/convcommit/refs/heads/main/bin/convcommit \ -# -o bin/convcommit && chmod +x bin/convcommit -# Or system-wide: -# curl -fsSL https://raw.githubusercontent.com/francescobianco/convcommit/refs/heads/main/bin/convcommit \ -# -o /usr/local/bin/convcommit && chmod +x /usr/local/bin/convcommit -type:[B]build -type:~chore -type:[D]docs -type:deps -type:feat -type:fix -type:ci -type:init -type:merge -type:perf -type:refactor -type:revert -type:security -type:style -type:test -type:[W]wip -scope:_ -scope:~ -message:_ -message:~_ diff --git a/.gitignore b/.gitignore index 34568e9..03be67e 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ re-deploy.sh # Local build artifacts .install.stamp .python-version +.convcommit # Generated by integration tests (contains token) .mcp.json From 60f516e820df83c13a193429241b43b73d00ba04 Mon Sep 17 00:00:00 2001 From: francesco Date: Tue, 24 Mar 2026 19:00:15 +0100 Subject: [PATCH 2/2] chore(packaging): add MIT license metadata for pypi --- LICENSE | 21 +++++++++++++++++++++ pyproject.toml | 9 +++++++++ 2 files changed, 30 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1d84717 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Openapi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pyproject.toml b/pyproject.toml index 58552fc..abbf752 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,12 @@ version = "0.3.0" description = "Openapi.com official mcp server implementation" readme = "docs/readme-pypi.md" requires-python = ">=3.13" +license = "MIT" +classifiers = [ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.13", +] dependencies = [ "expiringdict>=1.2.2", "fastmcp>=2.9.1", @@ -15,5 +21,8 @@ dependencies = [ "fastapi>=0.110.0", ] +[tool.setuptools] +license-files = ["LICENSE"] + [project.scripts] openapi-mcp-sdk = "openapi_mcp_sdk.cli:main"