Skip to content

Conversation

@yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Jun 20, 2021

Motivation:
listCollections has optional identifiers that if specified, only those collections are supposed to be fetched. However, the current implementation always fetches all configured collections because the logic for determining "missing" collections is flawed.

Modification:
Fix logic such that listCollections returns all or a subset of collections depending on identifiers param.

Motivation:
`listCollections` has optional `identifiers` that if specified, only those collections are supposed to be fetched. However, the current implementation always fetches all configured collections because the logic for determining "missing" collections is flawed.

Modification:
Fix logic such that `listCollections` returns all or a subset of collections depending on `identifiers` param.
@yim-lee
Copy link
Contributor Author

yim-lee commented Jun 20, 2021

@swift-ci please smoke test

@tomerd
Copy link
Contributor

tomerd commented Jun 21, 2021

@swift-ci please smoke test

@yim-lee
Copy link
Contributor Author

yim-lee commented Jun 21, 2021

@swift-ci please smoke test

@yim-lee yim-lee merged commit 75de97b into swiftlang:main Jun 21, 2021
yim-lee added a commit to yim-lee/swift-package-manager that referenced this pull request Jun 21, 2021
…ns (swiftlang#3565)

Motivation:
`listCollections` has optional `identifiers` that if specified, only those collections are supposed to be fetched. However, the current implementation always fetches all configured collections because the logic for determining "missing" collections is flawed.

Modification:
Fix logic such that `listCollections` returns all or a subset of collections depending on `identifiers` param.
@yim-lee yim-lee deleted the fix-list-subset branch June 21, 2021 21:20
yim-lee added a commit that referenced this pull request Jun 22, 2021
…ns (#3565) (#3568)

Motivation:
`listCollections` has optional `identifiers` that if specified, only those collections are supposed to be fetched. However, the current implementation always fetches all configured collections because the logic for determining "missing" collections is flawed.

Modification:
Fix logic such that `listCollections` returns all or a subset of collections depending on `identifiers` param.
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.

3 participants