Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
11e8f7e
feat: added bundle create
dawson-david-salesforce Jun 10, 2025
f4061d3
feat: test for bundle create
dawson-david-salesforce Jun 11, 2025
7d09db0
feat: created bundle list command
dawson-david-salesforce Jun 11, 2025
bf9becf
Merge pull request #974 from salesforcecli/t/packaging-distribution/W…
dawson-david-salesforce Jun 12, 2025
3147864
refactor: cahnged folder name for proper command
dawson-david-salesforce Jun 13, 2025
74a16a0
docs: renamed bundles -> bundle
dawson-david-salesforce Jun 13, 2025
0617b51
Merge pull request #976 from salesforcecli/t/packaging-distribution/W…
dawson-david-salesforce Jun 13, 2025
17592a6
feat: created bundle version create
dawson-david-salesforce Jun 18, 2025
6dfa18c
style: renamed bundle message file for consistency
dawson-david-salesforce Jun 19, 2025
87b5502
style: added Bundle to list class
dawson-david-salesforce Jun 20, 2025
366694b
Merge pull request #983 from salesforcecli/t/packaging-distribution/W…
dawson-david-salesforce Jun 20, 2025
da05b38
feat: added package version list
dawson-david-salesforce Jun 23, 2025
667ecc9
fix: removed N/A injection from plugin
dawson-david-salesforce Jun 23, 2025
b01ef19
fix: removed force alias
dawson-david-salesforce Jun 23, 2025
21892c4
fix: generated new schemas
dawson-david-salesforce Jun 23, 2025
0535646
Merge pull request #988 from salesforcecli/t/packaging-distribution/W…
dawson-david-salesforce Jun 23, 2025
721b2d0
feat: non tested implementation of package bundle version report
dawson-david-salesforce Jun 24, 2025
17ee964
feat: created package bundle version report
dawson-david-salesforce Jun 25, 2025
efddd73
style: use getcomponent Packges now, reverted changes made in non bun…
dawson-david-salesforce Jun 25, 2025
c414fae
feat: bare bones package bundle delete
dawson-david-salesforce Jun 27, 2025
cd07918
Merge pull request #990 from salesforcecli/t/packaging-distribution/W…
dawson-david-salesforce Jun 27, 2025
55df236
feat: created package bundle delete
dawson-david-salesforce Jun 30, 2025
51e4187
fix: removed undelete
dawson-david-salesforce Jun 30, 2025
f46d1ca
fix: deleted message from wrong file
dawson-david-salesforce Jun 30, 2025
7ab088b
Merge branch 'packagingDistribution/packageBundles' into t/packaging-…
dawson-david-salesforce Jul 2, 2025
0c7ecaa
Merge pull request #995 from salesforcecli/t/packaging-distribution/W…
dawson-david-salesforce Jul 2, 2025
38f6500
feat: created pakcage bundle install command
dawson-david-salesforce Jul 2, 2025
15ec4ab
Merge branch 'packagingDistribution/packageBundles' into t/packaging-…
dawson-david-salesforce Jul 7, 2025
34c7e5a
Update list.ts
dawson-david-salesforce Jul 7, 2025
79b3d27
Update report.ts
dawson-david-salesforce Jul 7, 2025
414302d
Merge pull request #997 from salesforcecli/t/packaging-distribution/W…
dawson-david-salesforce Jul 7, 2025
69f1a38
fix: hide bundles and state beta
dawson-david-salesforce Jul 11, 2025
42774b3
Merge pull request #1002 from salesforcecli/t/packaging-distribution/…
dawson-david-salesforce Jul 14, 2025
fb6447d
fix: should now pass through errors
dawson-david-salesforce Jul 31, 2025
e62a5ef
fix: allows for devhub id for bundle install
dawson-david-salesforce Jul 31, 2025
9b706aa
fix: devhub is now handled as a string
dawson-david-salesforce Jul 31, 2025
da560c7
feat: version ovveride
dawson-david-salesforce Jul 31, 2025
fa1f5d7
fix: fixed up test that relied on Unkonw error
dawson-david-salesforce Jul 31, 2025
6b4e89a
fix: allos for all orgs not just devhub install list report
dawson-david-salesforce Jul 31, 2025
8f69046
fix: to the test for using org flag
dawson-david-salesforce Jul 31, 2025
8d8b525
fix: changed wording on bundle version report
dawson-david-salesforce Aug 1, 2025
cd5ada7
Merge pull request #1019 from salesforcecli/t/packaging-distribution/…
dawson-david-salesforce Aug 4, 2025
e45cf41
chore: bump to latest version dependencies
btrn11 Sep 4, 2025
e1e08f9
chore: bump to latest version dependencies
btrn11 Sep 4, 2025
31158e6
chore: bump to latest version dependencies
btrn11 Sep 4, 2025
be8337f
chore: merge main, resolve conflicts
WillieRuemmele Sep 4, 2025
7bc7894
chore: bump dev-scripts, fix headers
WillieRuemmele Sep 5, 2025
850b4da
chore: fix windows test
btrn11 Sep 5, 2025
8a97c78
Merge branch 'main' into packagingDistribution/packageBundles
btrn11 Sep 8, 2025
a36c691
fix: address comments
btrn11 Sep 8, 2025
e17a15d
chore: remove redundant aliases
btrn11 Sep 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 124 additions & 5 deletions command-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,126 @@
"flags": ["api-version", "flags-dir", "json", "loglevel", "package-id", "target-org"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:create",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["d", "n", "v"],
"flags": ["api-version", "description", "flags-dir", "json", "loglevel", "name", "target-dev-hub"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:delete",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["b", "n", "v"],
"flags": ["api-version", "bundle", "flags-dir", "json", "loglevel", "no-prompt", "target-dev-hub"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:install",
"flagAliases": ["apiversion", "targetdevhubusername", "targetusername", "u"],
"flagChars": ["b", "o", "v", "w"],
"flags": [
"api-version",
"bundle",
"flags-dir",
"json",
"loglevel",
"target-dev-hub",
"target-org",
"verbose",
"wait"
],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:install:list",
"flagAliases": ["apiversion", "targetusername", "u"],
"flagChars": ["c", "o", "s"],
"flags": ["api-version", "created-last-days", "flags-dir", "json", "loglevel", "status", "target-org", "verbose"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:install:report",
"flagAliases": ["apiversion", "targetusername", "u"],
"flagChars": ["i", "o"],
"flags": ["api-version", "flags-dir", "json", "loglevel", "package-install-request-id", "target-org", "verbose"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:list",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["v"],
"flags": ["api-version", "flags-dir", "json", "loglevel", "target-dev-hub", "verbose"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:version:create",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["b", "d", "n", "p", "v", "w"],
"flags": [
"api-version",
"bundle",
"definition-file",
"description",
"flags-dir",
"json",
"loglevel",
"target-dev-hub",
"verbose",
"version-number",
"wait"
],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:version:create:list",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["c", "s", "v"],
"flags": [
"api-version",
"created-last-days",
"flags-dir",
"json",
"loglevel",
"show-conversions-only",
"status",
"target-dev-hub",
"verbose"
],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:version:create:report",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["i", "v"],
"flags": ["api-version", "bundle-version-create-request-id", "flags-dir", "json", "loglevel", "target-dev-hub"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:version:list",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["v"],
"flags": ["api-version", "flags-dir", "json", "loglevel", "target-dev-hub", "verbose"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": [],
"command": "package:bundle:version:report",
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
"flagChars": ["b", "v"],
"flags": ["api-version", "bundle-version", "flags-dir", "json", "loglevel", "target-dev-hub", "verbose"],
"plugin": "@salesforce/plugin-packaging"
},
{
"alias": ["force:package:convert"],
"command": "package:convert",
Expand All @@ -66,13 +186,13 @@
"installationkeybypass",
"patchversion",
"target-hub-org",
"targetdevhubusername",
"codecoverage"
"targetdevhubusername"
],
"flagChars": ["a", "f", "k", "m", "p", "s", "v", "w", "x", "c"],
"flagChars": ["a", "c", "f", "k", "m", "p", "s", "v", "w", "x"],
"flags": [
"api-version",
"build-instance",
"code-coverage",
"definition-file",
"flags-dir",
"installation-key",
Expand All @@ -84,8 +204,7 @@
"seed-metadata",
"target-dev-hub",
"verbose",
"wait",
"code-coverage"
"wait"
],
"plugin": "@salesforce/plugin-packaging"
},
Expand Down
42 changes: 42 additions & 0 deletions messages/bundle_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# summary

Create a package bundle in the Dev Hub org.

# description

A package bundle is an artifact that contains one or more 2GP managed packages.
A bundle can be listed on AppExchange, installed, or upgraded as a single artifact.

# examples

Create a package bundle in the Dev Hub org; uses the Dev Hub org with the username devhub@example.com:

sf package bundle create --name "Your bundle name" --description "Your bundle description" --target-dev-hub devhub@example.com

# flags.name.summary

Name of the package bundle.

# flags.description.summary

Description of the package bundle.

# flags.wait.summary

Number of minutes to wait for the bundle creation to complete.

# flags.verbose.summary

Display extended bundle creation detail.

# requestInProgress

Creating bundle.

# bundleCreateWaitingStatus

%d minutes remaining until timeout. Create bundle status: %s

# bundleCreateFinalStatus

Create bundle status: %s
58 changes: 58 additions & 0 deletions messages/bundle_install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# summary

Install a package bundle version in the target org.

# description

Install a specific version of a package bundle in the target org. During developer preview, bundles can be installed only in scratch orgs.

# examples

Install a package bundle version in a scratch org:

sf package bundle install --bundle MyPkgBundle1@0.1 --target-org my-scratch-org --wait 10

# flags.bundle.summary

Package bundle version to install (format: BundleName@Version).

# flags.target-org.summary

Target org for the bundle installation.

# flags.target-dev-hub.summary

Username, alias, or org ID of the target dev hub org.

# flags.wait.summary

Number of minutes to wait for the installation to complete.

# flags.verbose.summary

Display extended installation detail.

# requestInProgress

Installing bundle.

# bundleInstallWaitingStatus

%d minutes remaining until timeout. Install status: %s

# bundleInstallFinalStatus

Install status: %s

# bundleInstallSuccess

Successfully installed bundle [%s]

# bundleInstallError

Encountered errors installing the bundle! %s

# bundleInstallInProgress

Bundle installation is currently %s. You can continue to query the status using
sf package bundle install:report -i %s -o %s
69 changes: 69 additions & 0 deletions messages/bundle_install_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# summary

List package bundle installation requests.

# description

Shows the details of each request to install a package bundle version in the target org.

All filter parameters are applied using the AND logical operator (not OR).

To get information about a specific request, run "<%= config.bin %> package bundle install report" and supply the request ID.

# flags.status.summary

Status of the installation request, used to filter the list.

# flags.verbose.summary

Displays additional information at a slight performance cost, such as validation text for each package bundle install request.

# flags.created-last-days.summary

Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.

# examples

- List all package bundle installation requests in your default Dev Hub org:

<%= config.bin %> <%= command.id %>

- List package bundle installation requests from the last 3 days in the Dev Hub org with username devhub@example.com:

<%= config.bin %> <%= command.id %> --created-last-days 3 --target-dev-hub

- List package bundle installation requests with status Error:

<%= config.bin %> <%= command.id %> --status Error

- List package bundle installation requests with status Queued:

<%= config.bin %> <%= command.id %> --status Queued

- List package bundle installation requests with status Success that were created today:

<%= config.bin %> <%= command.id %> --created-last-days 0 --status Success

# id

ID

# status

Status

# package-bundle-version-id

Package Bundle Version ID

# development-organization

Development Organization

# created-by

Created By

# validation-error

Validation Error
53 changes: 53 additions & 0 deletions messages/bundle_install_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# summary

Report on the status of a package bundle installation request.

# description

Use this command to check the status of a package bundle installation request. The command returns information about the request, including its current status and details about the package bundle version being installed.

# examples

- Report on a package bundle installation request:

<%= config.bin %> <%= command.id %> --package-install-request-id 0Ho0x0000000000000

- Report on a package bundle installation request using an alias:

<%= config.bin %> force:package:bundle:install:report -i 0Ho0x0000000000000

# flags.package-install-request-id.summary

The ID of the package bundle installation request to report on.

# id

ID

# status

Status

# package-bundle-version-id

Package Bundle Version ID

# development-organization

Development Organization

# validation-error

Validation Error

# created-date

Created Date

# created-by

Created By

# flags.verbose.summary

Show verbose output.
Loading
Loading