Commit Graph

2713 Commits

Author SHA1 Message Date
Sashko Stubailo
d30ee0a69e Fix backcompat for isopack.json, try releasing again 2014-10-01 20:08: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
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
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
Avital Oliver
f6ffe668c4 Allow more than one dash in package version names
This is consistent with the semver spec, and should fix
2014-09-30 16:16:38 -07:00
Avital Oliver
fcb3e09dd0 Fix meteor update from an app created from a checkout 2014-09-30 16:16:31 -07:00
Avital Oliver
e540d72070 Don't crash when failing to contact the package server
Fixes #2713
2014-09-30 16:16:26 -07:00
ekatek
86c0b2b2aa we don't have an apprecord for old releases, so if a project is using an old version, we have to be careful 2014-09-30 16:16:21 -07:00
Sashko Stubailo
71c8fc6ab9 Merge branch 'release-0.9.4' of github.com:meteor/meteor into release-0.9.4 2014-09-29 23:45:10 -07:00
Nick Martin
6273527450 Fix velocity test command for new parsedUrl (e7037b72) 2014-09-29 23:42:32 -07:00
Sashko Stubailo
e3e9d9e3d7 Bump version number for release 2014-09-29 23:40:12 -07:00
Nick Martin
43c996cd13 Fix whitespace 2014-09-29 21:41:05 -07:00
Nick Martin
fc194393b2 Merge branch 'devel' into release-0.9.4
Conflicts:
	tools/help.txt
2014-09-29 21:38:47 -07:00
Slava Kim
86a811b5b2 Whitespace 2014-09-29 20:40:25 -07:00
Sashko Stubailo
3fe1c06343 Fix backwards conversion 2014-09-29 20:31:15 -07:00
Sashko Stubailo
baa823995b Fix stupid problem 2014-09-29 20:10:57 -07:00
Sashko Stubailo
7e4848d939 Merge branch 'isopack' into release-0.9.4
Conflicts:
	tools/uniload.js
2014-09-29 20:08:02 -07:00
Sashko Stubailo
5bc7851fd6 Add converters and compat with comments 2014-09-29 20:03:39 -07:00
Ben Newman
f53c12815e Implement a meteor debug command.
Summary:
The `node-inspector` NPM package was added to the dev_bundle by this
recent commit: 64a624ae5c

Task: https://app.asana.com/0/15750483766338/16241466809965

Test Plan:
Add `debugger` statements to server code, run `meteor debug`, visit the
node-inspector URL in a browser, continue the application, and verify that
the debugger stops at the `debugger` statements that were set.

Reviewers: nim, slava, emily, avital, dgreenspan

CC: sashko

Differential Revision: https://phabricator.meteor.com/D827
2014-09-29 22:50:49 -04:00
Nick Martin
5a4d35184c code style cleanups to match style guide.
help text nitpicking.
2014-09-29 19:50:24 -07:00
Nick Martin
99f7c4cd66 comments 2014-09-29 19:27:49 -07:00
Nick Martin
a72629c6ce Mark run --test as experimental. 2014-09-29 19:19:25 -07:00
Sashko Stubailo
d8ff8b626c Rename unipkg to isopk 2014-09-29 19:09:05 -07:00
Sashko Stubailo
b63d16667e Read the file correctly 2014-09-29 19:01:05 -07:00
Nick Martin
4ba382eff3 Move velocity code to a separate file for easier maintenance. 2014-09-29 18:47:18 -07:00
Emily Stark
59db2ff04b Rename --mobile-server to --server for 'meteor build'. 2014-09-29 18:38:52 -07:00
rissem
251763f2eb clean up velocity --test pull request
- remove hardcoded localhost:3000
- add documentation to command
- remove emoji
2014-09-29 17:58:42 -07:00
rissem
22d48ee0db add --test flag to Meteor CLI for velociy CI support
- establish a DDP connection to Meteor
- subscribe to test results
- hit running web server
- exit with appropriate status code after tests have completed
2014-09-29 17:58:42 -07:00
Sashko Stubailo
8bd7a14993 Merge branch 'release-0.9.4' into isopack 2014-09-29 17:57:15 -07:00
Sashko Stubailo
bc3bb9eae1 Change "unibuilds" property to "builds" in the new isopack.json format 2014-09-29 17:56:36 -07:00
Emily Stark
56f5200078 Suggest that you can set protocol in --mobile-server help text 2014-09-29 17:53:02 -07:00
Emily Stark
1973971b20 Add tests for 'meteor build --mobile-server'. 2014-09-29 17:53:02 -07:00
Emily Stark
8aeb0f7e44 Tweak 'meteor build' with no --mobile-server error message. 2014-09-29 17:53:01 -07:00
Emily Stark
1aa1b268b5 Fix 'meteor build' handling of missing --mobile-server 2014-09-29 17:53:01 -07:00
Emily Stark
1598e9c826 Add --mobile-server to 'meteor build' usage. 2014-09-29 17:53:01 -07:00
Emily Stark
f738340556 Remove dead code in cordova platforms test 2014-09-29 17:53:01 -07:00
Emily Stark
3746f20e58 Fix default protocol in 'meteor run --mobile-server' 2014-09-29 17:53:01 -07:00
Emily Stark
e4cae7e105 Add back --mobile-port for back compat 2014-09-29 17:53:01 -07:00
Emily Stark
c5fdf45568 Rename 'parseHostPort' to 'parseUrl' and add tests 2014-09-29 17:53:00 -07:00
Emily Stark
257de8a62e WIP: '--mobile-port' to '--mobile-server', and allow https 2014-09-29 17:53:00 -07:00
Sashko Stubailo
a3860bb115 Make isopack backwards- and forwards-compatible 2014-09-29 17:12:00 -07:00
David Greenspan
5e39040e41 Fix “status message mode”
It has to wait for _pretty to become true so that it doesn’t start displaying statuses too soon.

There are now explicitly three modes, one where _progressBar is defined, one where it isn’t but _inStatusMessageMode is true, and one where neither is truthy.
2014-09-29 16:49:07 -07:00
David Greenspan
df6f93186b Print status messages even without progress bar
For example, in emacs shell, which is not a real TTY.
2014-09-29 16:18:38 -07:00
David Greenspan
98eff9059e Capitalize buildmessages 2014-09-29 16:18:38 -07:00
David Greenspan
1cf9eef9d0 Detect Emacs’s pseudo-TTY and don’t progress bar 2014-09-29 16:18:38 -07:00
David Greenspan
aa91cc4e6b Reduce progress bar polling (and make a constant) 2014-09-29 16:18:38 -07:00
Sashko Stubailo
7cd12072ea Rename unipackage to isopack in almost all cases 2014-09-29 16:01:08 -07:00
Timo Abend
653c886ff3 Fix for environments with witespace in home-path 2014-09-29 13:35:44 -07:00
Slava Kim
fff18dc595 Merge branch 'cordova-0.9.4' into release-0.9.4
Some Cordova fixes and the new on-device server
2014-09-29 13:20:31 -07:00