Commit Graph

1631 Commits

Author SHA1 Message Date
David Glasser
b4bb435cce fix self-test help 2014-06-17 15:28:19 -07:00
David Glasser
15401c028b properly use builder-generated npm path
This fix obviates the direct need for bb7710067, but given that we are
allowing colons in package names, we might as well allow them in
generated file names anyway (and keep bb7710067).
2014-06-17 15:10:57 -07:00
David Glasser
848a5a2a38 make meteor-npm work with colon packages 2014-06-17 14:56:14 -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
a2663aeaaf follow-up to 15389fa740 2014-06-17 09:45:01 -07:00
David Glasser
f2501469b9 Allow apps with no packages 2014-06-17 09:40:59 -07:00
David Glasser
d083f4aaf6 change --offline-catalog to $OFFLINE_CATALOG 2014-06-17 09:40:59 -07:00
ekatek
15389fa740 don't throw if there is no specified version, unless told to. Mostly because programs don't need versions anymore 2014-06-16 23:06:10 -07:00
Emily Stark
b0f5ce0991 Fix package stats test 2014-06-16 21:35:42 -07:00
ekatek
bb77100672 DO NOT remove the : character when sanitizing paths. That breaks NPM for packages 2014-06-16 21:03:07 -07:00
ekatek
6226860b58 remove packageName from builds 2014-06-16 17:27:14 -07:00
Avital Oliver
600ae65304 Don't print errors on stream level failures, and a little reorg
In particular, this becomes especially important with packaging
since we ping the server with a DDP connection every time you
run an app. Multiple times actually.

So now there's no ECONN error messages printed
2014-06-16 16:33:07 -07:00
ekatek
10f427f8ac pre-declaring an important variable 2014-06-16 15:45:15 -07:00
ekatek
722a99bb09 cleanup 2014-06-16 14:49:36 -07:00
David Glasser
dce4307dd1 add XXX comment about serviceconnection timeout 2014-06-16 14:49:13 -07:00
David Glasser
9bc1589a1c builder.copyDirectory: copy symlinks as symlink
otherwise our new change to have tool/node_modules be a symlink breaks
2014-06-16 14:49:13 -07:00
David Glasser
60059c2bd1 $TREE_HASH_DEBUG 2014-06-16 14:49:13 -07:00
David Glasser
f190d83731 Finish removing include from files.cp_r 2014-06-16 14:49:13 -07:00
David Glasser
7f2ec589b9 self-test: better path to executable 2014-06-16 14:49:13 -07:00
David Glasser
f6847a2b52 quiet non-errors in --from-checkout 2014-06-16 14:49:13 -07:00
David Glasser
4ef69db606 fix 'meteor rebuild x y z'
We weren't refreshing the package cache so it didn't rebuild
it. Simplify by getting rid of redundant code.
2014-06-16 14:49:13 -07:00
ekatek
8ff8040924 no longer require test & name in package.describe 2014-06-16 14:38:47 -07:00
Emily Stark
6f637b6b47 Fix service connection timeout error initialization 2014-06-16 14:28:29 -07:00
Avital Oliver
69cd9ccd8c Oops. This is the right merge conflict fix. 2014-06-16 14:06:16 -07:00
Avital Oliver
6ea5ab0ed1 Don't record package usage when running meteor test-packages 2014-06-16 14:02:47 -07:00
Avital Oliver
a9fb0072b7 When running from a checkout, print errors from package usage recording 2014-06-16 14:01:53 -07:00
ekatek
74917e623d rip out changelog, even though it hurts 2014-06-15 20:22:14 -07:00
ekatek
e32ed6860e other admin commands help 2014-06-15 18:54:53 -07:00
ekatek
b734baf618 admin maintainers help 2014-06-15 18:43:48 -07:00
ekatek
012a27fd87 help for many of the new commands 2014-06-15 18:39:02 -07:00
ekatek
9244e13626 mark core packages 2014-06-15 16:29:03 -07:00
ekatek
73a39de634 force packages to specify dependency constraints 2014-06-15 16:29:03 -07:00
David Glasser
c57280a016 refactor catalog.version to do more O(1) stuff 2014-06-13 18:23:05 -07:00
ekatek
d2aadf4e54 now we have search! 2014-06-13 18:01:18 -07:00
ekatek
3b16031844 pass some more tests 2014-06-13 17:39:36 -07:00
David Glasser
2412a3493f don't expect version file to definitely be there
hacks upon hacks, my friend.
2014-06-13 17:31:48 -07:00
David Glasser
07206eaecd Use symlink instead of $NODE_PATH
This should fix our eternal bug of people accidentally running code out
of ~/node_modules.
2014-06-13 17:14:42 -07:00
ekatek
d2ed5ab48d add packages self-test 2014-06-13 16:28:37 -07:00
David Glasser
7beedc48c7 use streamy copy in builder too 2014-06-13 16:24:41 -07:00
David Glasser
7a23a2c988 stop using cp_r for non-recursive publishs source
This lets us rip out the weird 'include' argument and go back to just
stat'ing things instead of lstat'ing.

While we're at it, be more streamy when doing these copies.
2014-06-13 16:21:35 -07:00
David Glasser
ae9f28ad2d selftest.createApp shouldn't copy .meteor/local
just like 'meteor create' / 'meteor create --example'

it was breaking if you had a .meteor/local since it could contain a
node_modules which was a symlink to a directory, and cp_r doesn't
support copying directory symlinks
2014-06-13 15:40:30 -07:00
David Glasser
7e80ad2ddf don't run constraint solver tests by default
they use 30 seconds of CPU which makes the web server sad

they are run if you set $CONSTRAINT_SOLVER_BENCHMARK which is done by a
--slow self-test though
2014-06-12 16:53:16 -07:00
ekatek
663de9c75c change package url 2014-06-12 14:43:40 -07:00
ekatek
3ddf41e851 add/remove maintainers, recommend/unreccommend releases 2014-06-12 12:39:16 -07:00
ekatek
a710408b1c correct update semantics with release --explicit 2014-06-11 22:40:07 -07:00
ekatek
a4ee2a841f once again: comments, clarifying that get-ready has a place in the world 2014-06-11 20:14:30 -07:00
ekatek
562cc18ac8 change comments to make it clear why rebuild works 2014-06-11 20:08:35 -07:00
ekatek
8603c66b12 don't publish old releases 2014-06-11 18:23:12 -07:00
ekatek
e41f2238a4 amended comment to explain that we use this weird design pattern 2014-06-11 18:06:38 -07:00
David Glasser
1e011e1ae9 run catalog initFromPackageDir in buildmessage
gives you better errors when local packages are buggy
2014-06-11 17:37:04 -07:00