Commit Graph

8400 Commits

Author SHA1 Message Date
Matthew Arbesfeld
eb04e791e6 Update dev_bundle 2014-07-01 15:15:06 -07:00
David Glasser
0da301c637 unbreak tests again 2014-07-01 13:33:39 -07:00
David Glasser
f4c5c5cb94 Express confusion that this does not lead to infinite recursion 2014-06-30 22:13:39 -07:00
David Glasser
9333b4612e consistently use wrapper instead of constructor 2014-06-30 22:11:44 -07:00
David Glasser
a0d7d04592 shrinkwrap update, should have been done earlier 2014-06-30 22:11:31 -07:00
David Glasser
f3096d1cef revert refactoring because sort was important 2014-06-30 22:10:45 -07:00
David Glasser
085f6bf581 rework earliestCompatibleVersion
troposphere needs to be changed to enforce the following constraint:

  "For any package version N@V with earliestCompatibleVersion E, if
   N@E is a published version, then its earliestCompatibleVersion is
   also E."

In this way, earliestCompatibleVersion partitions the set of versions of
a package into compatibility classes. There's no need to do comparisons
on ECVs; instead, you just can check to see if two versions have the
same ECV.

This makes some of the ECV logic simpler.

It should not longer be allowed to depend on a version that does not
exist (although this should really be an immediate error instead of an
unsatisfiable constraint like it is with this commit).
2014-06-30 22:05:58 -07:00
David Glasser
469ecda93c comment that propagateExactDeps is just for tests 2014-06-30 22:05:58 -07:00
ekatek
594a825b66 allow override in getting release version from an uninitialized catalog 2014-06-30 16:53:43 -07:00
David Glasser
f980ceb685 don't crash on addPackages/removePackages 2014-06-30 16:53:43 -07:00
David Glasser
abd8f59bf6 Use node-mongodb-native with https for js-bson 2014-06-30 16:53:43 -07:00
David Glasser
e6328a094f Make sure package you are publishing is in catalog
Otherwise tests won't work
2014-06-30 16:53:42 -07:00
David Glasser
499ca1ff23 Extra comment about catalog initiatialization 2014-06-30 16:53:42 -07:00
ekatek
fee935e24a rename versions files and don't write versions files for tests 2014-06-30 15:25:43 -07:00
ekatek
ba2c483af5 make the prefix local-test 2014-06-30 15:25:31 -07:00
ekatek
1009e0ec2a rename the test postfix to prefix 2014-06-30 15:25:19 -07:00
Emily Stark
29f99597c9 Don't log login errors when sending package stats.
Exceptions during login happen fairly regularly (particularly for expired/revoked login tokens)
2014-06-27 17:49:06 -07:00
Emily Stark
8571143d8d Fix name of stats error logging function 2014-06-27 17:47:26 -07:00
David Glasser
94aab913f1 self-test now passes 2014-06-26 17:32:17 -07:00
David Glasser
6bcd277c64 when uploading tarballs, check for errors
and throw something that looks better than [Object Object]
2014-06-26 15:30:25 -07:00
David Glasser
59acafbb6f Merge branch 'packaging-dev-bundle' into packaging 2014-06-26 14:44:56 -07:00
David Glasser
439f7d7231 correct logic 2014-06-26 14:23:41 -07:00
David Glasser
16a44ed9cf packages/non-core/foo is not in core 2014-06-26 13:53:14 -07:00
David Glasser
f2e1ef9946 more error for the thing we're seeing 2014-06-26 13:53:14 -07:00
David Glasser
af7c8a3e6e can't override npm version
bump dev bundle again

sigh.  in trying to work around a silly bug (npm creates ~/tmp), it
turns out that you can't actually install npm like that --- because it
reverts the hack done by 'make install PORTABLE=1' to make npm find node
properly (because that hack literally rewrites a file in the npm module)
2014-06-26 13:53:14 -07:00
David Glasser
bfdc92dfac wrapper checkpoint 2014-06-26 13:53:14 -07:00
David Glasser
c0c7ecea48 stop mongo-livedata from being non-portable
it is way too hard to get a non-portable package to work both from
uniload (which can't depend on non-core packages) and with meteor deploy
from checkout on mac (which basically requires a non-core package to
have the non-portability in it)
2014-06-26 13:53:13 -07:00
David Glasser
d346df0d5d ignore build IDs in constraint solver 2014-06-26 13:53:13 -07:00
David Glasser
c6a94b7f19 new dev bundle
Changes:

- Drop keypress; it hasn't been used since we rewrote prompts to use
  built-in readline

- Use a slightly newer version of npm, to avoid strange thing where it
  creates ~/tmp

- Drop node-aes-gcm and bcrypt: we now can support cross-platform
  package deploys directly!  (A follow-up commit will add them
  to the corresponding packages.)

- Drop heapdump: it was only there for convenience, and now can also be
  added via a package

- upddate some comments
2014-06-26 13:53:13 -07:00
David Glasser
6d4767d471 fix minor bugs 2014-06-26 13:52:26 -07:00
ekatek
8ce251c46e better error handling 2014-06-26 00:38:49 -07:00
ekatek
822f8fa2da more error handling and reporting on package changes & downloads 2014-06-25 23:36:03 -07:00
ekatek
7d9a2ff6f3 put some try/catch blocks around maybeDownloadPackageForArchitectures. Not sure that this is the best plan? 2014-06-25 22:44:13 -07:00
Emily Stark
881381479b bump a test timeout 2014-06-25 22:24:59 -07:00
Emily Stark
ecff10c23e 'springboard' selftest passes. 2014-06-25 22:16:55 -07:00
David Glasser
125a2ba76f don't drop error on catalog refresh! 2014-06-25 22:16:25 -07:00
David Glasser
ee462d49b7 resolve paths in $PACKAGE_DIRS 2014-06-25 22:16:25 -07:00
David Glasser
ff59e1c5b0 drop console.log 2014-06-25 22:16:11 -07:00
ekatek
efd5a6de69 donot segfault on non-existent versions of packages 2014-06-25 20:41:43 -07:00
ekatek
5cee6120f2 better search 2014-06-25 20:03:40 -07:00
ekatek
624571ba20 and more cleanup 2014-06-25 19:47:17 -07:00
ekatek
c93391532b fixing: updating packages, better output of meteor list 2014-06-25 19:43:19 -07:00
ekatek
18e5bd3b6c check for obviously bad architectures 2014-06-25 19:16:56 -07:00
Emily Stark
382be78710 'update during run' passes.
It looks like tools trees now always have a dev_bundle/ directory
instead of bin/, include/ etc. at the top level. Someone correct me if
I'm wrong.
2014-06-25 17:33:55 -07:00
ekatek
b062d5b16e oops contact the right server 2014-06-25 16:11:12 -07:00
ekatek
b2dd824fc0 pagination support and also override arch to deploy to mother 2014-06-25 15:59:40 -07:00
David Glasser
8a5869df92 copy-dev-bundle-from-jenkins: don't overwrite! 2014-06-25 14:56:18 -07:00
ekatek
8d6ffd57f2 don't use both explicit & forced; actually merge correctly 2014-06-25 11:50:38 -07:00
ekatek
aef7993c85 don't write versions when running with --release, forgot to commit last night 2014-06-25 11:42:49 -07:00
Emily Stark
6ce6a3ec3f bump a test timeout 2014-06-25 11:31:17 -07:00