You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add author and signer to package collection models (#6418)
Motivation:
Package collection should have information about how a version was created. This includes the creator and signer.
#6408 added `author` populated using GitHub data, but we can allow package collection author to specify version creator as well.
rdar://106674475
Modifications:
- Add `author` and `signer` to package collection models
- Update `PackageSearchClient` to use more information from collection/index results
*`author`: The package version's author. **Optional.**
104
+
*`name`: The author of the package version.
105
+
*`signer`: The signer of the package version. **Optional.** Refer to [documentation](https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistryUsage.md#package-signing) on package signing for details.
106
+
*`type`: The signer type. Currently the only valid value is `ADP` (Apple Developer Program).
107
+
*`commonName`: The common name of the signing certificate's subject.
108
+
*`organizationalUnitName`: The organizational unit name of the signing certificate's subject.
109
+
*`organizationName`: The organization name of the signing certificate's subject.
103
110
*`createdAt`: The ISO 8601-formatted datetime string when the package version was created. **Optional.**
0 commit comments