Commit Graph

91 Commits

Author SHA1 Message Date
David Glasser
aa105b7c8a fix typo 2013-03-19 15:11:10 -07:00
David Glasser
f202c09a2e ensure some release 2013-03-19 15:11:10 -07:00
Avital Oliver
1eafa07ecd checkpoint 2013-03-19 15:11:10 -07:00
David Glasser
81db8fd5c0 latestRelease now goes based on a symlink, not semver 2013-03-19 15:11:10 -07:00
Avital Oliver
40717f1f20 Clarifications from Glasser's review 2013-03-19 15:11:10 -07:00
Avital Oliver
942b8d3880 Packages in apps 2013-03-19 15:11:10 -07:00
Avital Oliver
dfd837934e Improve error when package not found in PACKAGE_DIRS locally 2013-03-19 15:11:09 -07:00
David Glasser
a798fb25ab extend an XXX comment 2013-03-19 15:11:09 -07:00
Avital Oliver
794a05b7e6 Pass release into bundler in all cases 2013-03-19 15:11:09 -07:00
David Glasser
431ff65731 no more warehouses in checkouts 2013-03-19 15:11:09 -07:00
David Glasser
64976872e9 files.get*Current*EngineDir 2013-03-19 15:11:09 -07:00
David Glasser
a5dc7de519 - die if you use --release in a checkout
- don't run calculateReleaseVersion twice for test-packages
- DTRT for test-packages in a checkout
2013-03-19 15:11:09 -07:00
Avital Oliver
c6a4b63e98 Checkouts don't load releases, take 2 2013-03-19 15:11:09 -07:00
David Glasser
dcc44529ad don't use a release manifest in a checkout
[ ... whiteboard task to look into this further ...]
2013-03-19 15:11:09 -07:00
David Glasser
fcaac0a86c missing var 2013-03-19 15:11:09 -07:00
David Glasser
5aabe7a85f springboarding appears to actually work 2013-03-19 15:11:09 -07:00
David Glasser
bba7bda220 remove debugging code 2013-03-19 15:11:09 -07:00
David Glasser
86962e30a8 maybe springboarding works 2013-03-19 15:11:08 -07:00
David Glasser
c2a1012fdd rename get_core_dir -> getEngineDir 2013-03-19 15:11:08 -07:00
David Glasser
d4660e6d5f get tarball path correctly 2013-03-19 15:11:08 -07:00
Avital Oliver
5580dd901a Detect when we should springboard 2013-03-19 15:11:08 -07:00
Avital Oliver
40df772498 WIP: Leave placemark comments in code in preparation for engine version springboard 2013-03-19 15:11:08 -07:00
Avital Oliver
3b6c1bc741 Glasser code review 2013-03-19 15:11:08 -07:00
David Glasser
2db2392b10 Add a "uname and arch" function, borrowed from update.js. 2013-03-19 15:11:08 -07:00
Avital Oliver
f6234b2aa9 Improve error when testing a non-existant package 2013-03-19 15:11:08 -07:00
Avital Oliver
4aa1201d9f Publish release 2013-03-19 15:11:08 -07:00
Avital Oliver
8057ff07c2 For formatting for 'meteor --help'
'meteor test-packages' is long
:
2013-03-19 15:11:07 -07:00
Avital Oliver
55bfce0de2 'meteor test-packages' improvements:
- Allow testing a package directory in isolation
- Allow specifying a release version to use while running
  tests
2013-03-19 15:11:07 -07:00
Avital Oliver
1b3c83977c upload-packages-to-s3.sh no longer uploads the .npm directory 2013-03-19 15:11:07 -07:00
Avital Oliver
54859e86d6 Fetch NPM dependencies when loading meteor release
You can now be offline to use any package that's been installed
2013-03-19 15:11:07 -07:00
Avital Oliver
662754a27d Complete renaming manifest to releaseManifest 2013-03-19 15:11:07 -07:00
Avital Oliver
4bae4116e9 'meteor --version' prints release version.
- If you're in an app, prints the release that app is pinned to.
- If you're outside of an app, prints the latest release stored in
  the warehouse.
- If none are found, print only an engine version (XXX is this correct?)
2013-03-19 15:11:07 -07:00
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
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
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
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
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