Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add author to collection package release metadata #6408

Merged
merged 1 commit into from Apr 11, 2023

Conversation

yim-lee
Copy link
Member

@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
Member 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
Copy link
Member Author

yim-lee commented Apr 11, 2023

@swift-ci please smoke test

@yim-lee
Copy link
Member Author

yim-lee commented Apr 11, 2023

@swift-ci please test Windows platform

@yim-lee
Copy link
Member Author

yim-lee commented Apr 11, 2023

@swift-ci please smoke test macOS

@yim-lee yim-lee merged commit 1ecefa7 into apple:main Apr 11, 2023
4 checks passed
@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.

apple#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.

apple#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.

apple#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.

None yet

2 participants