~emersion/hut#11: 
git: allow specifying instance and owner in --repo

Allow --repo '~emersion/hut' and --repo 'sr.ht/~emersion/hut'.

Status
RESOLVED CLOSED
Submitter
~emersion
Assigned to
No-one
Submitted
3 years ago
Updated
1 year, 6 months ago
Labels
enhancement

~emersion referenced this from #12 3 years ago

~emersion 3 years ago

We should also accept --repo https://git.sr.ht/~emersion/hut.

~emersion 3 years ago

Instance is now taken into account, owner is still a TODO.

~xenrox 1 year, 9 months ago*

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 go log.Fatal("acl list not supported for mailing lists that do not belong to the authenticated user").

~xenrox REPORTED CLOSED 1 year, 6 months ago

owner is processed everywhere now as well.