Hello,
I’m about to create a package for getopt[1], which is hosted on
sr.ht. For this, the import path looks like git.sr.ht/~sircmpwn/getopt
(note the tilde before the username). Using the GitHub username in
package names is straightforward (as stated in [2]), but this tilde
might cause problems.
However, given that all usernames on Sourcehut begins with a tilde, i
guess the correct package name here would be on of these:
- golang-sourcehut-sircmpwn-getopt
- golang-srht-sircmpwn-getopt
Am i correct assuming this?
Also, which one should i use? Based on the service name it should be
“sourcehut”, but based on the service’s domain it should be “srht”.
Best,
Gergely
[1]
https://git.sr.ht/~sircmpwn/getopt
[2]
https://docs.fedoraproject.org/en-US/packaging-guidelines/Golang/#_naming