mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Show progress bar when downloading a release prior to springboarding
This commit is contained in:
@@ -349,6 +349,9 @@ var springboard = function (rel, releaseOverride) {
|
||||
|
||||
// XXX split better
|
||||
try {
|
||||
Console.setPretty(true);
|
||||
Console.enableProgressBar(true);
|
||||
|
||||
var messages = buildmessage.capture({
|
||||
title: "Downloading tools package " + toolsPkg + "@" + toolsVersion
|
||||
}, function () {
|
||||
@@ -359,6 +362,9 @@ var springboard = function (rel, releaseOverride) {
|
||||
definitelyNotLocal: true
|
||||
});
|
||||
});
|
||||
|
||||
Console.setPretty(false);
|
||||
Console.enableProgressBar(false);
|
||||
} catch (err) {
|
||||
// We have failed to download the tool that we are supposed to springboard
|
||||
// to! That's bad. Let's exit.
|
||||
|
||||
@@ -155,7 +155,7 @@ _.extend(exports.Tropohouse.prototype, {
|
||||
|
||||
var url = buildRecord.build.url;
|
||||
|
||||
var progress = buildmessage.addChildTracker("Download build");
|
||||
var progress = buildmessage.addChildTracker("Downloading build");
|
||||
try {
|
||||
buildmessage.capture({}, function () {
|
||||
var packageTarball = httpHelpers.getUrl({
|
||||
@@ -253,7 +253,7 @@ _.extend(exports.Tropohouse.prototype, {
|
||||
}
|
||||
|
||||
buildmessage.enterJob({
|
||||
title: " downloading " + packageName + " at version " + version + " ...",
|
||||
title: " Installing " + packageName + "@" + version + "..."
|
||||
}, function() {
|
||||
var buildTempDirs = [];
|
||||
// If there's already a package in the tropohouse, start with it.
|
||||
|
||||
Reference in New Issue
Block a user