ekatek
36a1d4edcc
update the versions before running list
2014-04-04 18:42:23 -07:00
ekatek
016915f6f9
read name in package.js
2014-04-04 18:42:23 -07:00
ekatek
5b11956bed
Modify test app packages to include versions
2014-04-04 18:42:23 -07:00
ekatek
9fe9c97f1c
merging in catalog speed up
2014-04-04 18:42:23 -07:00
ekatek
0530d57e11
some hack on config to be able to talk to the test package server
2014-04-04 18:41:51 -07:00
ekatek
fb26f842c7
use test server for now
2014-04-04 18:41:51 -07:00
Emily Stark
95ce273b0f
Clean up direct deps vs. plugin-providing direct deps.
...
Unipackage always has all direct deps now, but `checkUpToDate` and
`getBuildIdentifier` only consider the set of direct deps that provide
plugins.
Catalog versions now get updated during initialization, so after the
catalog is initialized, you can look up versions that include build ids.
2014-04-03 18:39:29 -07:00
Emily Stark
290c711940
Add builtBy to build id
2014-04-03 13:49:05 -07:00
Emily Stark
ab0c0fa1ad
Use source paths relative to packages dir in build ids
2014-04-03 13:46:57 -07:00
Emily Stark
7d1538e45d
comment
2014-04-03 12:30:19 -07:00
Emily Stark
b0939512c0
Factor out getBuildIdentifier and add option for relativizing paths
2014-04-03 12:29:47 -07:00
Emily Stark
c443cee5cd
Use direct deps that contain plugins in build ids.
2014-04-02 14:26:30 -07:00
Emily Stark
65e17f5d6d
Fix buildDir of package cache entry after fresh build.
2014-04-01 11:12:48 -07:00
Emily Stark
01ea1feee0
Remove direct deps from build id computation.
...
We don't need the direct deps in the build id: if I'm a package and my
direct dependencies change, then no one who depends on me has to
rebuild. On the other hand, if my plugin's (transitive) dependencies
change, then anyone who directly depends on me does need to rebuild
because my plugins need to re-run.
2014-04-01 10:57:52 -07:00
Emily Stark
42ef8d3714
Minor build id cleanup
2014-03-31 22:14:21 -07:00
Emily Stark
3e60740952
Revert "Minor build id cleanup"
...
This reverts commit 877be7b33e .
Accidentally included a whole bunch of debugging stuff.
2014-03-31 22:12:27 -07:00
Emily Stark
877be7b33e
Minor build id cleanup
2014-03-31 22:09:58 -07:00
Emily Stark
1989702e07
Separate bootstrapping from localPackageDirs in catalog initialization.
...
Previously, if localPackageDirs contained an app package that used a
troposphere package, the constraint solver would bomb out on that app
package. This commit separates out the checkout packages that we need for
bootstrapping catalog initialization from other local packages, which
are allowed to use troposphere packages.
2014-03-31 21:32:39 -07:00
Emily Stark
9c3d6e03f9
Fix mysterious inconsistency in PackageLoader.versions format.
...
Also fix some indentation.
2014-03-31 21:31:04 -07:00
Emily Stark
c375b58c6b
Fix a PackageLoader argument
2014-03-31 21:28:32 -07:00
Emily Stark
419a343b81
Rename a variable.
...
serverPackageData -> allPackageData
2014-03-31 21:27:58 -07:00
Emily Stark
29d8883a35
Store build-time deps with package version.
...
Use the build-time deps determined at compile time in 'meteor
publish-for-arch'.
2014-03-31 20:12:09 -07:00
Emily Stark
b3a8944167
Merge branch 'library-refactor-buildids' into library-refactor
2014-03-31 09:09:43 -07:00
Emily Stark
2bab6940b0
Merge branch 'library-refactor-downloads' into library-refactor
2014-03-31 09:09:32 -07:00
Emily Stark
2ca550ae6e
Fix incorrect PackageLoader constructor arguments
2014-03-30 21:55:52 -07:00
Emily Stark
e3b9c09319
Remove another XXX
2014-03-30 20:40:31 -07:00
Emily Stark
ae506b6707
Remove packageDirectoryForBuildInfo.
...
We used to keep the `packageDirectoryForBuildInfo` of every package that
a package directly depends on in its buildinfo.json; if direct
dependencies change, then we might need to rebuild because they could
have registered or unregistered a plugin. Now we just keep the package
name and version (including build for our local packages) of our direct
dependencies.
2014-03-30 20:40:31 -07:00
Emily Stark
62153ce0b0
Remove a couple completed XXXs
2014-03-30 20:39:39 -07:00
Emily Stark
1b66cf60d7
Use build-time deps in checkUpToDate
2014-03-30 20:39:39 -07:00
Emily Stark
af195e2f48
Store and read build-time deps in unipackage buildinfo.json
2014-03-30 20:39:39 -07:00
Emily Stark
9d174696e7
Remove outdated comment
2014-03-30 20:39:39 -07:00
Emily Stark
58e4a31df8
Fix WatchSet.merge to actually merge files.
...
Not sure why this was commented out?
2014-03-30 20:39:39 -07:00
Emily Stark
f55c501ae9
Fix checks before computing build id
2014-03-30 20:39:39 -07:00
Emily Stark
601393d90f
Set officialBuild flags on 'publish' and 'publish-for-arch'
2014-03-30 20:39:39 -07:00
Emily Stark
8d0f57ef59
serverPackageData can be null
2014-03-30 20:39:39 -07:00
Emily Stark
077437bea6
Merge plugin/slice watch sets before including in build id
2014-03-30 20:39:39 -07:00
Emily Stark
9f3ff7da0f
WIP: compute build ids and add to versions.
...
Utterly untested.
2014-03-30 20:39:38 -07:00
Emily Stark
8382013dd7
Allow circular deps when initializing catalog if already built.
...
Previously, we could only run any commands at all on this branch because
of a typo that was causing us to ignore all plugin dependencies when we
computed build-time dependencies (fixed in f94fd9d). This commit puts us
back in the state we thought we were in (things mostly work if you have
package builds cached from a different meteor branch).
2014-03-30 20:38:53 -07:00
Emily Stark
a6152c392c
Fix typo in computing build-time plugin dependencies
2014-03-30 20:30:08 -07:00
ekatek
2a833a224d
Revert "hax"
...
This reverts commit 5f4b44316d .
2014-03-30 00:54:50 -07:00
ekatek
5f4b44316d
hax
2014-03-28 11:12:35 -07:00
Emily Stark
86835b521b
Fix check for already-existing constraint
2014-03-27 22:53:43 -07:00
Emily Stark
bdc3257d6e
Fix typos and undefined things
2014-03-27 22:48:30 -07:00
Emily Stark
9def0fafd7
Defer PackageSource import from project to avoid circular dep.
2014-03-27 22:16:07 -07:00
Emily Stark
7f814871d5
Make constraint solver accept multiple constraints per package
2014-03-27 14:23:23 -07:00
Emily Stark
d572363d62
WIP: include programs' deps in an app's direct dependencies
2014-03-27 13:48:18 -07:00
Emily Stark
e3f11c733a
Download package builds when we write to versions file.
2014-03-26 21:37:13 -07:00
Emily Stark
55d8e03978
Save build to disk after building during publish
2014-03-26 15:06:14 -07:00
Emily Stark
06e4f062b9
Add ServiceConnection.apply
2014-03-26 14:43:17 -07:00
ekatek
f9357c0775
remove underscroe, better errors
2014-03-26 14:35:09 -07:00