Commit Graph

68 Commits

Author SHA1 Message Date
Matthew Arbesfeld
75427d70ce Merge branch 'devel' into cordova-hcp
Conflicts:
	docs/client/docs.js
	examples/leaderboard/.meteor/versions
	meteor
	packages/backbone/package.js
	packages/constraint-solver/package.js
	packages/meetup/package.js
	packages/meteor-tool/package.js
	packages/showdown/package.js
	packages/stylus/package.js
	scripts/admin/meteor-release-experimental.json
	tools/commands-packages.js
	tools/commands.js
	tools/project.js
	tools/tests/old/app-with-private/.meteor/versions
	tools/tests/old/app-with-public/.meteor/versions
	tools/tests/old/empty-app/.meteor/versions
2014-08-27 13:38:57 -07:00
Slava Kim
beb5b95312 Run adb logcat -c asynchronously
so we can print out errors and timeout the operation. Should help in case of
having more than 1 device or emulator open or having an emulator from a wrong
enviornment being open and confusing the user.
2014-08-25 15:40:52 -07:00
David Glasser
e36c4184ab fix old bundler test failure 2014-08-21 17:46:51 -07:00
David Glasser
5d5d1876da De-dup package name/constraint parsing code
Now we can all any of them from even before uniload is ready in the tool

I <3 symlinks
2014-08-21 17:00:21 -07:00
David Glasser
5bc415c51a Improve package name/version parsing errors
We now throw more specific errors, consistent between both tools and
package-version-parser (copy-and-pasted code, sadly, but we really do
have to make this check before uniload-from-checkout).
2014-08-21 16:21:12 -07:00
ekatek
c89ff1fa25 check to make sure package names don't start with a dot 2014-08-21 13:49:36 -07:00
Matthew Arbesfeld
df38c100a9 Merge branch 'release-0.9.0' into cordova-hcp
Conflicts:
	tools/commands-packages.js
	tools/utils.js
2014-08-20 20:57:24 -07:00
David Glasser
0bc445e8d2 Make slow operations more bearable with Patience
Introduces a "Patience" class which lets CPU-bound operations like the
constraint solver yield every so often, and print messages if an
operation (CPU-bound or not) are taken or not.
2014-08-20 15:49:58 -07:00
Matthew Arbesfeld
88ed2422a6 Add --verbose command for 'run and 'test-packages' 2014-08-20 01:23:38 -07:00
Matthew Arbesfeld
66e8f13ea9 Merge branch 'devel' into cordova-hcp
Conflicts:
	meteor
2014-08-13 17:37:05 -07:00
Slava Kim
0abd01b7ee Check for options hash 2014-08-13 17:16:19 -07:00
Slava Kim
9e44f25cf5 Download android_bundle only on actual Android use 2014-08-13 17:15:25 -07:00
David Glasser
4ac78a3646 Move DEFAULT_TRACK to catalog module
It's a constant, so no need to have to think "hmm, I wonder if I should
be writing catalog.official.DEFAULT_TRACK or
catalog.complete.DEFAULT_TRACK?"
2014-08-13 15:39:03 -07:00
Slava Kim
8f30d7779d Extract the android_bundle download logic into a separate code.
+ Refactor parts of async/sync child process calls
2014-08-11 22:53:08 -07:00
Matthew Arbesfeld
289abce37b Remove prefix option from execFileAsync 2014-08-11 19:25:19 -07:00
Matthew Arbesfeld
25b4db225e Add iOS logging 2014-08-11 19:23:34 -07:00
Matthew Arbesfeld
0c062381ee Logging for Android 2014-08-11 18:05:39 -07:00
Sashko Stubailo
f481e66ff1 Merge branch 'bundle-android' into cordova-hcp
Conflicts:
	tools/commands.js
	tools/utils.js
2014-08-11 11:04:25 -07:00
Slava Kim
85a1233a87 Better error messages around adding platforms/plugins 2014-08-08 15:03:52 -07:00
Slava Kim
5d1970dd9d Refactor running emulators for mobile targets and reuse it in test-packages 2014-08-07 16:52:32 -07:00
Sashko Stubailo
522bcd81f6 Merge branch 'devel' into bundle-android
Conflicts:
	tools/utils.js
2014-08-07 11:32:07 -07:00
Matthew Arbesfeld
9f2ee36e60 Merge branch 'packaging' into cordova-hcp
Conflicts:
	packages/constraint-solver/constraint-solver-tests.js
	packages/constraint-solver/constraint-solver.js
	packages/less/plugin/compile-less.js
	packages/meteor/plugin/basic-file-types.js
	packages/star-translate/translator.js
	packages/stylus/plugin/compile-stylus.js
	packages/templating/plugin/compile-templates.js
	packages/webapp/webapp_server.js
	tools/bundler.js
	tools/commands.js
	tools/compiler.js
	tools/package-source.js
	tools/run-app.js
	tools/selftest.js
	tools/tests/old/test-bundler-assets.js
	tools/tests/old/test-bundler-options.js
	tools/unipackage.js
2014-08-06 13:43:56 -07:00
Matthew Arbesfeld
5059a5655d Add run commands 2014-08-06 12:08:48 -07:00
David Glasser
cee6d7401e fix orderKey regexp 2014-07-31 14:12:21 -07:00
David Glasser
26006d53dc Merge branch 'devel' into packaging
Conflicts:
	tools/utils.js
2014-07-30 17:40:44 -07:00
Justin SB
706fc7ebe7 Allow TIMEOUT_SCALE_FACTOR env variable to scale up timeouts for self-test
Particularly for automated tests, where we may run on a slow machine, we need
an escape valve to let us boost the timeouts.  This also allows for a 'tolerant'
test (scale factor 2+?) and a 'strict' test (scale factor 0.5?) etc
2014-07-30 14:37:18 -07:00
Matthew Arbesfeld
72c3df7c89 Only accept exact version of Cordova plugins in packages. 2014-07-23 11:13:15 -07:00
Slava Kim
f278422835 Extract isUrlWithSha to utils
npm and cordova plugins code use it
2014-07-22 13:57:37 -07:00
David Glasser
f52c975de1 Less greedy algorithm for choosing builds
The previous algorithm had the problem that if you had builds

  A = browser+os.linux.x86_64
  B = browser+os.osx.x86_64

available and came in looking for "something that satisfies 'browser'
and 'os.osx.x86_64'", Meteor would happily say:

   "Neato-keen!  'A' satisfies 'browser'.  And 'B' satisfies
    'os.osx.x86_64'!  Hey, that's all I needed!  Let's download
     both 'A' and 'B'!  Hooray!"

when choosing just 'B' would have been good enough.
2014-06-20 18:12:40 -07:00
David Glasser
2e5adc2659 fix autoupdate test
also fixes a bunch of other stuff like:

- parseStack markTop works again (so you get the right line numbers in
  self-test)

- you can (with appropriate env var) run apps with NO PACKAGES at
  all (even ctl)

- more consistently refer to METEOR-CORE@ releases as "Meteor 1.2.3"
2014-06-17 14:26:29 -07:00
David Glasser
286023adfe move getLines from utils to files 2014-06-10 18:09:56 -07:00
David Glasser
a1b3014e36 Implement upgraders and notices
They are the same!
2014-06-10 18:08:50 -07:00
ekatek
ab839d4520 merging changelog changes 2014-06-10 16:57:06 -07:00
ekatek
831967dd60 cleanup of merge 2014-05-28 16:10:29 -07:00
ekatek
5ebbbdbc63 merging packaging into uvf 2014-05-28 13:26:48 -07:00
ekatek
c02ebfbd48 moving isDirectory to utils 2014-05-25 21:10:17 -07:00
ekatek
f70099c992 apps run tests do not 2014-05-21 17:41:18 -07:00
ekatek
6f3504a2d3 project refactoring, wip 1 2014-05-21 15:42:12 -07:00
David Glasser
8bdcdbc518 maybe background symlink update works
however, bundling is brokenish

due to buildTimeDeps when building apps not being release-sensitive

(ekate understands what I mean)
2014-05-20 18:58:15 -07:00
David Glasser
943d00646f dedup package parsing code 2014-05-20 10:50:53 -07:00
David Glasser
5710fe876c closer to having meteor update work 2014-05-19 21:12:32 -07:00
David Glasser
52e74df7b1 Default orderKey algorithm 2014-05-19 16:10:23 -07:00
David Glasser
35bad76bc5 'meteor admin make-bootstrap-tarballs'
other changes:

- defaultReleaseVersion is not synced using 'collections' any more,
  since it is a singleton and has different merge logic
- publish-release --fromCheckout renamed to --from-checkout
- $METEOR_SAVE_TMPDIRS env var to not delete files.mkdtemp stuff
- release.latestDownloaded() now comes from tropohouse

we recognized that the cross-linking stuff in
Tropohouse.maybeDownloadPackageForArchitectures doesn't quite work so we
changed it to not quite work in a different way (which allows us to
leave downloaded-builds out of the bootstrap tarball and decrease its
size by 50%).  will fix later.
2014-05-14 11:40:43 -07:00
David Glasser
e4000c6808 Merge branch 'devel' into packaging
Conflicts (around utils.quotemeta):
	tools/packages.js
	tools/utils.js
2014-05-12 17:06:11 -07:00
ekatek
0b98b86164 constraint solver interface changes 2014-05-09 17:11:34 -07:00
ekatek
2eac771902 change rebuild-all to rebuild and allow to rebuild singular packages; enforce lowercase package names; cleanup 2014-05-04 16:59:15 -07:00
David Glasser
e0fcd2c2ed update regexp for new version of npm
also, use quotemeta where necessary
2014-04-30 18:03:54 -07:00
ekatek
8a96a1c25a removing test slices; renaming slices to builds 2014-04-07 15:25:30 -07:00
ekatek
2a833a224d Revert "hax"
This reverts commit 5f4b44316d.
2014-03-30 00:54:50 -07:00
ekatek
5f4b44316d hax 2014-03-28 11:12:35 -07:00