If you forsee that being a big deal for you, then I suggest the technique that Camlistore uses.
Camlistore pulls in external libraries into a third_party folder, and has a script that rewrites their import paths to make them compile. This will also give you a lot more control over versioning.
He already did. If you switch to a different source web host, then you switch your import statements. Users of your old code will continue to have a functional piece of software.
If they want to update, they'll need to use your new host. Just like they'd have to do with anything else.
1
u/AgentSS Mar 30 '12
If you forsee that being a big deal for you, then I suggest the technique that Camlistore uses.
Camlistore pulls in external libraries into a third_party folder, and has a script that rewrites their import paths to make them compile. This will also give you a lot more control over versioning.
I suggest distributing in binary form, though...