docs icon indicating copy to clipboard operation
docs copied to clipboard

[improvement] provide a sample / walkthrough how to create a poor man's sources mirror

Open kambala-decapitator opened this issue 9 months ago • 1 comments

I have a computer that can't access internet from terminal, hence it can't download source package(s). I found a page in docs describing how to use custom server to provide sources and wanted to try it with localhost.

From the docs it's unclear which file structure is expected, but fortunately web server logs gave insight on required file names'. But the last bit was missing: the contents of the JSON file. I managed to find it in source code: the smallest valid content is

{"references": {}, "timestamp": <timestamp>}

I think it'd be very useful to provide a small description of the webserver file/directory structure as well as an example of JSON file.

kambala-decapitator avatar May 15 '25 16:05 kambala-decapitator

Thanks for the suggestion @kambala-decapitator

Yes, it makes sense to try to extend a bit more the docs with these details.

memsharded avatar May 16 '25 16:05 memsharded