iotile / iotile/coretools

Add ability to blacklist local dependencies in `iotile-build`

Open
#719 0 comments 0 reactions 0 assignees View on GitHub
class:self-contained iotile-build priority:medium
Dominant language
Python
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

For testing purposes, it can be useful to ensure that no local dependencies will be used when running

```
iotile depends update
```

This could be accomplished by having a boolean flag that blacklists the `ComponentRegistryResolver` in `DependencyManager.update()`:

https://github.com/iotile/coretools/blob/master/iotilebuild/iotile/build/dev/depmanager.py#L173

The use case is testing that a component (prior to releasing it) builds correctly when run using only released components and does not secretly rely on a locally installed development mode component.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.