I want to use GitHub as a paclet server, but this fails:
PacletInstall[
"ServiceConnection_StackExchange",
"Site" -> "https:/github.com/paclets/Repository"
]
PacletSiteUpdate::err: An error occurred attempting to update paclet information from site https:/github.com/b3m2a1/PacletServer. Does not appear to be a valid paclet site
PacletInstall::notavail: No paclet named ServiceConnection_StackExchange is available for download from any currently enabled paclet sites.
$Failed
Is there a work around?
See also: How to distribute Mathematica packages as paclets? and this answer
PacletSiteRegisterand/orPacletSiteUpdateto access private GitHub repos? – István Zachar Apr 08 '21 at 13:01PacletInstallto do so, e.g. write aPrivatePacletInstallthat can forward auth details toURLFetchwhen it’s called – b3m2a1 Apr 08 '21 at 17:06PrivatePacletInstalldefinition with the authetntication token. Not very convenient. – István Zachar Apr 08 '21 at 17:23PublicPacletInstallfunction that could be loaded from a URL and used to install any paclet on the server. Ain’t perfect but it’ll get you where you need to be while you wait for WRI. – b3m2a1 Apr 08 '21 at 17:26