Skip to content

[5.9] Add author to collection package release metadata #6412

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

Merged

Conversation

yim-lee
Copy link
Contributor

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

Cherry pick #6408 to 5.9

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 added the swift 5.9 This PR targets the 5.9 branch label Apr 11, 2023
@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 smoke test macOS

@yim-lee yim-lee merged commit 57096c3 into swiftlang:release/5.9 Apr 12, 2023
@yim-lee yim-lee deleted the collection-version-author-5.9 branch April 12, 2023 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swift 5.9 This PR targets the 5.9 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants