Skip to content

feat: update bindings to v2.0.29 (API v1.1285.0) and automate future updates#96

Merged
cloudsmith-iduffy merged 1 commit into
masterfrom
update-bindings-v2.0.29
Jul 15, 2026
Merged

feat: update bindings to v2.0.29 (API v1.1285.0) and automate future updates#96
cloudsmith-iduffy merged 1 commit into
masterfrom
update-bindings-v2.0.29

Conversation

@cloudsmith-iduffy

@cloudsmith-iduffy cloudsmith-iduffy commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Updates the generated API bindings to the latest CloudSmith API and adds tooling to automate future updates.

Bindings

  • Binding version: 2.0.29
  • CloudSmith API version: 1.1285.0 (previously 1.1199.0)
  • Regenerated Python, Ruby, and Java bindings

Tooling & automation

  • Ruby apostrophe escaping is now automaticscripts/fix-ruby-escaping.sh re-escapes the upstream's APKINDEX disable_reason enum value that swagger-codegen emits into single-quoted Ruby literals (a syntax error otherwise). Implemented in ruby (idempotent, verified with ruby -c) and invoked from bindings/ruby/build.sh, so a single ./scripts/build.sh always emits valid Ruby.
  • Linting is a mandatory build stepscripts/build.sh runs ruff check --fix, which applies fixes in a single pass and fails only on genuinely unfixable violations.
  • Hardened update-bindings.sh — runs pre-commit to convergence and refuses to push when a hook aborts the commit.
  • mise-managed toolchain — a top-level .mise.toml pins the host tools (ruby, uv, jq) so local dev and CI share the same setup. Docker (swagger-codegen) and the CircleCI cimg compat matrix remain separate on purpose.
  • Update API bindings GitHub Actions workflow — regenerates the bindings and opens a PR on demand (workflow_dispatch, optionally with a specific version) or daily on a schedule. It opens a PR only when the regenerated bindings actually change, and closes any superseded automated PRs first. CircleCI continues to handle test + deploy on merge.
  • zizmor, integrated the same way as cloudsmith-cli: a pre-commit hook plus a dedicated Security workflow (.github/workflows/zizmor.yml) using the official zizmorcore/zizmor-action (SARIF → code scanning). The Update API bindings workflow is hardened against zizmor's findings — workflow_dispatch inputs and step outputs pass through env rather than being interpolated into run blocks (template-injection), persist-credentials: false on checkout, and all actions hash-pinned to their latest release.
  • chmod 755 on the source shell scripts.
  • Documented the mise + Docker workflow in README.md and CONTRIBUTING.md.

Notes

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 15, 2026 09:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

  • Updates the repository’s generated Cloudsmith API bindings to v2.0.29 (tracking Cloudsmith API v1.1285.0) across Python, Ruby, and Java, and adds automation to make future updates repeatable.
  • Introduces tooling to address a recurring Ruby generator issue (unescaped apostrophe in an enum value), and adds a GitHub Actions workflow to regenerate bindings and open/update a PR on a schedule or via manual dispatch.

Changes:

  • Bump binding/package versions to 2.0.29 across Ruby/Python/Java artifacts and metadata.
  • Regenerate bindings to include new/updated API surface (e.g., active_connection_count, public_key_wire, cache-only upstream modes, connected-repository fields, and org sorting support).
  • Add automation: Ruby apostrophe fix script, hardened local update script behavior, and a scheduled/manual GitHub Actions workflow to open PRs.

Reviewed changes

Copilot reviewed 280 out of 280 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/update-bindings.sh Runs Ruby escaping fix after generation; runs pre-commit to convergence and blocks pushes when commit fails.
scripts/fix-ruby-escaping.sh New helper to re-escape the problematic Ruby enum apostrophe and optionally validate with ruby -c.
scripts/common.sh Bumps package_version to 2.0.29.
.github/workflows/update-bindings.yml New workflow to regenerate bindings on a schedule or manually and open/update a PR automatically.
bindings/ruby/src/build.json Bumps Ruby gem version metadata to 2.0.29.
bindings/ruby/src/README.md Updates Ruby SDK docs and install examples for 2.0.29.
bindings/ruby/src/lib/cloudsmith-api/version.rb Bumps Ruby SDK version constant to 2.0.29.
bindings/ruby/src/spec/models/repository_spec.rb Regenerated Ruby spec stub reflecting active_connection_count.
bindings/ruby/src/spec/models/repository_create_spec.rb Regenerated Ruby spec stub reflecting active_connection_count.
bindings/ruby/src/spec/models/repository_ed25519_key_spec.rb Regenerated Ruby spec stub reflecting public_key_wire.
bindings/ruby/src/spec/models/organization_saml_auth_spec.rb Regenerated Ruby spec stubs for new webapp SAML metadata fields.
bindings/ruby/src/spec/models/organization_saml_auth_request_patch_spec.rb Regenerated Ruby spec stubs for new webapp SAML metadata fields.
bindings/ruby/src/spec/models/format_support_upstream_spec.rb Regenerated Ruby spec stub reflecting cache_only.
bindings/ruby/src/spec/models/connected_repository_spec.rb Regenerated Ruby spec stubs reflecting connected-repository disable fields.
bindings/ruby/src/spec/models/python_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/python_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/python_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/nuget_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/nuget_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/nuget_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/npm_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/npm_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/npm_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/hex_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/hex_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/hex_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/helm_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/helm_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/helm_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/generic_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/generic_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/generic_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/deb_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/deb_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/deb_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/dart_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/dart_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/dart_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/cran_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/cran_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/cran_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/conda_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/conda_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/conda_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/composer_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/composer_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/composer_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/cargo_upstream_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/cargo_upstream_request_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/models/cargo_upstream_request_patch_spec.rb Updates enum test comment to include Cache Only.
bindings/ruby/src/spec/api/repos_api_spec.rb Updates Ruby API doc comment for sort options.
bindings/ruby/src/spec/api/orgs_api_spec.rb Adds Ruby API doc comment for sort on org listing.
bindings/ruby/src/spec/api/packages_api_spec.rb Adds Ruby API doc comments for include_connected_repositories.
bindings/ruby/src/lib/cloudsmith-api/models/repository.rb Adds active_connection_count to Ruby Repository model.
bindings/ruby/src/lib/cloudsmith-api/models/repository_create.rb Adds active_connection_count to Ruby RepositoryCreate model.
bindings/ruby/src/lib/cloudsmith-api/models/repository_ed25519_key.rb Adds public_key_wire to Ruby key model.
bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth.rb Adds webapp SAML metadata fields to Ruby model.
bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb Adds webapp SAML metadata fields to Ruby patch model.
bindings/ruby/src/lib/cloudsmith-api/models/format_support_upstream.rb Adds cache_only to Ruby upstream-format support model.
bindings/ruby/src/lib/cloudsmith-api/models/connected_repository.rb Adds disable reason/text + enum validation; changes default is_active to false.
bindings/ruby/src/lib/cloudsmith-api/models/connected_repository_request.rb Changes default is_active to false.
bindings/ruby/src/lib/cloudsmith-api/models/connected_repository_request_patch.rb Changes default is_active to false.
bindings/ruby/src/lib/cloudsmith-api/models/python_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/generic_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/generic_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/generic_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb Adds Cache Only enum option for upstream mode.
bindings/ruby/src/lib/cloudsmith-api/api/repos_api.rb Updates Ruby API docs for repo listing sort options.
bindings/ruby/src/lib/cloudsmith-api/api/orgs_api.rb Adds sort query param wiring for Ruby org listing.
bindings/ruby/src/docs/Repository.md Ruby docs: add active_connection_count.
bindings/ruby/src/docs/RepositoryCreate.md Ruby docs: add active_connection_count.
bindings/ruby/src/docs/RepositoryEd25519Key.md Ruby docs: add public_key_wire.
bindings/ruby/src/docs/OrganizationSAMLAuth.md Ruby docs: add webapp SAML metadata fields.
bindings/ruby/src/docs/OrganizationSAMLAuthRequestPatch.md Ruby docs: add webapp SAML metadata fields.
bindings/ruby/src/docs/FormatSupportUpstream.md Ruby docs: add cache_only.
bindings/ruby/src/docs/ConnectedRepository.md Ruby docs: add disable fields and default is_active false.
bindings/ruby/src/docs/ConnectedRepositoryRequest.md Ruby docs: default is_active false.
bindings/ruby/src/docs/ConnectedRepositoryRequestPatch.md Ruby docs: default is_active false.
bindings/ruby/src/docs/ReposApi.md Ruby docs: repo listing sort options.
bindings/ruby/src/docs/OrgsApi.md Ruby docs: org listing sort option.
bindings/python/src/build.json Bumps Python package version metadata to 2.0.29.
bindings/python/src/setup.py Bumps Python package version to 2.0.29.
bindings/python/src/README.md Updates Python SDK docs for 2.0.29.
bindings/python/src/cloudsmith_api/api_client.py Updates Python User-Agent version to 2.0.29.
bindings/python/src/cloudsmith_api/configuration.py Updates Python debug report SDK version to 2.0.29.
bindings/python/src/cloudsmith_api/api/repos_api.py Updates Python docs for repo listing sort options.
bindings/python/src/cloudsmith_api/api/orgs_api.py Adds sort to Python org listing and query params.
bindings/python/src/cloudsmith_api/models/repository_ed25519_key.py Adds public_key_wire field and validation.
bindings/python/src/cloudsmith_api/models/format_support_upstream.py Adds required cache_only field and validation.
bindings/python/src/cloudsmith_api/models/connected_repository.py Adds disable reason/text fields and defaults; changes default is_active to false.
bindings/python/src/cloudsmith_api/models/connected_repository_request.py Changes default is_active to false.
bindings/python/src/cloudsmith_api/models/connected_repository_request_patch.py Changes default is_active to false.
bindings/python/src/cloudsmith_api/models/python_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/python_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/nuget_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/npm_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/npm_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/hex_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/hex_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/helm_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/helm_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/generic_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/generic_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/generic_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/deb_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/deb_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/dart_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/dart_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/cran_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/cran_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/conda_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/conda_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/composer_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/composer_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/cargo_upstream.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py Adds Cache Only allowed enum value.
bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py Adds Cache Only allowed enum value.
bindings/python/src/docs/Repository.md Python docs: add active_connection_count.
bindings/python/src/docs/RepositoryCreate.md Python docs: add active_connection_count.
bindings/python/src/docs/RepositoryEd25519Key.md Python docs: add public_key_wire.
bindings/python/src/docs/OrganizationSAMLAuth.md Python docs: add webapp SAML metadata fields.
bindings/python/src/docs/OrganizationSAMLAuthRequestPatch.md Python docs: add webapp SAML metadata fields.
bindings/python/src/docs/FormatSupportUpstream.md Python docs: add cache_only.
bindings/python/src/docs/ConnectedRepository.md Python docs: add disable fields and default is_active false.
bindings/python/src/docs/ConnectedRepositoryRequest.md Python docs: default is_active false.
bindings/python/src/docs/ConnectedRepositoryRequestPatch.md Python docs: default is_active false.
bindings/python/src/docs/ReposApi.md Python docs: repo listing sort options.
bindings/python/src/docs/OrgsApi.md Python docs: org listing sort option + signature update.
bindings/java/src/build.gradle Bumps Java artifact version to 2.0.29.
bindings/java/src/build.sbt Bumps Scala/SBT project version to 2.0.29.
bindings/java/src/build.json Bumps Java artifactVersion metadata to 2.0.29.
bindings/java/src/pom.xml Bumps Maven version to 2.0.29.
bindings/java/src/README.md Updates Java dependency/docs examples to 2.0.29.
bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java Updates Java User-Agent version to 2.0.29.
bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java Updates Java docs for repo listing sort options.
bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryEd25519Key.java Adds public_key_wire field to Java model.
bindings/java/src/src/main/java/io/cloudsmith/api/models/Repository.java Adds active_connection_count field to Java model.
bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreate.java Adds active_connection_count field to Java model.
bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationSAMLAuth.java Adds webapp SAML metadata fields to Java model.
bindings/java/src/src/main/java/io/cloudsmith/api/models/FormatSupportUpstream.java Adds required cache_only field to Java model.
bindings/java/src/src/main/java/io/cloudsmith/api/models/ConnectedRepository.java Adds disable reason/text and defaults; changes default is_active to false.
bindings/java/src/src/main/java/io/cloudsmith/api/models/ConnectedRepositoryRequest.java Changes default is_active to false.
bindings/java/src/src/main/java/io/cloudsmith/api/models/ConnectedRepositoryRequestPatch.java Changes default is_active to false.
bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/HexUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/HexUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/HexUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/DebUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/DebUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/DebUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/DartUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/DartUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/DartUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CranUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CranUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CranUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoUpstream.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoUpstreamRequest.java Adds CACHE_ONLY enum value.
bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoUpstreamRequestPatch.java Adds CACHE_ONLY enum value.
bindings/java/src/src/test/java/io/cloudsmith/api/apis/PackagesApiTest.java Updates Java API tests for added includeConnectedRepositories param.
bindings/java/src/src/test/java/io/cloudsmith/api/apis/OrgsApiTest.java Updates Java API tests for added sort param.
bindings/java/src/docs/Repository.md Java docs: add activeConnectionCount.
bindings/java/src/docs/RepositoryCreate.md Java docs: add activeConnectionCount.
bindings/java/src/docs/RepositoryEd25519Key.md Java docs: add publicKeyWire.
bindings/java/src/docs/OrganizationSAMLAuth.md Java docs: add webapp SAML metadata fields.
bindings/java/src/docs/OrganizationSAMLAuthRequestPatch.md Java docs: add webapp SAML metadata fields.
bindings/java/src/docs/FormatSupportUpstream.md Java docs: add cacheOnly.
bindings/java/src/docs/ConnectedRepository.md Java docs: add disable fields + enum; reflect defaults.
bindings/java/src/docs/ReposApi.md Java docs: repo listing sort options.
bindings/java/src/docs/OrgsApi.md Java docs: org listing sort option + signature update.
bindings/java/src/docs/PythonUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/PythonUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/PythonUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/NugetUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/NugetUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/NugetUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/NpmUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/NpmUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/NpmUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/HexUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/HexUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/HexUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/HelmUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/HelmUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/HelmUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/GenericUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/GenericUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/GenericUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/DebUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/DebUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/DebUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/DartUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/DartUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/DartUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CranUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CranUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CranUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CondaUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CondaUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CondaUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/ComposerUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/ComposerUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/ComposerUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CargoUpstream.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CargoUpstreamRequest.md Java docs: add CACHE_ONLY enum value.
bindings/java/src/docs/CargoUpstreamRequestPatch.md Java docs: add CACHE_ONLY enum value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/update-bindings.sh Outdated
Comment thread scripts/fix-ruby-escaping.sh
Comment thread scripts/fix-ruby-escaping.sh Outdated
@cloudsmith-iduffy cloudsmith-iduffy force-pushed the update-bindings-v2.0.29 branch from 56cecb2 to df1f63c Compare July 15, 2026 10:38
@cloudsmith-iduffy cloudsmith-iduffy changed the title feat: update bindings to v2.0.29 (API v1.1285.0) feat: update bindings to v2.0.29 (API v1.1285.0) and automate future updates Jul 15, 2026
Comment thread .github/workflows/update-bindings.yml Outdated
@cloudsmith-iduffy cloudsmith-iduffy force-pushed the update-bindings-v2.0.29 branch 2 times, most recently from febdd43 to b68a5db Compare July 15, 2026 10:56
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@cloudsmith-iduffy cloudsmith-iduffy force-pushed the update-bindings-v2.0.29 branch 3 times, most recently from 859a8c1 to 14ee27c Compare July 15, 2026 13:17
…updates

Binding version: 2.0.29
CloudSmith API version: 1.1285.0

Bindings:
- Regenerate Python, Ruby, and Java bindings against API v1.1285.0

Tooling and automation:
- Automate the Ruby apostrophe escaping (swagger-codegen emits an unescaped
  single-quoted enum value) in scripts/fix-ruby-escaping.sh using ruby, invoked
  from bindings/ruby/build.sh so a single build always emits valid Ruby
- Make linting a mandatory build step: scripts/build.sh runs `ruff check --fix`,
  which fails only on genuinely unfixable violations
- Harden update-bindings.sh: run pre-commit to convergence and refuse to push
  when a hook aborts the commit
- Manage the host toolchain with mise via a top-level .mise.toml (ruby, python,
  uv, jq) shared by local dev and CI
- Add the "Update API bindings" GitHub Actions workflow: regenerate and open a
  PR on demand or daily, only when the bindings actually change, closing any
  superseded automated PRs first
- Move linting and security scanning to GitHub Actions (mirroring
  cloudsmith-cli): a Lint workflow runs ruff via mise, and a Security workflow
  runs zizmor via zizmorcore/zizmor-action; the CircleCI pre-commit job is
  removed, leaving CircleCI to only test and deploy the bindings
- Harden the workflows against zizmor's findings: pass workflow_dispatch inputs
  and step outputs through env instead of interpolating them into run blocks,
  set persist-credentials: false, and hash-pin all actions to the latest release
- chmod 755 the source shell scripts
- Document the mise + Docker workflow in README.md and CONTRIBUTING.md

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudsmith-iduffy cloudsmith-iduffy force-pushed the update-bindings-v2.0.29 branch from 14ee27c to 2d37185 Compare July 15, 2026 13:24
@cloudsmith-iduffy cloudsmith-iduffy merged commit 0c3a066 into master Jul 15, 2026
10 checks passed
@cloudsmith-iduffy cloudsmith-iduffy deleted the update-bindings-v2.0.29 branch July 15, 2026 13:31
cloudsmith-iduffy added a commit to cloudsmith-io/cloudsmith-api-go that referenced this pull request Jul 15, 2026
Binding version: 0.0.59
Cloudsmith API version: 1.1288.1

Also ports the tooling/automation from cloudsmith-io/cloudsmith-api#96,
adapted for this Go-only, Docker-generated repo:

- .mise.toml pins the host toolchain (go, jq) and adds generate /
  update-bindings tasks. Docker remains a separate prerequisite.
- Update API bindings workflow: regenerates and opens a PR on demand
  (workflow_dispatch) or daily on a schedule, only when the bindings
  actually change, closing any superseded automated PRs first.
- zizmor Security workflow + pre-commit hook.
- Hardened go.yml (hash-pinned actions, persist-credentials: false,
  explicit permissions, mise-managed toolchain).
- bin/generate: gsed->sed shim and case-insensitive CONTRIBUTING guard
  so the daily build works on Linux runners.
- Documented the mise + Docker workflow in CONTRIBUTING.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants