From d4acbd93d5ea50e9dd60ceeb49c6df2bf96c82ba Mon Sep 17 00:00:00 2001 From: Justin SB Date: Wed, 29 Oct 2014 10:10:19 -0700 Subject: [PATCH] Rename "Downloading packages" to not be misleading Change this to "Checking local packages versions" to more accurately reflect what we're doing. Also add a few more debug statements so it is clearer when we are and aren't downloading new versions. Closes #2950 --- tools/tropohouse.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/tropohouse.js b/tools/tropohouse.js index 80a3644850..ce574cca32 100644 --- a/tools/tropohouse.js +++ b/tools/tropohouse.js @@ -236,9 +236,13 @@ _.extend(exports.Tropohouse.prototype, { // Have everything we need? Great. if (!archesToDownload.length) { + Console.debug("Local package version is up-to-date:", packageName + "@" + version); return; } + Console.debug("Downloading missing local versions of package", + packageName + "@" + version, ":", archesToDownload); + // Since we are downloading from the server (and we've already done the // local package check), we can use the official catalog here. (This is // important, since springboarding calls this function before the complete @@ -311,7 +315,7 @@ _.extend(exports.Tropohouse.prototype, { options = options || {}; var serverArch = options.serverArch || archinfo.host(); var downloadedPackages = {}; - buildmessage.forkJoin({ title: 'Downloading packages', parallel: true }, + buildmessage.forkJoin({ title: 'Checking local package versions', parallel: true }, versionMap, function (version, name) { try { self.maybeDownloadPackageForArchitectures({