{"id":40598345,"url":"https://github.com/cloudbees-oss/smart-tests-cli","last_synced_at":"2026-06-04T09:00:38.107Z","repository":{"id":37235529,"uuid":"300552705","full_name":"cloudbees-oss/smart-tests-cli","owner":"cloudbees-oss","description":"Smart Tests CLI","archived":false,"fork":false,"pushed_at":"2026-06-01T22:30:30.000Z","size":232130,"stargazers_count":26,"open_issues_count":24,"forks_count":16,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-06-01T23:10:08.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/smart-tests-cli/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudbees-oss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-02T08:38:02.000Z","updated_at":"2026-05-28T09:16:10.000Z","dependencies_parsed_at":"2026-01-29T09:03:57.593Z","dependency_job_id":"6e894830-c2e2-4747-aa82-d9c233e498b9","html_url":"https://github.com/cloudbees-oss/smart-tests-cli","commit_stats":null,"previous_names":["cloudbees-oss/smart-tests-cli","launchableinc/cli"],"tags_count":324,"template":false,"template_full_name":null,"purl":"pkg:github/cloudbees-oss/smart-tests-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudbees-oss%2Fsmart-tests-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudbees-oss%2Fsmart-tests-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudbees-oss%2Fsmart-tests-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudbees-oss%2Fsmart-tests-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudbees-oss","download_url":"https://codeload.github.com/cloudbees-oss/smart-tests-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudbees-oss%2Fsmart-tests-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33897568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-21T04:07:29.239Z","updated_at":"2026-06-04T09:00:38.070Z","avatar_url":"https://github.com/cloudbees-oss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a CLI to interact with CloudBees Smart Tests.\n\n# Usage\n\nSee https://help.launchableinc.com/resources/cli-reference/ and\nhttps://help.launchableinc.com/sending-data-to-launchable/using-the-launchable-cli/getting-started/.\n\n# Development\n\n## Preparation\n\nWe recommend uv for dependency management:\n\n```shell\n# Install uv\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n\n# Install dependencies\nuv sync --dev\n```\n\nIn order to automatically format files with autopep8, this repository contains a\nconfiguration for [pre-commit](https://pre-commit.com). Install the hook with\n`uv run pre-commit install`.\n\n## Load development environment\n\n```shell\n# Activate virtual environment\nsource .venv/bin/activate\n# or use uv run for individual commands\nuv run \u003ccommand\u003e\n```\n\nFrom this shell, run `pip install -e .` to create `launchable` wrapper script from the workspace.\nThis is useful to test the CLI with real/local server.\n\n## Run tests cli\n\n```shell\n# Using poethepoet (recommended)\nuv run poe test\n\n# Direct command\nuv run python -m unittest\n```\n\n## Run tests exe_deploy.jar\n\n```\nbazel test ...\n```\n\n## Available Development Tasks\n\nThis project uses [poethepoet](https://poethepoet.natn.io/) for task management. Available tasks:\n\n```shell\n# Show all available tasks\nuv run poe --help\n\n# Run tests\nuv run poe test\n\n# Run tests with XML output\nuv run poe test-xml\n\n# Run linting\nuv run poe lint\n\n# Run type checking\nuv run poe type\n\n# Format code\nuv run poe format\n\n# Build package\nuv run poe build\n\n# Install package locally\nuv run poe install\n```\n\n## Add dependency\n\n```shell\n# Add runtime dependency\nuv add some-package\n\n# Add development dependency\nuv add --dev some-dev-package\n```\n\n## Adding new command\n`smart_tests/args4p` defines a small command line argument parsing framework for this CLI. See its README.md for\nthe capabilities.\n\n`smart_tests/__main__.py` defines the top level commands. Follow the code from there to see where sub-commands\nare registered.\n\n## Updating Python Version\n\nWhen updating the Python version requirement, update the following files:\n\n1. **`.python-version`** - Used by pyenv, uv, and local development\n2. **`pyproject.toml`** - Update `requires-python = \"\u003e=X.Y\"`\n3. **`setup.cfg`** - Update `python_requires = \u003e=X.Y`\n4. **`.github/workflows/python-package.yml`** - Update `python-version: [\"X.Y\"]`\n5. **`.github/workflows/python-publish.yml`** - Update `uv python install X.Y`\n6. **`README.md`** - Update prerequisite section\n7. **`CLAUDE.md`** - Update development notes\n\n# How to release\n\nCreate new release on Github, then Github Actions automatically uploads the\nmodule to PyPI.\n\n## How to update bundled documentation\n\nThe product documentation lives in `smart_tests/docs/` and is bundled into the\ndistributed package. To pull in the latest from the docsite repository:\n\n```shell\nuv run poe update-docs\n```\n\nUsers can extract the bundled docs to the current directory with:\n\n```shell\nsmart-tests get docs\n```\n\n## How to update smart_tests/jar/exe_deploy.jar\n\n```\n./build-java.sh\n```\n\n# Installing CLI\n\nYou can install the `smart-tests` command from either source or [pypi](https://pypi.org/project/smart-tests/).\n\n## Prerequisite\n\n- \\\u003e= Python 3.13\n- \\\u003e= Java 8\n\n## Install from source\n\n```sh\n$ pwd\n~/cli\n\n$ python setup.py install\n```\n\n## Install from pypi\n\n```sh\n$ pip3 install --user --upgrade smart-tests~=1.0\n```\n\n## Versioning\n\nThis module follows [Semantic versioning](https://semver.org/) such as X.Y.Z.\n\n* Major (X)\n  * Drastic update breaking backward compatibility\n* Minor (Y)\n  * Add new plugins, options with backward compatibility\n* Patch (Z)-\n  * Fix bugs or minor behaviors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudbees-oss%2Fsmart-tests-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudbees-oss%2Fsmart-tests-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudbees-oss%2Fsmart-tests-cli/lists"}