-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3/4: Add hab install system and switch to using DistroFinder
- Add `hab install` command that resolves all distros required to resolve multiple URI's and then download and install any missing distros. - Distro resolving is now handled by `DistroFinder` or sub-class. - Site now has a downloads dictionary that configures how `hab install` can resolve remote distros for installing locally. - `Resolver.distro_mode_override` with context can be used to change `Resolver.distro`'s output to the `Site.downloads["distros"] used to find remote distros to install.
- Loading branch information
1 parent
e1922c5
commit 0a3376d
Showing
5 changed files
with
366 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
__all__ = ["__version__", "NotSet", "Resolver", "Site"] | ||
__all__ = ["__version__", "DistroMode", "NotSet", "Resolver", "Site"] | ||
|
||
from .utils import NotSet | ||
|
||
# Note: Future imports depend on NotSet so it must be imported first | ||
# isort: split | ||
|
||
from .resolver import Resolver | ||
from .resolver import DistroMode, Resolver | ||
from .site import Site | ||
from .version import version as __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.