Commit Graph

1848 Commits

Author SHA1 Message Date
Ben Newman
d690906f7f Bump package versions for 1.6.1-beta.8 release. 2017-11-17 14:47:17 -05:00
Ben Newman
5bdf684525 Merge branch 'devel' into release-1.6.1 2017-11-17 14:34:11 -05:00
Ben Newman
4911b1e7f6 Bump package versions for 1.6.1-beta.7 release. 2017-11-14 14:24:18 -05:00
Ben Newman
944b8a1ab2 Bump package versions for 1.6.1-beta.6 release. 2017-11-14 13:45:58 -05:00
Ben Newman
eaf96699ad Merge branch 'devel' into release-1.6.1 2017-11-14 13:35:03 -05:00
Jesse Rosenberger
7117d30e0f Stop pre-installing phantomjs-prebuilt and browserstack-webdriver.
While this was necessary in previous versions of Meteor, as of 1.6 the
`self-test` tooling will automatically install the dependencies it needs
at runtime.

Not only does this allow the installation to be avoided when tests using
those facilities aren't invoked, it also allows us to reliably install
the same version of these npms, rather than falling back to the
`latest` npm tag on each CI run.
2017-11-14 16:52:34 +02:00
Jesse Rosenberger
854076c817 Remove the source of the deprecated Windows installer.
This code had been used to compile the previous generation of
the Windows installer, `InstallMeteor.exe`, however it has been
replaced with the `meteor` Chocolatey package.

Refs: https://github.com/meteor/meteor-chocolatey-installer.
2017-11-09 23:13:29 +02:00
Ben Newman
78700d772d Bump package versions for 1.6.1-beta.5 release. 2017-11-09 11:13:19 -05:00
Ben Newman
be094178a5 Merge branch 'devel' into release-1.6.1 2017-11-09 10:53:09 -05:00
Jesse Rosenberger
d7e660fff1 In AppVeyor testing, only run a single dynamic import test.
Currently, three 'dynamic import' tests exist in the self-test suite:

 * dynamic import(...) in development
 * dynamic import(...) in production
 * dynamic import(...) with cache

These tests take quite some time to run; each test takes ~5 minutes.

While it's great to test them in a faster environment (Unix), which
Meteor will continue to do, the overall value of the three separate
tests is not as great in a slower testing environment, like Windows.
2017-11-09 15:53:47 +02:00
Ben Newman
cc6b7fec23 Merge branch 'devel' into release-1.6.1 2017-11-08 15:03:22 -05:00
Jesse Rosenberger
958c44ff1b Move 'cordova-lib' back to CORDOVA_DEV_BUNDLE_VERSIONS for auto install.
While 'cordova-lib' used to live in 'dev-bundle-tool-package.js' where
it was pre-bundled into the "dev bundle", that is no longer the case.

It is now automatically installed, on demand, when Cordova is used.

This follows up on meteor/meteor#9213, which added it back to the
'dev-bundle-tool-package.js' and updates it in the new location.

Ref: https://github.com/meteor/meteor/pull/9213
Ref: 073f2410a6

cc @skirunman.
2017-11-08 21:53:37 +02:00
Ben Newman
e4cc95fec0 Bump package versions for 1.6.1-beta.4 release. 2017-11-08 14:44:23 -05:00
Ben Newman
1282bc77b1 Merge branch 'devel' into release-1.6.1 2017-11-08 14:43:36 -05:00
skirunman
073f2410a6 Cordova 7.1.0, Android 6.3.0 and iOS 4.5.3 updates (#9213)
* Update to Cordova 7.1.0 and Cordova Android 6.3.0

* Update deprecated Cordova plugins

* Update History.md for both Cordova updates and previous iOS icons and launch screens

* Update the PR #

* Remove change to History.md

This change is now in https://github.com/meteor/meteor/pull/9227

* Update to iOS 4.5.2

Update to new Cordova iOS 4.5.2 release. https://cordova.apache.org/announcements/2017/10/16/ios-release.html

* Update History.md for Cordova iOS 4.5.2.

* Update to Cordova iOS 4.5.3

Update to Cordova iOS 4.5.3, see https://cordova.apache.org/announcements/2017/10/31/ios-release.html

* Tweak history for update to Cordova iOS 4.5.3

* Update iOS launch screens 

Updating iOS launch screens to match what is supported in Cordova iOS 4.5.3 and remove latest iPad Pro sizes that are not supported in Xcode 9 and therefore not in Cordova iOS. See c3d24a9f02/bin/templates/scripts/cordova/lib/prepare.js
2017-11-08 18:14:12 +02:00
Ben Newman
ee04a36390 Bump package versions for 1.6.1-beta.3 release. 2017-11-07 21:57:08 -05:00
Ben Newman
3c575a62a8 Upgrade Node to version 8.9.1.
https://nodejs.org/en/blog/release/v8.9.1/
2017-11-07 18:36:33 -05:00
Ben Newman
99eb624168 Bump package versions for 1.6.1-beta.2 release. 2017-11-06 17:42:25 -05:00
Ben Newman
f91ff783b7 Bump package versions for 1.6.1-beta.1 release. 2017-10-31 15:38:31 -04:00
Ben Newman
c35f1f11ed Upgrade Node to version 8.9.0.
https://nodejs.org/en/blog/release/v8.9.0/
2017-10-31 14:59:56 -04:00
Ben Newman
8647e4647b Update npm to version 5.5.1.
I also took this opportunity to rebase our fork of the pacote package
against the latest upstream version (6.1.0).
2017-10-30 15:07:32 -04:00
Ben Newman
0bff81f0b4 Bump package versions for the official 1.6 release. 2017-10-27 13:00:43 -04:00
Ben Newman
b63ab27986 Bump package versions for 1.6-rc.18 release. 2017-10-26 11:37:15 -04:00
Ben Newman
4a2f0fb69a Upgrade Node to version 8.8.1.
https://nodejs.org/en/blog/release/v8.8.1/
2017-10-26 11:17:55 -04:00
Ben Newman
24c80da9ef Bump package versions for 1.6-rc.17 release. 2017-10-24 18:45:30 -04:00
Ben Newman
f1e87ddae4 Upgrade Node to version 8.8.0.
https://nodejs.org/en/blog/release/v8.8.0/
https://nodejs.org/en/blog/vulnerability/oct-2017-dos/
2017-10-24 18:25:39 -04:00
Jesse Rosenberger
7707029644 Throw an error when any external command fails during test preparation.
Even with $ErrorActionPreference, PowerShell won't automatically fail
when an external command fails with an error code.  This explicitly
checks those exit codes and throws an error when that occurs.

Hopefully prevents false successes like that shown in this AppVeyor
test run: https://goo.gl/xxRsF9.
2017-10-23 17:55:30 -07:00
Ben Newman
101a1bc0f6 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-23 18:57:47 -04:00
Ben Newman
d317c29319 Bump package versions for 1.6-rc.16 release. 2017-10-20 16:13:31 -04:00
Ben Newman
a49a8dc12f Update our fork of pacote to ensure gitOpts.cwd exists.
4e58fa55e2

cc @abernix
2017-10-19 10:18:02 -04:00
Ben Newman
6d528e334f Bump package versions for 1.6-rc.15 release. 2017-10-18 21:52:17 -04:00
Ben Newman
f9f7965587 Use a fork of pacote to work around Windows git.exe issues.
Should finally fix https://github.com/meteor/meteor/issues/9243.

Additional commits:
64ff47a875
f381754a0f

Previously: 3431b5b81f
2017-10-18 21:52:11 -04:00
Jesse Rosenberger
50276f2a82 Remove problematic Windows test, until it can be researched further.
Though it was thought to be reliable when running through 'self-test' on
Windows, it's yet to be seen how reliable.

The worst thing that could come of adding Windows testing would be that
we have test failures again after such a string of green checkmarks and
confidence.

Also, reordered.
2017-10-17 16:50:19 -04:00
Ben Newman
22930e876e Bump package versions for 1.6-rc.14 release. 2017-10-17 16:29:44 -04:00
Ben Newman
3f7b66a40d Link npm bin commands into dev_bundle\bin on Windows. 2017-10-17 15:10:39 -04:00
Ben Newman
d988137cee Update meteor-babel and babel-runtime to latest versions. 2017-10-17 14:13:02 -04:00
Jesse Rosenberger
2d8b1913c7 Basic Appveyor testing for Windows.
This implements a first generation of Windows CI testing.  Presently,
this only runs valuable, hand-picked tests which have been known to work
in the past, and whose failure would indicate a critical problem.

A test which isn't passing doesn't mean that the feature being tested is
not working. For example, the 'create' test fails ostentatiously,
though the 'meteor create' command certainly works in practice. This
points to problems some compatibility problems with the 'self-test'
harness itself, some of which I'm aware of.  Though, it likely will
highlight some legitimate problems which Windows users experience too.

There are a number of additional tests which should be enabled which
likely pass already, and many more which are failing and we should fix.

Additional tests can be added to the scripts/windows/appveyor/test.ps1
file as they've been deemed working.

Altogether, this will take extensive work to achieve the same level of
coverage our Unix test suite enjoy, but we've got to start somewhere!

cc @benjamn
2017-10-17 19:00:58 +03:00
Ben Newman
e2db34bdc5 Bump package versions for 1.6-rc.13 release. 2017-10-16 16:04:42 -04:00
Ben Newman
5a8c0f2743 Bump package versions for 1.6-rc.12 release. 2017-10-16 14:07:19 -04:00
Ben Newman
2777f5f6f7 Bump package versions for 1.6-rc.11 release. 2017-10-16 10:00:45 -04:00
Ben Newman
c476188cc6 Bump package versions for 1.6-rc.10 release. 2017-10-14 15:00:41 -04:00
Ben Newman
0de61e3bf5 Add dev_bundle\bin to $env.PATH when generating Windows dev bundle. 2017-10-14 14:23:00 -04:00
Jesse Rosenberger
2574388ff0 Remove unnecessary line-continuation backticks. 2017-10-14 13:37:20 -04:00
Jesse Rosenberger
66b3ecfa85 Cleanup and comment dev-bundle-lib.psm1. 2017-10-14 13:37:20 -04:00
Jesse Rosenberger
9b989e2ee2 Remove Add-ToExistingPath.
The Generate Dev Bundle process no longer requires any modifications
to the $PATH, preventing environmental artifacts which pile up when
running the script over and over again.
2017-10-14 13:37:20 -04:00
Jesse Rosenberger
5f29b9d2a9 Update number of expected tarballs on S3. 2017-10-14 13:37:20 -04:00
Jesse Rosenberger
4ca9362fb4 Avoid ConvertFrom-Json Cmd-let, unsupported in PowerShell 4.
I thought it was nifty to use this Cmd-let from PowerShell, to directly
parse the JSON output from Node's `process.release`, but as it turns
out, that wasn't supported by the version of PowerShell on our Jenkins
server.  Alas!
2017-10-14 13:37:20 -04:00
Jesse Rosenberger
c81c2fb2b8 Re-work Windows "Generate Dev Bundle" process.
This is a re-write of the generate-dev-bundle.ps1 script, which occurred
during debugging of an unrelated concern of the (new) 64-bit Windows
build on our Jenkins server.  Ultimately, I'm afraid this script doesn't
solve the problem I originally set out to fix, which was a Windows
long-file path concern.

The hunch behind that thinking was that the use of npm@1 to install
npm@5 could be causing problems, since npm@1 had no concept of nested
node_modules directories.  We had used npm@1 because Node.js
for Windows hasn't always offered (via nodejs.org/dist/) versions
including npm which we could use to install our own requirements.
Happily, that is no longer the case!

While this script now deals with long paths much more gracefully itself,
I'm not sure it completely quelled the long-path issue, and there are
still some directory trees which are longer than I think they should be.

The warnings I was seeing may not have harmed the actual bundle and were
more problematic for this build script itself when it tried to deal with
the aftermath of all those files, since native Windows commands struggle
to deal with long file paths (when cleaning up, etc.).

In the end, this script does have performance enhancements though! For
starters, it's nearly twice as fast at finishing.  Most of this was
gained by avoiding back-and-forth moving of large file structures,
opting instead to directly install into the targets when possible.

It also ensures that the npm build cache is not bundled, which started
occurring since our modification of the $HOME and $USERPROFILE variables
led npm@5 to think the npm cache was in the root of the bundle.

Additionally, it no longer modifies the $PATH, in any way, during the
build. This became particularly helpful during testing when I found that
PowerShell maintained that $PATH in the environment of the host shell.

I'd like to say it increases readability of the script, which had
become a bit of a patchwork quilt, but that's YTBD and YMMV.

This is my first "complete" PowerShell script myself so it probably
still leaves some things to desired, formatting wise.  Functionality-
wise, I hope it's improved.
2017-10-14 13:36:29 -04:00
Jesse Rosenberger
a890b22238 On Windows, point node-gyp to dev_bundle/include/node headers.
In the same spirit as 67b76abc78 on Unix.
2017-10-14 13:36:29 -04:00
Jesse Rosenberger
54669f0f0b Use Mongo 3.2.15 for 64-bit, for now.
The Windows 64-bit support is believed to be important enough to be
included in  Meteor 1.6 since it fixes Meteor 1.6 issues on Windows.

While the original reason for 64-bit may have been Mongo, we'll leave
this as the 3.2.15 (but 64-bit!) version for now.
2017-10-14 13:36:29 -04:00