Commit Graph

2879 Commits

Author SHA1 Message Date
Avital Oliver
b4d0bb593b Tweak message asking users to remove old iOS SDKs 2014-10-02 23:43:43 -07:00
Justin SB
83743846d9 Fix omitted self qualifier 2014-10-02 23:03:43 -07:00
Justin SB
beafe491c4 Warn if old iOS SDKs installed 2014-10-02 22:57:45 -07:00
Justin SB
98b507ca5b Don't check exit code for checking if xcode license agreed 2014-10-02 22:48:03 -07:00
Justin SB
e4b0cd4910 Fix more typos; rename agreedXcodeLicense -> hasAgreedXcodeLicense 2014-10-02 22:45:50 -07:00
Justin SB
13353132ec Intel HAXM license doesn't require that the user explictly agree to it; we can put it in LICENSE.txt 2014-10-02 22:42:47 -07:00
Justin SB
ef46eeb1be Send y when installing android target, a few text tweaks 2014-10-02 22:30:04 -07:00
Justin SB
6b417cc493 Move more functionality out of ensure_android_bundle.sh 2014-10-02 22:23:22 -07:00
Justin SB
84c1866768 Launch appstore instead of error-prone xcode install
We have to launch in the browser, but it is still better..
2014-10-02 21:54:54 -07:00
Justin SB
36cde0a160 Fix some typos & a capitalization 2014-10-02 21:29:39 -07:00
Justin SB
6a031c1daf Merge branch 'android_faster' into devel
Conflicts:
	tools/commands-cordova.js
2014-10-02 21:09:53 -07:00
Justin SB
afad6e0e43 Work on ios --getready 2014-10-02 21:08:57 -07:00
ekatek
eda7709316 fix forgottenECVs and reduce refresh rate
Two things:
 - to determine if two versions are compatible, we need to know their ECVs. (earliest
compatible versions). If the version that we have is local, then we don't have access to the
version record of the server version, so we can't figure out its ECV. That's why in the olden
days, there was a hack to store ECVs separately ('forgotten ECVs'). The new catalog didn't
have that function implemented -- it might not need it, but in that case, it would need to make
changes to the constraint solver that might be risky at this point. In any case, implementing this
function in the new world is pretty easy and solves the problem for now.

- when we look for things, we look in the local catalog, then the server catalog and if the server
catalog can't find it, it will refresh. However, sometimes, we are looking for something that the
server catalog cannot POSSIBLY have (ie: it has a build ID). That's fine, actually, but it causes
an extra refresh on the server catalog that we don't need. I put in a break to make sure that, if we
know for a fact that the server catalog does not have a version record (ie: it has a build id), we don't
bother looking in it and just return null to begin with. That should help.
2014-10-02 17:46:57 -07:00
ekatek
d3880241f5 fixing error message, we do not allow 0 wrap numbers 2014-10-02 17:34:53 -07:00
ekatek
7d77456509 fix the error message in package source 2014-10-02 17:31:03 -07:00
Sashko Stubailo
3641e48eb6 Update package skel to include package name and omit "METEOR@" 2014-10-02 17:24:22 -07:00
Sashko Stubailo
83a8c10a0a Fix typo 2014-10-02 16:49:31 -07:00
Sashko Stubailo
81b963d729 Edit mobile-config.js documentation 2014-10-02 16:47:02 -07:00
Sashko Stubailo
c98e6d8afb Merge branch '0.9.4-pre.2' into devel
Conflicts:
	History.md
	packages/meteor-tool/package.js
	packages/minimongo/package.js
	packages/package-version-parser/package.js
	scripts/admin/banners.json
	scripts/admin/meteor-release-experimental.json
2014-10-02 16:04:13 -07:00
Justin SB
f1fb54e5ed Capitalize a "building package" message 2014-10-02 15:53:29 -07:00
Justin SB
1abc78c6fe Merge branch 'cordova-datadir' into devel
Fixes for mobile HCP; save to datadir
2014-10-02 15:23:16 -07:00
Slava Kim
f24904b66c Save HCP files into the dataDirectory from cordova.file plugin.
Rather than relying onto manual path manipulations.
2014-10-02 02:18:12 -07:00
Slava Kim
55621b5a85 Print the ios-device warning after the tool checked that every platfrom is added 2014-10-02 00:43:42 -07:00
Sashko Stubailo
d30ee0a69e Fix backcompat for isopack.json, try releasing again 2014-10-01 20:08:43 -07:00
Justin SB
e7dd646da5 Don't make process, rename to processes 2014-10-01 18:42:27 -07:00
Justin SB
21adbca461 Check the AVD exists, create if not, launch using android-launch 2014-10-01 18:33:43 -07:00
Justin SB
7866e9386f Add todo to create AVD 2014-10-01 18:33:43 -07:00
Slava Kim
fb56aec96f AppId-dependant HCP 2014-10-01 18:33:43 -07:00
Slava Kim
423e2c212b Fix actually using the new config.xml in the new mobile build flow 2014-10-01 18:33:43 -07:00
Slava Kim
0e5150cd74 Fix building for mobile targets w/o a mobile control file 2014-10-01 18:33:43 -07:00
Slava Kim
29f2682fe0 Whitespace 2014-10-01 18:33:43 -07:00
Emily Stark
3b86a3c7a3 Work around fstream weirdnesses.
Before this fix, we were producing tarballs that npm 'tar' couldn't
untar if the first file inside the top-level directory was not
writeable. (Which was indeed the case since the unipackage -> isopack
change, which resulted in isopack.json being the first file in built
package tarballs.) See comment for more explanation.
2014-10-01 18:33:43 -07:00
Slava Kim
c1a567d7c5 Pass the appId to the application process in an env variable
Since it is passed only in the development mode it can be used for nifty things
like distinguishing mobile apps by a tuple of (id, server-url)
2014-10-01 18:33:43 -07:00
David Greenspan
42bdfde8ca Publish versioned dependencies of core packages
When publishing a core package, you’re allowed to omit version numbers in package.js.  With this change, we determine the correct versions of all the dependent packages based on the current checkout, and we send them to troposphere (instead of core packages having “null” constraints on their dependencies).

We throw an error if you have any missing version constraints on your package dependencies and you are not using versionsFrom or publishing a core package from a checkout.

We’ve already fixed this (no constraints on core package deps) retroactively in troposphere.

It speeds up the constraint solver by orders of magnitude when publishing a package.
2014-10-01 17:11:18 -07:00
ekatek
f65da4a940 don't forget to write the format for old-style unipackage.json 2014-10-01 17:06:19 -07:00
David Greenspan
eb83087046 Publish versioned dependencies of core packages
When publishing a core package, you’re allowed to omit version numbers in package.js.  With this change, we determine the correct versions of all the dependent packages based on the current checkout, and we send them to troposphere (instead of core packages having “null” constraints on their dependencies).

We throw an error if you have any missing version constraints on your package dependencies and you are not using versionsFrom or publishing a core package from a checkout.

We’ve already fixed this (no constraints on core package deps) retroactively in troposphere.

It speeds up the constraint solver by orders of magnitude when publishing a package.
2014-10-01 17:02:37 -07:00
Emily Stark
5e02e2dade Work around fstream weirdnesses.
Before this fix, we were producing tarballs that npm 'tar' couldn't
untar if the first file inside the top-level directory was not
writeable. (Which was indeed the case since the unipackage -> isopack
change, which resulted in isopack.json being the first file in built
package tarballs.) See comment for more explanation.
2014-10-01 15:19:19 -07:00
Justin SB
90a24c9bd8 Check for meteor avd 2014-10-01 15:18:38 -07:00
Sashko Stubailo
47800298c6 Merge branch '0.9.3.1' into 0.9.4-pre.2
Conflicts:
	History.md
	packages/meteor-tool/package.js
	packages/package-version-parser/package.js
	scripts/admin/banners.json
	scripts/admin/meteor-release-experimental.json
2014-10-01 15:18:10 -07:00
Slava Kim
92e5c48567 AppId-dependant HCP 2014-10-01 14:48:18 -07:00
Slava Kim
800f9df98a Fix actually using the new config.xml in the new mobile build flow 2014-10-01 14:48:18 -07:00
Slava Kim
0f795ed973 Fix building for mobile targets w/o a mobile control file 2014-10-01 14:48:18 -07:00
Slava Kim
4279394d3e Whitespace 2014-10-01 14:48:18 -07:00
Justin SB
6be55e61bf Creating android --getready command 2014-10-01 14:42:30 -07:00
Emily Stark
074d08c8af Work around fstream weirdnesses.
Before this fix, we were producing tarballs that npm 'tar' couldn't
untar if the first file inside the top-level directory was not
writeable. (Which was indeed the case since the unipackage -> isopack
change, which resulted in isopack.json being the first file in built
package tarballs.) See comment for more explanation.
2014-10-01 13:51:55 -07:00
Justin SB
3c1a2fe9ca Split out android prereqs from android bundle installation 2014-10-01 12:18:04 -07:00
Slava Kim
cb9e38a7e6 Pass the appId to the application process in an env variable
Since it is passed only in the development mode it can be used for nifty things
like distinguishing mobile apps by a tuple of (id, server-url)
2014-10-01 12:07:11 -07:00
Slava Kim
47a46ae9ff Parse files extensions other than png 2014-10-01 10:51:12 -07:00
Slava Kim
0d0b2c02d5 In the absence of the mobile control file it should be treated as an empty file 2014-10-01 10:42:44 -07:00
Slava Kim
81565b1a6f Be better at ignoring debug output on Android 2014-09-30 22:28:30 -07:00