Skip to content

Commit 7ab088b

Browse files
Merge branch 'packagingDistribution/packageBundles' into t/packaging-distribution/W-18909971/Package-Bundle-Delete
2 parents f46d1ca + cd07918 commit 7ab088b

14 files changed

Lines changed: 681 additions & 16 deletions

command-snapshot.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"plugin": "@salesforce/plugin-packaging"
5757
},
5858
{
59-
"alias": ["force:package:bundle:create"],
59+
"alias": [],
6060
"command": "package:bundle:create",
6161
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
6262
"flagChars": ["d", "n", "v"],
@@ -72,15 +72,15 @@
7272
"plugin": "@salesforce/plugin-packaging"
7373
},
7474
{
75-
"alias": ["force:package:bundle:list"],
75+
"alias": [],
7676
"command": "package:bundle:list",
7777
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
7878
"flagChars": ["v"],
7979
"flags": ["api-version", "flags-dir", "json", "loglevel", "target-dev-hub", "verbose"],
8080
"plugin": "@salesforce/plugin-packaging"
8181
},
8282
{
83-
"alias": ["force:package:bundle:version:create"],
83+
"alias": [],
8484
"command": "package:bundle:version:create",
8585
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
8686
"flagChars": ["b", "d", "p", "v", "w"],
@@ -99,7 +99,7 @@
9999
"plugin": "@salesforce/plugin-packaging"
100100
},
101101
{
102-
"alias": ["force:package:bundle:version:create:list"],
102+
"alias": [],
103103
"command": "package:bundle:version:create:list",
104104
"flagAliases": ["apiversion", "createdlastdays", "target-hub-org", "targetdevhubusername"],
105105
"flagChars": ["c", "s", "v"],
@@ -132,6 +132,14 @@
132132
"flags": ["api-version", "flags-dir", "json", "loglevel", "target-dev-hub", "verbose"],
133133
"plugin": "@salesforce/plugin-packaging"
134134
},
135+
{
136+
"alias": [],
137+
"command": "package:bundle:version:report",
138+
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
139+
"flagChars": ["p", "v"],
140+
"flags": ["api-version", "bundle-version", "flags-dir", "json", "loglevel", "target-dev-hub", "verbose"],
141+
"plugin": "@salesforce/plugin-packaging"
142+
},
135143
{
136144
"alias": ["force:package:convert"],
137145
"command": "package:convert",

messages/bundle_version_list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ List all package bundle versions in the Dev Hub org.
44

55
# examples
66

7-
List all package bundle versions in the specified Dev Hub org; uses the Dev Hub org with the username devhub@example.com:
7+
List package bundle versions in the Dev Hub org with the username devhub@example.com:
88

9-
sf package bundle version list --target-dev-hub <dev_hub_alias>
9+
sf package bundle version list --bundle “Your bundle name or ID” --target-dev-hub devhub@example.com
1010

1111
# namespace
1212

messages/bundle_version_report.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# summary
2+
3+
Retrieve details about a package bundle version in the Dev Hub org.
4+
5+
# examples
6+
7+
Retrieve details about the package bundle version; uses the Dev Hub org with the username devhub@example.com:
8+
9+
sf package bundle version report --bundle-version "Your bundle version name or ID" --target-dev-hub devhub@example.com
10+
11+
# flags.bundle-version.summary
12+
13+
ID of the package bundle version to retrieve details for.
14+
15+
# flags.verbose.summary
16+
17+
Display extended package bundle version details.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$ref": "#/definitions/BundleSObjects.BundleVersion",
4+
"definitions": {
5+
"BundleSObjects.BundleVersion": {
6+
"type": "object",
7+
"properties": {
8+
"Id": {
9+
"type": "string"
10+
},
11+
"PackageBundle": {
12+
"$ref": "#/definitions/BundleSObjects.Bundle"
13+
},
14+
"VersionName": {
15+
"type": "string"
16+
},
17+
"MajorVersion": {
18+
"type": "string"
19+
},
20+
"MinorVersion": {
21+
"type": "string"
22+
},
23+
"Ancestor": {
24+
"anyOf": [
25+
{
26+
"$ref": "#/definitions/BundleSObjects.BundleVersion"
27+
},
28+
{
29+
"type": "null"
30+
}
31+
]
32+
},
33+
"IsReleased": {
34+
"type": "boolean"
35+
},
36+
"CreatedDate": {
37+
"type": "string"
38+
},
39+
"CreatedById": {
40+
"type": "string"
41+
},
42+
"LastModifiedDate": {
43+
"type": "string"
44+
},
45+
"LastModifiedById": {
46+
"type": "string"
47+
}
48+
},
49+
"required": [
50+
"Id",
51+
"PackageBundle",
52+
"VersionName",
53+
"MajorVersion",
54+
"MinorVersion",
55+
"IsReleased",
56+
"CreatedDate",
57+
"CreatedById",
58+
"LastModifiedDate",
59+
"LastModifiedById"
60+
],
61+
"additionalProperties": false
62+
},
63+
"BundleSObjects.Bundle": {
64+
"type": "object",
65+
"properties": {
66+
"BundleName": {
67+
"type": "string"
68+
},
69+
"Description": {
70+
"type": "string"
71+
},
72+
"Id": {
73+
"type": "string"
74+
},
75+
"IsDeleted": {
76+
"type": "boolean"
77+
},
78+
"CreatedDate": {
79+
"type": "string"
80+
},
81+
"CreatedById": {
82+
"type": "string"
83+
},
84+
"LastModifiedDate": {
85+
"type": "string"
86+
},
87+
"LastModifiedById": {
88+
"type": "string"
89+
},
90+
"SystemModstamp": {
91+
"type": "string"
92+
}
93+
},
94+
"required": [
95+
"BundleName",
96+
"Id",
97+
"IsDeleted",
98+
"CreatedDate",
99+
"CreatedById",
100+
"LastModifiedDate",
101+
"LastModifiedById",
102+
"SystemModstamp"
103+
],
104+
"additionalProperties": false
105+
}
106+
}
107+
}

src/commands/package/bundle/create.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export class PackageBundlesCreate extends SfCommand<BundleCreate> {
1818
public static readonly summary = messages.getMessage('summary');
1919
public static readonly description = messages.getMessage('description');
2020
public static readonly examples = messages.getMessages('examples');
21-
public static readonly aliases = ['force:package:bundle:create'];
2221
public static readonly requiresProject = true;
2322
public static readonly flags = {
2423
loglevel,

src/commands/package/bundle/list.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ export type BundleListCommandResults = BundleListCommandResult[];
2222
export class BundleListCommand extends SfCommand<BundleListCommandResults> {
2323
public static readonly summary = messages.getMessage('summary');
2424
public static readonly examples = messages.getMessages('examples');
25-
public static readonly deprecateAliases = true;
26-
public static readonly aliases = ['force:package:bundle:list'];
2725
public static readonly flags = {
2826
loglevel,
2927
'target-dev-hub': requiredHubFlag,

src/commands/package/bundle/version/create.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export class PackageBundlesCreate extends SfCommand<BundleSObjects.PackageBundle
2525
public static readonly summary = messages.getMessage('summary');
2626
public static readonly description = messages.getMessage('description');
2727
public static readonly examples = messages.getMessages('examples');
28-
public static readonly aliases = ['force:package:bundle:version:create'];
2928
public static readonly requiresProject = true;
3029
public static readonly flags = {
3130
loglevel,

src/commands/package/bundle/version/create/list.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export class PackageBundleVersionCreateListCommand extends SfCommand<PackageBund
2626
public static readonly summary = messages.getMessage('summary');
2727
public static readonly description = messages.getMessage('description');
2828
public static readonly examples = messages.getMessages('examples');
29-
public static readonly deprecateAliases = true;
30-
public static readonly aliases = ['force:package:bundle:version:create:list'];
3129
public static readonly flags = {
3230
loglevel,
3331
'target-dev-hub': requiredHubFlag,

0 commit comments

Comments
 (0)