On Thursday, August 16, 2018 at 8:20:10 PM UTC+2,
thepud...@gmail.com wrote:
Could you say a few more words about your use case?
Thank you. Looking at design docs, I think Athens can do what I'm looking for, but maybe it is a little "too much", and either docs are incomplete or I'm unable to find them (e.g.: how do I configure the proxy to tell where to find private modules?).
Let me explain my needs better.
I have developed a fairly big library I can't/don't want to publish. It could be mapped in several modules, maybe twenty.
There is no VCS, only a tree in my own file system.
Now, I want the programs I develop to became module based and use those private modules along with other public modules.
So my idea was: I put my modules as they where in non-existant
example.com.
Then, configure a proxy so that if host is
example.com it returns the local file. If it is from any other url, get the remote file (optionally using a proxy).
Is my idea correct? Has anyone already configured something like it?
Another solution could be to run a local webserver serving the files, then configure hosts file adding `127.0.0.1
example.com`, and configure a proxy exception.
But I though a more specific solution was available (like, in effect, Athens).
Thank you.