Skip to content

Instantly share code, notes, and snippets.

@tru

tru/-

Created June 21, 2016 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tru/08c8a0047f4f5e6d7dbd6d4f00d09f25 to your computer and use it in GitHub Desktop.
Save tru/08c8a0047f4f5e6d7dbd6d4f00d09f25 to your computer and use it in GitHub Desktop.
diff --git a/conans/client/printer.py b/conans/client/printer.py
index a321e4a..e66d007 100644
--- a/conans/client/printer.py
+++ b/conans/client/printer.py
@@ -56,6 +56,18 @@ class Printer(object):
return True
return False
+ for level in deps_graph.propagate_info():
+ for node in level:
+ conanref, conanfile = node
+ if not conanref: continue
+ update = graph_updates_info.get(conanref)
+ if update == -1:
+ self._out.writeln("B:" + str(conanref))
+ else:
+ self._out.writeln("N:" + str(conanref))
+
+ return
+
graph_updates_info = graph_updates_info or {}
for node in sorted(deps_graph.nodes):
ref, conan = node
diff --git a/conans/client/proxy.py b/conans/client/proxy.py
index 3f592d9..b152a30 100644
--- a/conans/client/proxy.py
+++ b/conans/client/proxy.py
@@ -138,6 +138,8 @@ class ConanProxy(object):
upstream_manifest = self.get_conan_digest(conan_reference)
if upstream_manifest.file_sums != read_manifest.file_sums:
return 1 if upstream_manifest.time > read_manifest.time else -1
+ except NotFoundException:
+ return -1
except ConanException:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment