Commit Graph

11886 Commits

Author SHA1 Message Date
David Glasser
02637a10ef progress: remove duplicate assignment 2014-11-05 12:04:30 -08:00
David Glasser
4b2d0d5174 de-globalize console.js constants 2014-11-05 11:30:14 -08:00
David Glasser
5e1086775d Remove more unnecessary buildmessage.captures
Part of #3003.
2014-11-04 17:34:54 -08:00
David Glasser
fb4655dbea drop unnecessary dangerous buildmessage.capture
unnecessary: because dontRunConstraintSolver now means we don't need to
be in a buildmessage.capture

dangerous: because if you don't check the result of
buildmessage.capture, you leak errors.
2014-11-04 17:13:27 -08:00
David Glasser
1a2249d159 Get rid of many calls to doOrDie/doOrThrow
The things they wrap no longer make buildmessages.
2014-11-04 16:43:38 -08:00
David Glasser
6fbf762f8d Move misplaced comment 2014-11-04 16:33:08 -08:00
Slava Kim
00d6682e23 Docs correction: DOMNode -> DOMElement
Because CSS selectors match only elements and not nodes
2014-11-04 16:21:55 -08:00
David Glasser
831ca7d20c cleanup test-packages
- Errors in merging the cordova branch against 273b70bea4 left
  in an unnecessary getLocalPackages function

- LocalCatalog.getLocalPackageNames is unnecessary (it's the same as
  getAllPackageNames!)  CompleteCatalog.getLocalPackageNames is OK I
  guess.

- getPackagesForTest returned some extra data that was only used to call
  the nonexistent catalog.removeLocalPackage method.  Meh, we don't
  clean up the catalog when the command ends now (which doesn't happens
  unless you're using --once anyway). We'll probably fix this by making
  catalog.complete less global soon anyway (ie, it should be build-specific).

- Fix a duplicate test runner app cp_r
2014-11-04 10:47:34 -08:00
David Glasser
90caf16ee7 remove unused var 2014-11-04 10:40:50 -08:00
David Glasser
2964c68fcb Fix failure for local packages to depend on built
Bug introduced in 0.9.4. This only seems to occur in some contexts; a
way to consistently reproduce is:

  $ rm -rf packages/test-in-browser/.build.test-in-browser && curmeteor test-packages
  [[[[[ Tests ]]]]]

  => Started proxy.
  => Started MongoDB.
  => Errors prevented startup:

  While Building package `test-in-browser`:
  error: package not available: bootstrap
2014-11-04 10:31:24 -08:00
Slava Kim
50e6d3143d Update data.js and names.json 2014-11-03 17:38:26 -08:00
Slava Kim
cc82180925 More return tags for Collections 2014-11-02 03:28:37 -08:00
Slava Kim
44832cbbdc Add return types and properties types in JSDoc to a lot of methods 2014-11-02 02:45:17 -08:00
David Glasser
b5d2cce308 Refactor LocalCatalog
- Simplify internal data structure to just have one map of name ->
  various data instead of a whole bunch of different unsynchronized data
  structures (most of which were used with frequent O(n) operations).

- Move the getLoadPathForPackage logic which combines local and remote
  packages into LayeredCatalog from LocalCatalog, and delete the
  unnecessary copy in BootstrapCatalogCheckout.

- Rename a bunch of fields to make it explicit which ones contain
  package objects, which ones contain package directories, and which
  ones contain package *search* directories

- Replace random version IDs and a long comment about why random is safe
  with sequential. (I don't think these version IDs are ever used
  anyway.)

- Drop unused "initializing" option to refresh

- Drop redundant call to _recomputeEffectiveLocalPackages in
  addLocalPackage (it is called immediately below by refresh).
2014-10-30 22:43:13 -07:00
David Glasser
ca33c4111a Two other build calls are only on catalog.official
getAllBuilds and getBuildWithPreciseBuildArchitectures
2014-10-30 21:38:58 -07:00
David Glasser
371a21d5bc getBuildsForArches is only on catalog.official 2014-10-30 21:34:54 -07:00
David Glasser
30fb11f1fa Merge branch 'upgrade-everything' into devel 2014-10-30 15:12:36 -07:00
David Glasser
f64e369888 self-test updates files 2014-10-30 15:12:30 -07:00
David Glasser
d5afd1b6a9 Update shrinkwrap 2014-10-30 15:12:30 -07:00
David Glasser
34aac459a0 Upgrade esprima to 1.2.2 from pre-1.1 2014-10-30 15:12:30 -07:00
David Glasser
e79e04fd60 Upgrade Mongo to 2.4.12 from 2.4.9
Not quite ready to take 2.6 yet
2014-10-30 15:12:29 -07:00
David Glasser
fc375be7c8 Upgrade openssl in mongo to 1.0.1j from 1.0.1g 2014-10-30 15:12:29 -07:00
David Glasser
d91667a941 Upgrade http-proxy to 1.6.0 from 1.0.2
The patch was integrated in 1.0.3.
2014-10-30 15:12:29 -07:00
David Glasser
66bd817382 Upgrade phantomjs to 1.9.12 from 1.8.1-1 2014-10-30 15:12:29 -07:00
David Glasser
8b9771420b upgrade sqlite3 to 3.0.2 from 3.0.0 2014-10-30 15:12:29 -07:00
David Glasser
80f8eec669 Upgrade source-map to 0.1.40 from 0.1.32 2014-10-30 15:12:29 -07:00
David Glasser
5d84fd2b7c Upgrade tar to 1.0.2 from 1.0.1 2014-10-30 15:12:29 -07:00
David Glasser
92b1bf1369 Upgrade request to 2.47.0 from 2.33.0
Looks like it now auto-detects $HTTP_PROXY so we could drop that code
from http-helpers (but not from the faye stuff).
2014-10-30 15:12:29 -07:00
David Glasser
d4feca7703 Upgrade semver to 4.1.0
I believe all the backwards-incompatible changes are to features we
don't use, like range expressions and the inc function.
2014-10-30 15:12:28 -07:00
David Glasser
5db7b27153 upgrade source-map-support: 0.2.8 (from 0.2.5) 2014-10-30 15:12:28 -07:00
David Glasser
4d2499ed7d Explain why not upgrading underscore 2014-10-30 15:12:28 -07:00
David Glasser
a6cce36f8d Explain why not upgrading fibers 2014-10-30 15:12:28 -07:00
David Glasser
c2a4134d97 Update Node to 0.10.33 from 0.10.29
Our npm patch is not yet in a Node 0.10 release (it's in npm 2.1.0).
2014-10-30 15:12:28 -07:00
Emily Stark
25951b3fb8 Fix 'meteor add' output for nonexistent packages/versions.
Fixes #2898.
2014-10-30 12:08:15 -07:00
David Glasser
f3cc623615 Add missing requires 2014-10-30 10:34:50 -07:00
Wonkyung Lyu
f8333123ba Fix typo error on docs 2014-10-30 10:17:53 -07:00
David Glasser
7ac4a838e3 Remove some catalog buildmessage.asserts 2014-10-29 19:25:13 -07:00
David Glasser
17f16160e5 Remove buildmessage usage by release.js 2014-10-29 19:15:51 -07:00
David Glasser
280d0afcfc Fix test 2014-10-29 19:12:32 -07:00
David Glasser
6382bd8474 Remove buildmessage usage by stats code 2014-10-29 19:10:05 -07:00
David Glasser
63e91e1f54 Remove buildmessage usage in updater.js 2014-10-29 19:04:36 -07:00
David Glasser
1ed619378f Fix resolveConstraints indentation 2014-10-29 18:52:07 -07:00
David Glasser
e4a10e5f11 Package download no longer can emit buildmessages 2014-10-29 18:51:02 -07:00
David Glasser
ca99f0506a Remove duplicate method definition
There's another isLocalPackage lower in the same _.extend, and that's
the one that is being used.
2014-10-29 18:39:26 -07:00
David Glasser
af44a73093 Isopack.saveToPath doesn't always need a capture
It should only need a capture if you need to include
buildinfo. Specifically, the use in tropohouse for package merging
should not be able to fail with a buildmessage.

Failures to statically compile packages for the tool now just crash the
tool, just like uniload failures. This should never happen unless you're
working from a checkout and have broken a core package.
2014-10-29 18:33:57 -07:00
David Glasser
f97e374ac7 Remove release methods from catalog.complete
They are unused (and were accidentally introduced in 0.9.4 with the
sqlite branch).  The only thing you're allowed to query for releases is
the official catalog, since the complete catalog doesn't actually
augment releases with anything.

(If we later implement some sort of "local release", we should probably
also introduce a new release-specific interface that can be backed
either by sqlite or by sqlite-plus-local, analogous to catalog.  There's
no real reason that it should be the same interface as catalog.)
2014-10-29 18:10:49 -07:00
Justin SB
d4acbd93d5 Rename "Downloading packages" to not be misleading
Change this to "Checking local packages versions" to more accurately
reflect what we're doing.

Also add a few more debug statements so it is clearer when we are and aren't
downloading new versions.

Closes #2950
2014-10-29 10:11:49 -07:00
Dan Dascalescu
fb5ef8555e Typo and broken link fix 2014-10-28 17:39:17 -07:00
Dan Dascalescu
e496220bfd rm duplicate history entry 2014-10-28 17:34:12 -07:00
David Greenspan
b6c4d11f58 Merge branch 'matteodem-escape-curly-braces' into devel
Conflicts:
	History.md
2014-10-28 16:57:10 -07:00