Commit Graph

47 Commits

Author SHA1 Message Date
David Glasser
166583845e Fix 'meteor update'
We were accidentally considering this equivalent to 'meteor update
--release LATEST', meaning we could not update to an intermediate
release (and that it could update you backwards).
2014-08-25 16:42:41 -07:00
David Glasser
08b2625082 METEOR-CORE -> METEOR 2014-08-24 18:46:37 -07:00
David Glasser
7743a55bba Use official catalog for springboarding
Read it into memory at initialize time
2014-08-13 18:11:46 -07:00
David Glasser
4ac78a3646 Move DEFAULT_TRACK to catalog module
It's a constant, so no need to have to think "hmm, I wonder if I should
be writing catalog.official.DEFAULT_TRACK or
catalog.complete.DEFAULT_TRACK?"
2014-08-13 15:39:03 -07:00
David Glasser
64d939acb2 Add a lot more buildmessage captures
Many of these (mostly in top level commands in commands-packages.js) are
not super well thought out: they use a new "doOrDie" helper to run some
function in a capture and exit if there are any messages.  We really
need to get a little more thoughtful about the big picture of error
handling (combining "build" errors, network errors, catalog errors,
etc). But this at least allows the addition of more buildmessage
assertions.

At the very least, this ensures that if you edit a package.js in a local
package while "meteor run" is running, that instead of crashing the tool
it properly shows the buildmessage and lets you fix the issue.
2014-08-11 17:06:28 -04:00
David Glasser
d0a81689f3 Use catalog.complete instead of catalog.official
Specifically, in cases (like "load the most recent release we know
about") where we don't always want to incur a sync RPC.

Apparently, there is literally no way to get data from catalog.official
without a sync RPC occuring.

This speeds up 'meteor --version' on built releases by a factor of 10
2014-07-23 17:51:00 -07:00
Emily Stark
ecff10c23e 'springboard' selftest passes. 2014-06-25 22:16:55 -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
ekatek
a710408b1c correct update semantics with release --explicit 2014-06-11 22:40:07 -07:00
David Glasser
f66e357353 allow springboarding to pre-tropohouse releases! 2014-06-11 17:12:43 -07:00
David Glasser
84b2212b06 implement normal small "you can update" banner
oops, a merge issue dropped orderKey support! tee-hee.
2014-06-09 17:29:00 -07:00
David Glasser
febef90803 print a patch banner 2014-06-09 16:58:22 -07:00
David Glasser
7098c68260 print the main banners! 2014-06-09 16:58:22 -07:00
David Glasser
cbf0850ca7 fix 'meteor update' on track with none recommended 2014-06-09 14:04:37 -07:00
David Glasser
20ef85f9c9 fix springboarding 2014-06-09 13:50:34 -07:00
ekatek
5ebbbdbc63 merging packaging into uvf 2014-05-28 13:26:48 -07:00
ekatek
b97f7c5a76 renamed some catalog variables, more cleanup around catalog 2014-05-27 16:07:43 -07:00
ekatek
6f3504a2d3 project refactoring, wip 1 2014-05-21 15:42:12 -07:00
David Glasser
8bdcdbc518 maybe background symlink update works
however, bundling is brokenish

due to buildTimeDeps when building apps not being release-sensitive

(ekate understands what I mean)
2014-05-20 18:58:15 -07:00
David Glasser
84e7342e82 meteor update should keep you on track 2014-05-20 17:08:44 -07:00
David Glasser
135deb16ae release.current.name should include METEOR-CORE@ 2014-05-20 11:14:29 -07:00
David Glasser
5710fe876c closer to having meteor update work 2014-05-19 21:12:32 -07:00
David Glasser
ea5e6d075c add comments, comment stuff out 2014-05-19 20:12:50 -07:00
David Glasser
3d3ce33d32 be more consistent about release track vs name 2014-05-19 19:57:29 -07:00
David Glasser
b2aaf88e92 refresh catalog after syncing serverCatalog 2014-05-19 19:57:28 -07:00
David Glasser
1c866f34bd Switch default release version to use orderKey 2014-05-19 16:49:58 -07:00
David Glasser
35bad76bc5 'meteor admin make-bootstrap-tarballs'
other changes:

- defaultReleaseVersion is not synced using 'collections' any more,
  since it is a singleton and has different merge logic
- publish-release --fromCheckout renamed to --from-checkout
- $METEOR_SAVE_TMPDIRS env var to not delete files.mkdtemp stuff
- release.latestDownloaded() now comes from tropohouse

we recognized that the cross-linking stuff in
Tropohouse.maybeDownloadPackageForArchitectures doesn't quite work so we
changed it to not quite work in a different way (which allows us to
leave downloaded-builds out of the bootstrap tarball and decrease its
size by 50%).  will fix later.
2014-05-14 11:40:43 -07:00
ekatek
4de82af708 save the tool version to the versions file. Not sure about some semantics of this. 2014-05-07 23:53:35 -07:00
David Glasser
9d70ff64c9 springboard almost works
springboarding happens infinitely because of build ids

have to manually bootstrap a tropohouse

fixed some other things:

 - store package server token in correct domain
 - copy files (eg packages pre-publish) with +x flags
 - catalog.getReleaseTrack works
 - don't pass release to uniload (Meteor.release will always
   end up 'UNILOAD')
 - fix building meteor-tool again
 - stop supporting apps without .meteor/release
 - merging unipackages with tools works

springboarding to warehouse releases totally not supported
2014-05-05 19:18:34 -07:00
Geoff Schmidt
949361bae0 Remove the final references to Library and delete it! 2014-03-12 22:18:39 -07:00
Geoff Schmidt
985ffea9fa WIP - make package build run the constraint solver.
move constraint solver from a package into the tool.
unipackage loading is broken; next step is to fix that
2014-03-12 19:02:47 -07:00
ekatek
3273897a71 PackageCache as singleton. Miscellaneous attempts to clean up 2014-03-11 21:27:13 -07:00
Geoff Schmidt
5f0d1714eb WIP: Break Library into PackageLoader, PackageCache, Catalog 2014-03-11 18:10:28 -07:00
Geoff Schmidt
7919804bfd When running from a checkout, Catalog includes checkout packages! 2014-03-07 01:34:58 -08:00
Geoff Schmidt
b4df323875 A Catalog is part of the Release 2014-03-06 22:17:18 -08:00
David Glasser
b75da89d09 continued efforts towards released self-test 2014-02-06 12:18:49 -08:00
David Glasser
7f2eccecda more efforts to get released self-test working 2014-02-06 12:00:49 -08:00
David Glasser
37ccddede2 maybe get self-test working on releases 2014-02-06 11:19:09 -08:00
David Glasser
365db0e8be delete unused Release.compatibleWithRunningVersion 2014-02-05 15:54:08 -08:00
David Glasser
6f7a6d82c7 remove recursive require 2014-01-30 11:39:19 -08:00
Geoff Schmidt
b3a113e699 port some old tests - WIP 2014-01-27 05:22:01 -08:00
Geoff Schmidt
5f7393b3a4 Autoupdater tests! They pass. 2014-01-27 02:31:39 -08:00
Geoff Schmidt
8bded5c44f eliminate process.exit from release.js and warehouse.js 2014-01-07 22:58:00 -08:00
Geoff Schmidt
608123d886 runner refactor - WIP (factor out AppRunner, Updater) 2014-01-02 11:26:51 -08:00
Geoff Schmidt
4ce06b9a91 bundler takes a release, rather than a library and releaseStamp 2013-12-30 18:07:08 -08:00
Geoff Schmidt
02227a79d2 project: update code style 2013-12-30 05:39:14 -08:00
Geoff Schmidt
4fc8c0d1f3 Eliminate context everywhere!!
Add release.js to manage current release.
2013-12-30 05:16:21 -08:00