Commit Graph

7722 Commits

Author SHA1 Message Date
ekatek
90a5b87a00 fixing the plugin dependency handling 2014-05-09 17:21:19 -07:00
ekatek
0b98b86164 constraint solver interface changes 2014-05-09 17:11:34 -07:00
Slava Kim
c501754c5c Redefine the interface to PackagesResolver
Allow it to take dependencies and constraints separately
2014-05-09 17:10:18 -07:00
Slava Kim
3d39d5852e Allow constraint solver to work with versions of type "1.2.3+local"
Also prevent it from infinite looping
2014-05-09 16:50:35 -07:00
Slava Kim
e6256cb59a Get rid of slices. Allow adding the same dep/constraint more than once. 2014-05-09 16:26:53 -07:00
David Glasser
e0efa35763 get uniload of constraint-solver working
now we get stuck on slices
2014-05-09 16:02:01 -07:00
ekatek
0aef33f24b break the catalog correctly 2014-05-09 15:53:14 -07:00
ekatek
9e6295be95 re-adding the constraint solver to try and fix this 2014-05-09 15:18:17 -07:00
ekatek
229802020e removed constraint solver package in case it is a bad merge 2014-05-09 15:16:18 -07:00
ekatek
f2d3972857 integration mostly works except for bizarre constraint solver output bug 2014-05-09 15:15:45 -07:00
ekatek
c2edefa9d0 automated git merge complete 2014-05-08 16:29:52 -07:00
Slava Kim
c2829941e7 fix the test 2014-05-08 16:13:15 -07:00
Slava Kim
05b4d5e368 Fix extra plus sign 2014-05-08 16:05:55 -07:00
Slava Kim
002138bee6 basic error reporting works 2014-05-08 15:11:15 -07:00
ekatek
472036f755 record the compiler version at publish. (Maybe we should not?) 2014-05-08 00:01:41 -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
ekatek
8b0050ac5b do some safety checking on versions when published from checkout 2014-05-07 22:49:14 -07:00
Slava Kim
3a61c50e97 wip: some progress towards basic error reporting 2014-05-07 15:58:37 -07:00
David Glasser
55f996fc6c use tree hash instead of tarball hash
less sensitive to mtime, uid, etc
2014-05-07 15:44:11 -07:00
David Glasser
b710088247 use catalog better 2014-05-07 14:45:55 -07:00
David Glasser
5e72f55eb2 compare built tarball hash instead of buildid
buildids just change too damn much.  oh no, you changed a comment in
random which is transitively used by templating which processes .html, I
guess you need to bump all the versions of all packages with .html?
that sucks.  how about only changing it if the EFFECT of the build is
changed?

this does have some subtleties around platform-specific versions but we
think we have a good compromise
2014-05-07 14:12:25 -07:00
David Glasser
8986edc5d0 allow saveToPath twice 2014-05-07 13:55:31 -07:00
David Glasser
b4bd24b113 'meteor create' should output writable files
(this is a followup to the commit where we made files.cp_r preserve
exectubility, which was messing up the +x bit on the meteor-tool
package)
2014-05-07 13:42:36 -07:00
ekatek
6569f50df1 cleanup our publishing releases 2014-05-07 11:51:16 -07:00
Slava Kim
8932dc2077 wip: error reporting 2014-05-06 18:53:52 -07:00
ekatek
d399fe70cb Publish a release from checkout. With all the packages. 2014-05-06 18:46:52 -07:00
David Glasser
4c84c93bb3 send compiler inputs hash (aka build id) to the server 2014-05-06 17:04:00 -07:00
David Glasser
fc3b3fd7c4 Reorder meteor publish
Now we don't create records on the server for things that don't build
2014-05-06 16:41:20 -07:00
ekatek
f5838dbf07 upload info used later fixed 2014-05-06 15:30:28 -07:00
ekatek
3795a6b0e2 releases for package.js files, first pass 2014-05-06 14:48:01 -07:00
ekatek
e76aa1bab7 releases for package.js files, first pass 2014-05-06 14:15:54 -07:00
ekatek
d2d82556f3 add release file to this test 2014-05-06 13:42:18 -07:00
ekatek
9cc56aab97 look at release packages when running with a release 2014-05-06 13:41:57 -07:00
ekatek
e3abdab501 the right one this time 2014-05-05 20:03:27 -07:00
ekatek
4ebfb41352 save the unipackage to the same directory as the one we send to the server 2014-05-05 20:00:28 -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
Emily Stark
c77b28ed32 WIP: track which direct deps induced which constraints.
Completely untested. Moving in the direction of error reporting.
2014-05-05 17:14:38 -07:00
ekatek
603ec3a979 upload releases to the server 2014-05-05 15:33:00 -07:00
ekatek
6d7e097fc0 keep releases in catalog 2014-05-05 14:56:44 -07:00
ekatek
2eac771902 change rebuild-all to rebuild and allow to rebuild singular packages; enforce lowercase package names; cleanup 2014-05-04 16:59:15 -07:00
ekatek
031890d2c5 don't store buildtime deps in the catalog 2014-05-04 16:56:58 -07:00
David Glasser
714f98f9fe allow explicit override of package server 2014-05-02 17:52:27 -07:00
David Glasser
9281f3128c we subtley broke publish-for-arch; be less subtle 2014-05-02 17:25:21 -07:00
David Glasser
a3701b7c94 Get plugins from implied dependencies
This means that standard-app-packages in your app is enough to get
'.html' and '.css' processing working, and apps work again.

This is a bit of a hack: we'd rather just make build time deps
directDependencies contain implied dependencies too instead of sticking
the entire constraint solver output in the database.
2014-05-02 17:04:53 -07:00
David Glasser
6ccde87f56 Merge branch 'publish-packages' into library-refactor 2014-05-02 14:30:15 -07:00
David Glasser
4a3b24af3d Put tropohouse in .meteor0 for now 2014-05-02 14:28:52 -07:00
David Glasser
3cbcf05438 remove 'meteor run-command'
We never really used it for anything, and it uses uniload in a
now-unsupported way (uniload in a built release now only can load a
predefined set of prebuilt packages)
2014-04-28 19:59:59 -07:00
David Glasser
51ff16aac3 update uniload comment 2014-04-28 19:58:04 -07:00
David Glasser
f9bd956ee9 uniload works in built and git!
we still need a concept of releases in order to actually bundle apps
from a built tool
2014-04-28 19:53:26 -07:00
David Glasser
4702e9ff16 adjust paths for new tools layout
disable springboarding
2014-04-28 17:17:05 -07:00