serpent-os / boulder-d-legacy

Replaced by Rust tooling
https://serpentos.com
21 stars 7 forks source link

boulder/upstreamcache: make using staging dir optional for Git sources #81

Closed GZGavinZhao closed 1 year ago

GZGavinZhao commented 1 year ago

Fixes #80. Depends on serpent-os/libmoss#18.

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.

ikeycode commented 1 year ago

Awesome!