I tried to use savannah.nongnu.org as a git host, via "alr publish". However, it failed with:
Publishing assistant: step 1 of 6: Verify origin URL
error: Could not complete the publishing assistant:
error: The origin must be a definitive remote location, but is [email protected]:/srv/git/ada-mode.git. (This error can be overridden with --force.)
I'm guessing the problem is the "stephen_leake@" in the origin, which uses ssh access. I assume alr requires anonymous access. This should be stated in https://github.com/alire-project/alire/blob/master/doc/publishing.md, and "alr publish" should take an --origin option to override this.
Hmm. Perhaps that's what "alr publish URL commit" is for; if so, this should be mentioned explicitly in publish.md. So I tried "alr publish https://git.savannah.nongnu.org:/git/ada-mode.git cd3b7d60eb4f71c294603e8bccead8ef4efb6b63"; that is the anonymous git access URL for savannah. That complained:
Publishing assistant: step 1 of 6: Verify origin URL
✓ Origin is of supported kind: GIT
error: Could not complete the publishing assistant:
error: Origin is hosted on unknown site: git.savannah.nongnu.org:
"alr publish --trusted-sites" lists "savannah.nongnu.org", without the "git.". So either the trusted site list needs to be changed, or the trusted site check logic needs to allow subdomains.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too