-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
developmentStandard developmentStandard developmentr&d:polykey:core activity 3Peer to Peer Federated HierarchyPeer to Peer Federated Hierarchytechnology
Description
Specification
The identities search command was properly implemented in #320, however, it was left incomplete with only the ability to search across connected identities. The intended usage of the identities search command is as follows:
Usage: polykey identities search [options] [searchTerms...]
Searches a Provider for any Connected Identities
Arguments:
searchTerms Search parameters to apply to connected identities
Options:
-pi, --provider-id [providerId...] Digital identity provider(s) to search on
-ii, --identity-id [identityId] Name of the digital identity to search for
-d, --disconnected Include disconnected identities in search
-l, --limit [number] Limit the number of search results to display to a specific number
However, attempting to use the --disconnected flag will currently result in the ErrorProviderUnimplemented error being thrown, since we have no way of searching across disconnected identities. Like searching across connected identities, the definition of 'disconnected identities' is provider-specific. Since we currently only support GitHub as a provider, this issue only needs to define disconnected identities (and the implementation for searching across them) for GitHub.
Additional context
- Examples of possible implementations: Growing the Gestalt Graph and Implementing Social Discovery #320 (comment)
- Discussion of
identities searchcommand usage: Growing the Gestalt Graph and Implementing Social Discovery #320 (comment)
Tasks
- Modify the
Providerinterface to add a method for searching across disconnected identities - Implement searching across disconnected identities for the GitHub provider
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard developmentr&d:polykey:core activity 3Peer to Peer Federated HierarchyPeer to Peer Federated Hierarchytechnology