~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
2 years ago
Updated
9 months ago
Labels
enhancement

~emersion referenced this from #12 2 years ago

~emersion 2 years ago

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

~emersion 2 years ago

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

~xenrox 11 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 9 months ago

owner is processed everywhere now as well.

Register here or Log in to comment, or comment via email.