Skip to content

#385: Refactor id/lookup command using exclusively /wot/lookup

Moul requested to merge 385_id_display_non_member_uids into dev
  • Display non-member uids when passing a pubkey
  • Use same algorithm as choose_identity() uses
    • Will display multiple time the pubkey and the differents uids if there is multiple uids linked to this pubkey
  • The uids were already in /wot/lookup/
  • Remove identity_of() call which can only get member uids
  • Rename pubkey(s) to lookup(s)
  • When passing a uid, use /wot/lookup/ instead of identity_of() which only gets member uids
  • Rename variable, rename command description
  • Use f-string, use one click.echo() call
  • Rename id command to lookup:
    • Makes more sense and the identity cmd is about to be created

Will be cherry-pick to 0.9 branch and released if v0.9.0 in no additional rc is required.

Close #385 (closed).

Edited by Moul

Merge request reports