Skip to content

Conversation

@yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Apr 11, 2023

Motivation:
Package collection should have information about how a version was created. This includes the creator and timestamp.

  • "Who created the package version?": added in this PR
  • "When was the version created?": this is version's createdAt, which already exists.

rdar://106674475

Modifications:
Extract author from GitHub API's release data and make it available through package collection's Package model.

@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 11, 2023

@swift-ci please smoke test

Motivation:
Package collection should have information about how a version was created. This includes the creator and timestamp.
 - "Who created the package version?": added in this PR
 - "When was the version created?": this is version's `createdAt`, which already exists.

rdar://106674475

Modifications:
Extract `author` from GitHub API's release data and make it available through package collection's `Package` model.
@yim-lee yim-lee force-pushed the collection-version-author branch from 6a9010d to 4233ff3 Compare April 11, 2023 05:22
@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 11, 2023

@swift-ci please smoke test

@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 11, 2023

@swift-ci please test Windows platform

@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 11, 2023

@swift-ci please smoke test macOS

@yim-lee yim-lee merged commit 1ecefa7 into swiftlang:main Apr 11, 2023
@yim-lee yim-lee deleted the collection-version-author branch April 11, 2023 20:11
yim-lee added a commit to yim-lee/swift-package-manager that referenced this pull request Apr 11, 2023
Motivation:
Package collection should have information about how a version was created. This includes the creator and timestamp.
 - "Who created the package version?": added in this PR
 - "When was the version created?": this is version's `createdAt`, which already exists.

rdar://106674475

Modifications:
Extract `author` from GitHub API's release data and make it available through package collection's `Package` model.
yim-lee added a commit that referenced this pull request Apr 12, 2023
Motivation:
Package collection should have information about how a version was created. This includes the creator and timestamp.
 - "Who created the package version?": added in this PR
 - "When was the version created?": this is version's `createdAt`, which already exists.

rdar://106674475

Modifications:
Extract `author` from GitHub API's release data and make it available through package collection's `Package` model.
yim-lee added a commit to yim-lee/swift-package-manager that referenced this pull request Apr 12, 2023
Motivation:
Package collection should have information about how a version was created. This includes the creator and signer.

swiftlang#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
yim-lee added a commit to yim-lee/swift-package-manager that referenced this pull request Apr 12, 2023
Motivation:
Package collection should have information about how a version was created. This includes the creator and signer.

swiftlang#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
yim-lee added a commit to yim-lee/swift-package-manager that referenced this pull request Apr 12, 2023
Motivation:
Package collection should have information about how a version was created. This includes the creator and signer.

swiftlang#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
yim-lee added a commit that referenced this pull request Apr 12, 2023
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
yim-lee added a commit that referenced this pull request Apr 13, 2023
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants