Iāve been poking around this project this morning, threw a bunch of repos onto my host and then started looking at retargeting the imports.
At this point the main problem I have in getting this to work is a normal URL with a minimum TLD and domain name, eg: radicle.rad/hostID/path/to/thing
First problem Iām hitting is there is not any documentation about the proxy that radicle-upstream runs. I can curl it and get this:
loki@yoga13:~$ curl 127.0.0.1:17246
{āmessageā:āResource not foundā,āvariantā:āNOT_FOUNDā}
Iām pretty sure this is radicleās web host.
The issue is that the git helper works ok as it understands the protocol prefix and redirects, but in order to support Go modules it has to look like a normal URL, for which I figured on using /etc/hosts - which is how my work runs their private gitlab instance.
Iām just not sure how to go about getting this to work, or even, Iām not even sure anyone is actually hosting anything on the network yet since I donāt see (at first look) any signs of integrations with build systems CVS fetching methods.
Iāve not got much of a clue beyond this - as from this point to the desired solution, the situation is identical whether the files are hosted on IPFS or radicle, they will work as through the http(s) transport of Git and then redirect.
Iām not 100% sure, but Iām thinking that maybe the radicle proxy could be modified to expect a domain name created in /etc/hosts and then function as normal from that point. So git would āresolveā the domain and the proxy would be listening on the right port for that name. Presumably some kind of 127.x.x.x address as distinct from 127.0.0.1
Any clues how to make this happen much appreciated ![]()