Commit Graph

2925 Commits

Author SHA1 Message Date
Avital Oliver
8fdb40c58b tools/run-all-tests.sh now also tests a fake installed version of meteor 2013-03-19 15:11:07 -07:00
Avital Oliver
d730b9f658 tools/run-all-tests.sh and some related clarifications 2013-03-19 15:11:06 -07:00
David Glasser
3be4c74ac9 Return a better error if downloading the bootstrap tarball fails. 2013-03-19 15:11:06 -07:00
Avital Oliver
c9e8dbd0ac randomize temporary package directory when populating warehouse 2013-03-19 15:11:06 -07:00
Avital Oliver
51212a3129 Changes from glasser's code review 2013-03-19 15:11:06 -07:00
Avital Oliver
abd8ad7c50 Reorg lib/, including introducing warehouse.js
Also:
- Rename cache directory to .meteor
- Rename .meteor/version to .meteor/release
- Change how we tell whether we're in an app directory (motivated by our new .meteor directory)
- Use files.get_core_dir instead of relative paths
2013-03-19 15:11:06 -07:00
David Glasser
9245b9692a Don't strip on Mac. 2013-03-19 15:11:06 -07:00
David Glasser
a60dfc1684 strip our binaries
on linux, building the packages did this but we're not doing this any more.

i got the linux line from 'dh_strip' and the mac line from 'man strip'
2013-03-19 15:11:06 -07:00
David Glasser
dea41c3e01 - install to /usr/local/bin/meteor
- chmod 755 not 775
2013-03-19 15:11:06 -07:00
David Glasser
7344ba52d8 indentation 2013-03-19 15:11:06 -07:00
David Glasser
8158acfe37 install.meteor.com script generator 2013-03-19 15:11:06 -07:00
David Glasser
452f71d7cf Script to be installed in /usr/bin 2013-03-19 15:11:06 -07:00
Avital Oliver
e76e76dd66 build-engine-tarballs.sh 2013-03-19 15:11:06 -07:00
Avital Oliver
cb64708cae CURRENT_VERSION -> ENGINE_VERSION 2013-03-19 15:11:05 -07:00
Avital Oliver
2ee683ec68 80c 2013-03-19 15:11:05 -07:00
Avital Oliver
3543004d91 Changes from Naomi's code review 2013-03-19 15:11:05 -07:00
Avital Oliver
d50ccd2dbc add clarifying comment 2013-03-19 15:11:05 -07:00
Avital Oliver
afd5094468 Write .npm/README, and reformatted npm-shrinkwrap.json (due to new npm) 2013-03-19 15:11:05 -07:00
Avital Oliver
060d50a32a Make inFiber help pass arguments through. This fixes with_password in meteor deploy/logs/mongo. (originally d71e31b5b5) 2013-03-19 15:11:05 -07:00
Avital Oliver
e81a4fe934 simple logging when calling out to npm 2013-03-19 15:11:05 -07:00
David Glasser
575e194528 Script that generates an engine install tree. 2013-03-19 15:11:05 -07:00
David Glasser
7284ed009e Delete unused file (real one is at lib/fiber-helpers.js) 2013-03-19 15:11:05 -07:00
Avital Oliver
274e1dc921 Simple script to upload packages to packages.meteor.com 2013-03-19 15:11:05 -07:00
Avital Oliver
caadc55c80 Eliminate one last use of __meteor_bootstrap__.require 2013-03-19 15:11:05 -07:00
Avital Oliver
7a41a1ab4e move script into tools 2013-03-19 15:11:05 -07:00
Avital Oliver
185cd61447 meteor test-packages only looks in packages/ if run from a checkout
also, remove an annoying `console.log`, that will be superceded
by the upcoming updater work
2013-03-19 15:11:05 -07:00
Avital Oliver
b35d7ff03a minor text change 2013-03-19 15:11:05 -07:00
Avital Oliver
1c4970f36a Cleanup temporary .npm directories
These were left behind if you Cmd-C'd the running
meteor process
2013-03-19 15:11:04 -07:00
Avital Oliver
4e1d357f88 ping registry.npm.js.org to tell whether we can install npm dependencies 2013-03-19 15:11:04 -07:00
Avital Oliver
f31457a017 when installing npm dependencies, fail quickly if offline 2013-03-19 15:11:04 -07:00
Avital Oliver
49fccc593a minor improvement to cli-test.sh 2013-03-19 15:11:04 -07:00
Avital Oliver
5a0a4f5ab0 npm dependencies at bundle time
- package.js now has a top-level 'Npm.depends' directive
- both bundle-time and server run-time code can get access
  to any dependent npm module with 'Npm.require'
2013-03-19 15:11:04 -07:00
Avital Oliver
e89c907f7e newline at end of .npm/.gitignore files 2013-03-19 15:11:04 -07:00
Avital Oliver
6c33bd911c npm: call npm install name@version less
+ some reorg/cleanup
2013-03-19 15:11:04 -07:00
Avital Oliver
401e29083c npm: enable pinning subdependencies to github tarballs
also some minor reorg
2013-03-19 15:11:04 -07:00
Avital Oliver
65e8b86421 npm support: simplify and rename 2013-03-19 15:11:04 -07:00
Avital Oliver
19b8b32dc6 commit simpler .npm/npm-shinkwrap.json files 2013-03-19 15:11:04 -07:00
Avital Oliver
cda70deb6b npm support: comment improvements and simple npm-shrinkwrap.json files 2013-03-19 15:11:04 -07:00
Avital Oliver
5baac15fc0 Make npm bundling safe to be run in parallel
Instead of modifying the contents of the .npm directory
inside a package directory, construct a new temporary
directory and atomically replace at the end.

Also, some minor improvements to testing and pruning
unused packages
2013-03-19 15:11:04 -07:00
Avital Oliver
78ca755d3d Npm.require unified requireNpm and __meteor_bootstrap__.require 2013-03-19 15:11:04 -07:00
Nick Martin
5cde1226d0 Also symlink per-package node_modules into the build when running in symlink mode. 2013-03-19 15:11:03 -07:00
Avital Oliver
69d0632db8 Fix test_bundler_options.js 2013-03-19 15:11:03 -07:00
Avital Oliver
8998633f3c Move npm depdencies from dev bundle to packages 2013-03-19 15:11:03 -07:00
Avital Oliver
30c61be11c Upgrade to fibers 1.0.0 2013-03-19 15:11:03 -07:00
Avital Oliver
dceef1461c Minor changes from code review 2013-03-19 15:11:03 -07:00
Avital Oliver
5352db933a Implement a useNpm directive for packages 2013-03-19 15:11:03 -07:00
Avital Oliver
ecce7f00c6 meteor test-packages --verison ==> --release
also actually make it work. :/
2013-03-19 15:11:03 -07:00
Avital Oliver
9f4702a044 Load packages from PACKAGE_DIRS and CHECKOUT_DIR/packages
Some rehaul of tests for this purpose and general cleanup,
including re-enabling reloading app when packages change
2013-03-19 15:11:03 -07:00
Avital Oliver
9af19b3c10 Better URLS on packages.meteor.com 2013-03-19 15:11:03 -07:00
Avital Oliver
665f5ee9e4 fix typo 2013-03-19 15:11:03 -07:00