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
This commit is contained in:
Justin SB
2014-10-29 10:10:19 -07:00
parent fb5ef8555e
commit d4acbd93d5

View File

@@ -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({