Sometimes, an upstream defines certain submodule(s) using relative urls (in this case, qtdeclarative). Therefore, during upstreamcache.promote(), when fetching submodules in final path, that submodule's url would resolve relative to the staging directory instead of relative to the original remote url.
For these upstreams, staging must be disabled, hence we provide an option to skip the step of cloning to staging path and instead clone directly into final path.
Fixes #80. Depends on serpent-os/libmoss#18.
Sometimes, an upstream defines certain submodule(s) using relative urls (in this case,
qtdeclarative
). Therefore, duringupstreamcache.promote()
, when fetching submodules in final path, that submodule's url would resolve relative to the staging directory instead of relative to the original remote url.For these upstreams, staging must be disabled, hence we provide an option to skip the step of cloning to staging path and instead clone directly into final path.