ekatek
4565c2d262
For direct dependencies only plugins affect buid
2014-03-14 17:25:40 -07:00
Geoff Schmidt
6c993f1ea2
first draft of 3-phase local package builder
2014-03-14 01:14:47 -07:00
Geoff Schmidt
2d0472f08d
rename unipackage-class.js to unipackage.js
2014-03-13 21:48:22 -07:00
Geoff Schmidt
688f7b3643
rename unipackage.load to uniload.load
2014-03-13 21:47:12 -07:00
Geoff Schmidt
2426201663
Update some package users to the new API. Add some missing requires.
2014-03-13 21:42:32 -07:00
Geoff Schmidt
a1d3f4db44
WIP determining build time dependencies
2014-03-13 21:20:30 -07:00
Geoff Schmidt
0f47a7d5c6
Simplify checkUpToDate handling
2014-03-13 18:58:37 -07:00
Geoff Schmidt
1bf4ffba80
WIP: complete split of packages.js into three files.
...
Doesn't run yet.
2014-03-13 17:39:08 -07:00
ekatek
79b4a6babc
splitting packages.js wip
2014-03-13 15:09:59 -07:00
ekatek
5d41a15a34
splitting up packages.js wip
2014-03-13 13:52:51 -07:00
Geoff Schmidt
949361bae0
Remove the final references to Library and delete it!
2014-03-12 22:18:39 -07:00
Geoff Schmidt
537cbf32ab
Clean up catalog initialization.
...
Remove dependency on minimongo, which we can't load until the catalog is initialized
2014-03-12 21:04:52 -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
a8788a8084
make package-loader take null version argument for local packages only
2014-03-12 14:56:08 -07:00
ekatek
806b740a6b
removing confused comment
2014-03-12 12:15:58 -07:00
ekatek
78315cb37e
Comment changes and removing a require from builder
2014-03-12 12:13:51 -07:00
ekatek
70b24926f3
better singleton naming
2014-03-12 11:57:08 -07:00
ekatek
a87b0502b0
instantiate singletons differently in accordance with style guide
2014-03-12 11:19:16 -07:00
ekatek
cfd0474f75
minor help clarifications
2014-03-11 22:04:12 -07:00
ekatek
6ef6addab9
A better add
2014-03-11 21:59:31 -07:00
ekatek
149f81f727
Adding local package dirs to catalog
2014-03-11 21:32:35 -07:00
ekatek
3273897a71
PackageCache as singleton. Miscellaneous attempts to clean up
2014-03-11 21:27:13 -07:00
ekatek
839c928925
convert catalog into a singleton in catalog.js
2014-03-11 20:35:38 -07:00
Geoff Schmidt
5f0d1714eb
WIP: Break Library into PackageLoader, PackageCache, Catalog
2014-03-11 18:10:28 -07:00
Geoff Schmidt
3f8beb0935
unipackage.load no longer takes a library
2014-03-11 14:42:42 -07:00
David Glasser
1669a2bd77
cross-linking support, more or less
...
should be moved to deploy, not bundle (well, and as an argument to bundle)
2014-03-07 14:57:59 -08:00
Geoff Schmidt
50fc8053b1
unbreak package publishing
2014-03-07 12:46:37 -08:00
Geoff Schmidt
b216de9555
return cleanly from add-package rather than call process.exit
2014-03-07 12:36:45 -08:00
Geoff Schmidt
f34be8de6a
(more) nicely present error messages at publish time
2014-03-07 12:35:14 -08:00
ekatek
5e2b655dc5
removing the hack that counteracted glasser's thing
2014-03-07 12:06:23 -08:00
Geoff Schmidt
4b83a1ed18
Clean up version plumbing. Provide a default earliestCompatibleVersion if none set.
...
Note that previous to this point earliestCompatibleVersion
was not being written to unipackages (even if manually set) so
if you have problems try republishing everything.
2014-03-07 12:00:20 -08:00
Geoff Schmidt
66b7253695
Take all packages to 1.0.0 (that aren't already there)
2014-03-07 12:00:20 -08:00
Emily Stark
07c016c595
Add publish-for-arch command
2014-03-07 11:24:22 -08:00
ekatek
78497c0b6b
Read versions instead of packages in the packages.js hack
2014-03-07 11:18:36 -08:00
Geoff Schmidt
f26c8f42e5
safety belt around removing buildinfo.json
2014-03-07 08:54:43 -08:00
David Glasser
dfa497188d
change how builds/arches work
...
- builds are downloaded to
~/.meteor/downloaded-builds/foo/1.0.0/browser+os
- but this is not where packages are loaded from
- instead, we "merge" multiple packages together and move them into
~/.meteor/packages
This commit does not yet implement "oh, we need another arch now?
ok. download and merge it." Well, it implements "download it" but not
"merge it".
This drops catalog.getAnyBuild and a reference to "browser+os" in
packages.js, yay
2014-03-07 02:32:54 -08:00
Geoff Schmidt
3b50eb0b16
s/unlink/unlinkSync
2014-03-07 02:30:05 -08:00
Geoff Schmidt
70c6707d62
Don't publish buildinfo.json
2014-03-07 02:27:11 -08:00
Geoff Schmidt
a801590360
versions file: lose spurious commas, and sort
2014-03-07 02:06:12 -08:00
Geoff Schmidt
8deaa02b27
fewer newlines in .meteor/versions
2014-03-07 01:36:30 -08:00
Geoff Schmidt
7919804bfd
When running from a checkout, Catalog includes checkout packages!
2014-03-07 01:34:58 -08:00
Geoff Schmidt
4d114ef617
Set some (not all, yet) packages to version 1.0.0
2014-03-07 01:33:37 -08:00
Geoff Schmidt
2a2bebfd55
Factor out getDependencyMetadata onto Package
2014-03-07 01:18:09 -08:00
Slava Kim
926305bae0
Support "none" dependencies (no constraint)
2014-03-07 00:17:19 -08:00
Slava Kim
fb150e03be
Tests for "none" dependency (which will be equal to null dep.) - no strong constraint
2014-03-07 00:17:19 -08:00
Emily Stark
856e665268
Temporarily stub out the catalog for constraint-solver tests
2014-03-07 00:15:14 -08:00
David Glasser
2764d02ab5
refactor package download stuff into tropohouse
...
also fix some punctuation of messages, etc
2014-03-07 00:14:13 -08:00
David Glasser
a13e53a06c
don't not be able to run apps
2014-03-06 23:44:26 -08:00
David Glasser
d4f95d2c0c
write node modules correctly for fat packages
...
also, fix generateFilename("x", {directory: true}) to actually generate
a unique x.
2014-03-06 23:04:10 -08:00
David Glasser
17c145675f
extract _loadSlicesFromUnipackage
2014-03-06 23:04:10 -08:00