nimble
nimble copied to clipboard
Support multiple Nimble dirs
This PR closes issue #956. It is more complex than PR #965 (--destDir) but hypothetically solves wider range of use cases.
Important: only the main Nimble dir can be modified, the others are read-only (this is necessary for packaging in Linux distributions).
Some regressions:
-
uninstall --inclDepscan no longer be used with--nimbleDir- use--excludeNimbleDirto leave only one Nimble dir (workaround applied in test suite) -
assert result.metaData.vcsRevision == notSetSha1Hashremoved because it no longer works for some reason
Some edge cases are probably not covered.
Should I remove --excludeNimbleDir option and do the following instead: add options.config.nimbleDir only if there are no other Nimble dirs?