Commit Graph

12081 Commits

Author SHA1 Message Date
David Glasser
f5ab70377c refresh should not be between search and show 2014-11-25 09:06:22 -08:00
David Glasser
61b1493ee9 Fix meteor add 2014-11-25 09:06:22 -08:00
David Glasser
a553048fe6 don't write .meteor/packages changes until ready
ie, don't update .meteor/packages unless we know the new constraints can
be resolved!

The current calls are from remove and test-packages, which should
generally succeed.  But add is different.
2014-11-25 09:06:22 -08:00
David Glasser
6928c41fee Show progress during isopacket build 2014-11-25 09:06:22 -08:00
David Glasser
3da57f75f9 Fix meteor list 2014-11-25 09:06:21 -08:00
David Glasser
ad78915322 Fix meteor add cordova:* (but not add packages) 2014-11-25 09:06:21 -08:00
David Glasser
20200f7130 Fix meteor remove 2014-11-25 09:06:21 -08:00
David Glasser
645456b5b0 cleanup, remove --get-ready implementation, etc
--get-ready can probably be restored after this branch is merged.
2014-11-25 09:06:21 -08:00
David Glasser
12851424d4 remove completed XXX #3006 comments 2014-11-25 09:06:21 -08:00
David Glasser
d38fbdf903 fix test-packages --deploy 2014-11-25 09:06:21 -08:00
David Glasser
6db0e3607a fix galaxy prototype deploy 2014-11-25 09:06:21 -08:00
David Glasser
bebab08518 oops, still include site name in deploy 2014-11-25 09:06:21 -08:00
David Glasser
1e7a4f3b08 Fix meteor deploy 2014-11-25 09:06:20 -08:00
David Glasser
5fcab5c42d fix 'meteor rebuild' 2014-11-25 09:06:20 -08:00
David Glasser
45cc54fb63 comment and require cleanup 2014-11-25 09:06:20 -08:00
David Glasser
f02336d0cd test-packages for cordova 2014-11-25 09:06:20 -08:00
David Glasser
1a9536baa2 Fix test-packages
See #3012, though.
2014-11-25 09:06:20 -08:00
David Glasser
2410cec49d preserve spaces and comments from .meteor/packages 2014-11-25 09:06:20 -08:00
David Glasser
7b256e58c2 allow you to progress ProjectContext to any step 2014-11-25 09:06:19 -08:00
David Glasser
83421c288a Remove isLocalPackage 2014-11-25 09:06:19 -08:00
David Glasser
3a38ef0369 commands-cordova is fully transitioned 2014-11-25 09:06:19 -08:00
David Glasser
f7f77b44cd Fix add-platform 2014-11-25 09:06:19 -08:00
David Glasser
637a3ec37b Fix remove-platform 2014-11-25 09:06:19 -08:00
David Glasser
45be10a565 Fix list-platforms 2014-11-25 09:06:19 -08:00
David Glasser
2b818092ce 'meteor run ARGS' (cordova) works now 2014-11-25 09:06:19 -08:00
David Glasser
e05692a8d2 Fix meteor shell 2014-11-25 09:06:19 -08:00
David Glasser
c344278b96 Fix up stats.
Satisfyingly delete a long comment explaining how somehow it is annoying
to work with a codebase that's full of singletons.
2014-11-25 09:06:18 -08:00
David Glasser
a7c0cfdc77 Comment about future work 2014-11-25 09:06:18 -08:00
David Glasser
266b75c33b Fix client refresh 2014-11-25 09:06:18 -08:00
David Glasser
f0ff76a24b watch local package search dirs 2014-11-25 09:06:18 -08:00
David Glasser
19c9536bf5 Correctly watch broken packages 2014-11-25 09:06:18 -08:00
David Glasser
c3b6ab1cf2 main/plugin/app field of unibuild is now 'kind'
It was 'name' in unibuilds, and both 'self.archName' and 'name:' option
in SourceArch. And for some reason we stopped writing it to isopack.json
at some point.  Now we'll just call it 'kind' to make it clear it is
neither a name nor an arch.  (I think this used to be how we
differentiated main from tests, but that doesn't exist any more.)

This fixes a bug introduced on this branch where weak dependencies might
get ignored if the weakly-depended package was just recompiled.
2014-11-25 09:06:18 -08:00
David Glasser
5808c56af8 rebuilds in run work
(but not for client-only refresh)

(and haven't implemented "soft reload" yet)
2014-11-25 09:06:18 -08:00
David Glasser
4563258ec0 'meteor run' works once
restart crashes intentionally

(client-only changes to app code work; client-only changes to packages
don't get reloaded.)
2014-11-25 09:06:17 -08:00
David Glasser
4f1da93bc4 add IsopackCache.allLoadedLocalPackagesWatchSet 2014-11-25 09:06:17 -08:00
David Glasser
a9a3411703 checkpoint on 'meteor run' 2014-11-25 09:06:17 -08:00
David Glasser
055575a80c Support .meteor/cordova-plugins 2014-11-25 09:06:17 -08:00
David Glasser
e9a34062a8 remove content from project.js 2014-11-25 09:06:17 -08:00
David Glasser
9f8b533fcc Write versions when app release matches current
This should take care of the special-casing that used to be in create
and update. (Will still need to confirm that it works properly for
update.)
2014-11-25 09:06:17 -08:00
David Glasser
7b952d50e9 write .meteor/.finished-upgraders in 'create' 2014-11-25 09:06:17 -08:00
David Glasser
ea7c60253f write .meteor/release on create 2014-11-25 09:06:16 -08:00
David Glasser
0d36f83f90 Combine metadata watchsets lazily
This makes it easy to replace sub-WatchSets when we write a file
2014-11-25 09:06:16 -08:00
David Glasser
7998389287 Read .meteor/release in ProjectContext 2014-11-25 09:06:16 -08:00
David Glasser
88e4ecdc18 basic port of meteor create
A few details are missing. But see how much nicer this is than
reinitializing catalog.complete?
2014-11-25 09:06:16 -08:00
David Glasser
8f6a7b757b All commands are now newfangled.
Some just don't work yet :)
2014-11-25 09:06:16 -08:00
David Glasser
438ddad7bc Remove catalog.complete from core code
It's still in unmigrated commands.

Remove tropohouse's catalog.  It was there to stop you from downloading
local packages but downloadPackagesMissingFromMap does that based on the
PackageMap now.
2014-11-25 09:06:16 -08:00
David Glasser
490511a498 Move catalog refresh off of catalog.complete 2014-11-25 09:06:15 -08:00
David Glasser
c862b30e1e Remove resolver from catalog 2014-11-25 09:06:15 -08:00
David Glasser
e921b20caa Remove catalog.resolveConstraints
Also remove the subclass of LocalCatalog used for the isopacket building
catalog... it can just use LocalCatalog and set a flag (which is only
checked in one place).
2014-11-25 09:06:15 -08:00
David Glasser
e313b8e3d8 Remove getTransitiveClosureOfPackages 2014-11-25 09:06:15 -08:00