From 18a8b05214e804249112cd71cd3076b29c5ad512 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 21 Sep 2018 19:23:08 +0300 Subject: [PATCH] Rename "fixed" to "detached" for LDF --- docs | 2 +- platformio/managers/package.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs b/docs index a85f7c4b..d03e8619 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit a85f7c4b79f2045046de69f495930479217bdcc3 +Subproject commit d03e86194024700a89212fc6dce5d83e24a8bc4f diff --git a/platformio/managers/package.py b/platformio/managers/package.py index 33f40f6e..a5cf0647 100644 --- a/platformio/managers/package.py +++ b/platformio/managers/package.py @@ -628,7 +628,7 @@ class BasePkgManager(PkgRepoMixin, PkgInstallerMixin): def outdated(self, pkg_dir, requirements=None): """ Has 3 different results: - `None` - unknown package, VCS is fixed to commit + `None` - unknown package, VCS is detached to commit `False` - package is up-to-date `String` - a found latest version """ @@ -636,7 +636,7 @@ class BasePkgManager(PkgRepoMixin, PkgInstallerMixin): return None latest = None manifest = self.load_manifest(pkg_dir) - # skip fixed package to a specific version + # skip detached package to a specific version if "@" in pkg_dir and "__src_url" not in manifest and not requirements: return None @@ -814,7 +814,7 @@ class BasePkgManager(PkgRepoMixin, PkgInstallerMixin): elif latest is False: click.echo("[%s]" % (click.style("Up-to-date", fg="green"))) else: - click.echo("[%s]" % (click.style("Fixed", fg="yellow"))) + click.echo("[%s]" % (click.style("Detached", fg="yellow"))) if only_check or not latest: return True