From 72abc81a1606c5df632f57b44c22fb5841e141ca Mon Sep 17 00:00:00 2001 From: Carson Gee Date: Wed, 4 Feb 2026 09:00:54 -0700 Subject: [PATCH 1/2] Add license to distribution --- LICENSE => LICENSE.txt | 0 bin/build-cli-plugin | 8 ++++++++ 2 files changed, 8 insertions(+) rename LICENSE => LICENSE.txt (100%) diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/bin/build-cli-plugin b/bin/build-cli-plugin index 2365b64..d46f595 100755 --- a/bin/build-cli-plugin +++ b/bin/build-cli-plugin @@ -138,6 +138,14 @@ def main(output): # Copy wheel shutil.copy(wheel_path, output_dir / wheel_name) + # Copy license + click.echo("Copying license...") + license_path = repo_root / "LICENSE.txt" + if license_path.exists(): + shutil.copy(license_path, output_dir / "LICENSE.txt") + else: + click.secho("Warning: LICENSE.txt not found", fg="yellow", err=True) + # Render manifest click.echo(f"Rendering manifest.json with version {version}...") render_manifest(output_dir / "manifest.json", version) From 89d24300ca37bc1512b24c29cfa4d55edd26d5b5 Mon Sep 17 00:00:00 2001 From: Carson Gee Date: Wed, 4 Feb 2026 09:25:10 -0700 Subject: [PATCH 2/2] Re-use manifest --- datarobot-cli-plugin/dr-apps.ps1 | 2 +- datarobot-cli-plugin/dr-apps.sh | 4 +--- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/datarobot-cli-plugin/dr-apps.ps1 b/datarobot-cli-plugin/dr-apps.ps1 index 2b8cc93..fbdabc6 100755 --- a/datarobot-cli-plugin/dr-apps.ps1 +++ b/datarobot-cli-plugin/dr-apps.ps1 @@ -8,7 +8,7 @@ $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path # Handle --dr-plugin-manifest flag for CLI integration if ($args.Count -gt 0 -and $args[0] -eq "--dr-plugin-manifest") {{ - Write-Output '{{\"name\":\"{plugin_name}\",\"version\":\"{version}\",\"description\":\"{plugin_description}\"}}' + Get-Content "$ScriptDir\manifest.json" -Raw exit 0 }} diff --git a/datarobot-cli-plugin/dr-apps.sh b/datarobot-cli-plugin/dr-apps.sh index 09bf8e3..9556347 100755 --- a/datarobot-cli-plugin/dr-apps.sh +++ b/datarobot-cli-plugin/dr-apps.sh @@ -16,9 +16,7 @@ SCRIPT_DIR="$(cd "$(dirname "${{BASH_SOURCE[0]}}")" && pwd)" # Handle --dr-plugin-manifest flag for CLI integration if [[ "${{1:-}}" == "--dr-plugin-manifest" ]]; then - cat << 'EOF' -{{"name":"{plugin_name}","version":"{version}","description":"{plugin_description}"}} -EOF + cat "$SCRIPT_DIR/manifest.json" exit 0 fi diff --git a/setup.cfg b/setup.cfg index 1e545b1..c6024e0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -version = 11.1.1 +version = 11.1.2