Closed crudh closed 7 years ago
This should be fairly simple:
local
and upstream
dirs.local
for the package dir, and if it exists or if the repo has no upstream then use it.upstream
.local
that will be used and upstream
will never be checked.This needs to be done for both package files and dist files.
Until we support publishing local packages we can add tests where simply creating a package dir in local
overrides upstream
and returns 404 if it contains no package files. And we can do a test where we put an older version in local
and make sure that that is used instead of the upstream
one.
Implementation done in branch separate-local-and-upstream
. But needs tests before merge.
In preparation for local publishing. This storage should override everything that is proxied from upstream. If we have that in place before we build the user handling and publishing it will be much simpler.