Commit Graph

11 Commits

Author SHA1 Message Date
filipenevola
abddb68913 Updates npm-shrinkwrap.json
Adds a message when done getting the dev bundle on Windows
2021-01-05 14:08:47 -04:00
Alexander Sterk
952d7ec778 Surround $devbundle_zip with quotes in Windows 7zip command. (#10980)
Fixes #10979.
2020-03-31 12:21:08 -04:00
Jesse Rosenberger
0dac129770 Introduce os.windows.x86_64 architecture for 64-bit Windows.
This commit reverts much of the work @hwillson had put in place for
meteor/meteor#9173, which made it possible for 32-bit and 64-bit
Mongo versions to exist in harmony within the same dev-bundle.  That
hard work was not in vein though as it offered invaluable research.
Ultimately, this showed that a more aggressive approach would be ideal,
even if the proposed option would have worked great in the short-term.

In the wake of the news that Mongo would no longer be supporting 32-bit
versions, these changes are important so 32-bit users of Meteor can
continue to have a functioning Mongo binary in development, while still
allowing Meteor to ship newer Mongo (e.g. 3.4+) binaries for 64-bit
users.  This is particularly relevant for Windows users, who have
previously only had 32-bit Meteor builds and represented a majority of
"32-bit" development, despite the fact most of their hosts supported
64-bit.  During another time in Meteor's life, this made sense.

This commit takes improved functionality to the next level (and makes
the aforementioned changes obsolete) by introducing support for building
and shipping Meteor for Windows in a 64-bit flavor (in addition to
32-bit), which will hopefully solve a number of performance matters on
Windows by using binaries which are pre-compiled for 64-bit, rather than
forcing the Windows kernel to deal with 32-bit binaries.  While Windows
has shown it's quite capable of dealing with such a situation, it seems
more and more clear (given improvements in underlying dependencies) that
performance gains could be had by freeing Windows of its 32-bit work.

This commit also further perpetuates the "archinfo" plot-line with more
story (about Windows) and various spelling corrections.
2017-10-14 13:36:29 -04:00
Jesse Rosenberger
ab111e7800 Detect dev_bundle download errors and fail appropriately on Windows.
This is in an attempt to resolve a situation which could occur when the
extraction of the dev_bundle.tar fails with an EOF error, but the tool
continues as if the file was fine.  Ultimately the, error preference
set in the PS1 script is only observed in the case of PowerShell
ErrorLevel and not just an error condition encountered in a command.
2017-03-30 16:12:19 +03:00
Jesse Rosenberger
9d7cf49511 Support SAVE_DEV_BUNDLE_TARBALL caching on Windows dev_bundle install
The SAVE_DEV_BUNDLE_TARBALL environment variable is already supported in the Unix version and this mimics that functionality in the Windows script.  Use of this flag makes debugging much less painful, especially when switching branches (for example, during a `git bisect`) as the dev_bundle can be cached locally.

I also replaced a couple un-related uses of `echo` with `Write-Host` which is the preferred way to output messages in PowerShell as it supports more options.

Fixes: developer experience
2016-11-03 13:19:36 -04:00
Avital Oliver
178f337882 Remove echo mistakenly left in code 2015-03-24 20:35:11 -07:00
Avital Oliver
c03972b7ca Allow using test dev bundles on Windows
This duplicates logic we had for Mac/Linux that lets you
set a USE_TEST_DEV_BUNDLE_SERVER environment variable
to try running a newly built dev bundle before publishing
it.
2015-03-24 20:28:03 -07:00
Slava Kim
8c4925519a /s/dev_bundle/dependency kit in user-facing text on Windows 2015-02-05 16:56:22 -08:00
Slava Kim
b1b303d1c7 Hide the verbose output from 7zip 2015-01-29 12:18:36 -08:00
Slava Kim
400f4a11ee Don't extract files logging every path with 7zip 2015-01-29 11:48:13 -08:00
Slava Kim
3ca6ea08dd Automatically download the dev bundle if such is not present on Windows 2015-01-20 22:06:58 -08:00