Allow --repo '~emersion/hut'
and --repo 'sr.ht/~emersion/hut'
.
We should also accept
--repo https://git.sr.ht/~emersion/hut
.
Instance is now taken into account, owner is still a TODO.
There are only a few cases left where owner handling is not implemented yet. Most of them - if not all - are for resolvers that simply do not work for anyone besides the owner. One such case is hut lists acl list.
We could use a function like
aclByOwner
and try to retrieve them in case that ever gets supported (with regards to organizations) and let the API error out for now. Or we save that API call for now and simply golog.Fatal("acl list not supported for mailing lists that do not belong to the authenticated user")
.
owner
is processed everywhere now as well.