[PR #227] [MERGED] feat: add build bundles commands #371

Closed
opened 2026-02-26 21:34:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/227
Author: @rudrankriyam
Created: 1/27/2026
Status: Merged
Merged: 1/27/2026
Merged by: @rudrankriyam

Base: mainHead: pr-207


📝 Commits (1)

  • 8fcb54e feat: add build bundles commands

📊 Changes

26 files changed (+1512 additions, -82 deletions)

View changed files

📝 cmd/apps.go (+3 -3)
📝 cmd/assets.go (+4 -2)
cmd/build_bundles.go (+475 -0)
📝 cmd/commands_test.go (+66 -0)
📝 cmd/migrate.go (+9 -9)
📝 cmd/migrate_test.go (+16 -16)
📝 cmd/prerelease.go (+2 -2)
📝 cmd/root.go (+1 -0)
📝 cmd/shared.go (+2 -0)
📝 cmd/submit.go (+2 -2)
📝 internal/asc/assets.go (+10 -8)
📝 internal/asc/assets_upload_test.go (+2 -2)
internal/asc/build_bundles_output.go (+176 -0)
internal/asc/build_bundles_test.go (+83 -0)
📝 internal/asc/categories.go (+9 -9)
internal/asc/client_build_bundles.go (+257 -0)
📝 internal/asc/client_options.go (+54 -0)
📝 internal/asc/client_pagination.go (+8 -0)
📝 internal/asc/client_queries.go (+36 -3)
📝 internal/asc/client_types.go (+5 -0)

...and 6 more files

📄 Description

Summary

  • add asc build-bundles command group with list, file-sizes, and App Clip subcommands
  • add build bundle client queries and output formatting (table/markdown)
  • add tests for query builders and output rendering

Test plan

  • make test
  • Manual (ASC_BYPASS_KEYCHAIN=1):
    • ./asc apps --limit 2 --output json
    • ./asc builds list --app 6747745091 --limit 1 --output json
    • ./asc builds list --app 6740467361 --limit 1 --output json
    • ./asc build-bundles list --build "ccdb38b4-4189-40c8-a831-3c3f8af29a9e" --output json
    • ./asc build-bundles list --build "0c5ee288-dfeb-40cb-852d-91e65084e5fc" --output json
    • ./asc build-bundles file-sizes list --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --limit 5 --output json
    • ./asc build-bundles file-sizes list --id "d1957296-7f91-4049-9338-be9a83e34a97" --limit 5 --output json
    • ./asc build-bundles app-clip cache-status get --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --output json
    • ./asc build-bundles app-clip debug-status get --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --output json
    • ./asc build-bundles app-clip invocations list --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --output json
    • ./asc build-bundles app-clip cache-status get --id "d1957296-7f91-4049-9338-be9a83e34a97" --output json
    • ./asc build-bundles app-clip debug-status get --id "d1957296-7f91-4049-9338-be9a83e34a97" --output json
    • ./asc build-bundles app-clip invocations list --id "d1957296-7f91-4049-9338-be9a83e34a97" --output json

Notes

  • App Clip cache/debug status and invocations returned empty/not-available for the tested bundles (no App Clip data).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/227 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 1/27/2026 **Status:** ✅ Merged **Merged:** 1/27/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `pr-207` --- ### 📝 Commits (1) - [`8fcb54e`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/8fcb54ebba781033d2ae9d31fac66afa99fde741) feat: add build bundles commands ### 📊 Changes **26 files changed** (+1512 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `cmd/apps.go` (+3 -3) 📝 `cmd/assets.go` (+4 -2) ➕ `cmd/build_bundles.go` (+475 -0) 📝 `cmd/commands_test.go` (+66 -0) 📝 `cmd/migrate.go` (+9 -9) 📝 `cmd/migrate_test.go` (+16 -16) 📝 `cmd/prerelease.go` (+2 -2) 📝 `cmd/root.go` (+1 -0) 📝 `cmd/shared.go` (+2 -0) 📝 `cmd/submit.go` (+2 -2) 📝 `internal/asc/assets.go` (+10 -8) 📝 `internal/asc/assets_upload_test.go` (+2 -2) ➕ `internal/asc/build_bundles_output.go` (+176 -0) ➕ `internal/asc/build_bundles_test.go` (+83 -0) 📝 `internal/asc/categories.go` (+9 -9) ➕ `internal/asc/client_build_bundles.go` (+257 -0) 📝 `internal/asc/client_options.go` (+54 -0) 📝 `internal/asc/client_pagination.go` (+8 -0) 📝 `internal/asc/client_queries.go` (+36 -3) 📝 `internal/asc/client_types.go` (+5 -0) _...and 6 more files_ </details> ### 📄 Description ## Summary - add `asc build-bundles` command group with list, file-sizes, and App Clip subcommands - add build bundle client queries and output formatting (table/markdown) - add tests for query builders and output rendering ## Test plan - `make test` - Manual (ASC_BYPASS_KEYCHAIN=1): - `./asc apps --limit 2 --output json` - `./asc builds list --app 6747745091 --limit 1 --output json` - `./asc builds list --app 6740467361 --limit 1 --output json` - `./asc build-bundles list --build "ccdb38b4-4189-40c8-a831-3c3f8af29a9e" --output json` - `./asc build-bundles list --build "0c5ee288-dfeb-40cb-852d-91e65084e5fc" --output json` - `./asc build-bundles file-sizes list --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --limit 5 --output json` - `./asc build-bundles file-sizes list --id "d1957296-7f91-4049-9338-be9a83e34a97" --limit 5 --output json` - `./asc build-bundles app-clip cache-status get --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --output json` - `./asc build-bundles app-clip debug-status get --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --output json` - `./asc build-bundles app-clip invocations list --id "2ae85ef3-04e9-4f37-a9bc-64e95ca3d73a" --output json` - `./asc build-bundles app-clip cache-status get --id "d1957296-7f91-4049-9338-be9a83e34a97" --output json` - `./asc build-bundles app-clip debug-status get --id "d1957296-7f91-4049-9338-be9a83e34a97" --output json` - `./asc build-bundles app-clip invocations list --id "d1957296-7f91-4049-9338-be9a83e34a97" --output json` ## Notes - App Clip cache/debug status and invocations returned empty/not-available for the tested bundles (no App Clip data). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:34:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#371
No description provided.