Matthew Arbesfeld
9f2ee36e60
Merge branch 'packaging' into cordova-hcp
...
Conflicts:
packages/constraint-solver/constraint-solver-tests.js
packages/constraint-solver/constraint-solver.js
packages/less/plugin/compile-less.js
packages/meteor/plugin/basic-file-types.js
packages/star-translate/translator.js
packages/stylus/plugin/compile-stylus.js
packages/templating/plugin/compile-templates.js
packages/webapp/webapp_server.js
tools/bundler.js
tools/commands.js
tools/compiler.js
tools/package-source.js
tools/run-app.js
tools/selftest.js
tools/tests/old/test-bundler-assets.js
tools/tests/old/test-bundler-options.js
tools/unipackage.js
2014-08-06 13:43:56 -07:00
ekatek
ad708ca569
this should fix local versionsFrom in most cases and is technically right
2014-08-05 13:31:24 -07:00
David Glasser
62db7b694c
api.versionsFrom may only be called once
2014-08-05 13:17:26 -07:00
ekatek
9d5aa280c3
invalid release should be a buildmesage, not an error
2014-08-01 00:13:08 -07:00
Matthew Arbesfeld
8bcbd65344
Separate "browser" target into web.browser/cordova
...
Cordova projects often have a different set of files than web targets,
so we would like to be able to target different client architectures in
our bundles. Ideally, we allow the user to use arbitrary client
architectures - but this patch is a step in the right direction by
abstracting out more of the hard coded "browser"/"os" lines.
We accomplish this separation in a backwards compatible way by allowing
api.___ commands to target a "client" architecture. For example,
api.addFiles('a.js', 'client') adds 'a.js' to both the 'client.browser'
and 'client.cordova' targets.
Effects on 0.9 packaging stuff: packages don't have to change, but the
"data.json" file in ".meteor0" has "browser" in some places. We think we
have to fix the troposphere code where this data.json is created.
Some plugins will also be backwards-incompatible with this change, since
many have a "clientArch.matches("browser")" line in the plugin
code. Ideally, we fix plugins so that this stops being an issue, but for
now package authors can just patch that line.
At the compiled (unipackage) level the new names are 'web.browser' and
'web.cordova', replacing 'browser'. In package.js, the new names are
'client.browser' and 'client.cordova', serving as an adjunct to 'client'.
2014-07-31 14:12:15 -07:00
David Glasser
4a231a4c76
improved error handling around bad versions
2014-07-25 14:39:30 -07:00
Matthew Arbesfeld
960f8907d3
Merge branch 'packaging' into cordova-hcp
...
Conflicts:
packages/constraint-solver/constraint-solver.js
packages/webapp/webapp_server.js
tools/tests/package-tests.js
2014-07-25 13:52:34 -07:00
Avital Oliver
a533f1ed5d
When calling versionsFrom with no track, default to METEOR-CORE
...
Also a small restructuring I thought I'd need for this test, but ended
up not needing. But it's nice anyways.
2014-07-23 20:25:50 -07:00
Emily Stark
bc7b92a643
Experiment: remove unknownItem flag
...
Simplifies loading unknown packages/releases.
2014-07-23 17:54:16 -07:00
Matthew Arbesfeld
72c3df7c89
Only accept exact version of Cordova plugins in packages.
2014-07-23 11:13:15 -07:00
ekatek
1e1f4b2e8a
catalogs talk to each other
2014-07-22 18:40:25 -07:00
Slava Kim
f278422835
Extract isUrlWithSha to utils
...
npm and cordova plugins code use it
2014-07-22 13:57:37 -07:00
Slava Kim
b64a644671
Merge branch 'packaging-matt-cordova' into packaging-client-archs
...
Contains commands for cordova (ie `meteor cordova serve`) and tests for them.
2014-07-22 13:15:26 -07:00
ekatek
3b4c9098a9
test for sync
2014-07-21 14:05:45 -07:00
Matthew Arbesfeld
fba32514e3
Something working
2014-07-18 16:42:42 -07:00
Matthew Arbesfeld
fb5cf61a8e
Add multiple client arches, this is a WIP
2014-07-17 20:53:47 -07:00
Matthew Arbesfeld
50ec6b68ea
wip
2014-07-17 16:11:52 -07:00
Matthew Arbesfeld
c3891fc823
wip
2014-07-16 14:24:59 -07:00
Matthew Arbesfeld
31fed52751
Remove some logs
2014-07-11 14:05:00 -07:00
Matthew Arbesfeld
0869b93392
Something basic working
2014-07-11 14:05:00 -07:00
Matthew Arbesfeld
7eb0e6c91b
Builds individual client packages
2014-07-11 14:04:59 -07:00
ekatek
01102d2d44
getting rid of githubUrl and replacing it with git
...
Conflicts:
tools/package-source.js
2014-07-09 14:32:59 -07:00
ekatek
a6858083d4
move to camelcase for onUse and onTest handlers. Tests coming up as part of improving create --package
2014-07-08 22:41:21 -07:00
ekatek
b9a714f028
ripping out internal, name and test from package.js files
2014-07-07 20:50:50 -07:00
ekatek
594a825b66
allow override in getting release version from an uninitialized catalog
2014-06-30 16:53:43 -07:00
ekatek
fee935e24a
rename versions files and don't write versions files for tests
2014-06-30 15:25:43 -07:00
ekatek
ba2c483af5
make the prefix local-test
2014-06-30 15:25:31 -07:00
ekatek
1009e0ec2a
rename the test postfix to prefix
2014-06-30 15:25:19 -07:00
David Glasser
16a44ed9cf
packages/non-core/foo is not in core
2014-06-26 13:53:14 -07:00
David Glasser
f2e1ef9946
more error for the thing we're seeing
2014-06-26 13:53:14 -07:00
David Glasser
cffc1ed1cc
camelcase api.versionsFrom and api.addFiles
...
Leave around api.add_files so as to not break literally every
package. Leave our own uses of it alone until after merging to devel, so
that merging package.js files isn't a nightmare.
2014-06-24 16:11:30 -07:00
ekatek
2db65c09a7
renaming soure to versions_from in package-source api
2014-06-24 15:50:26 -07:00
ekatek
459b1a588e
replacing repositoryUrl with homepage and adding an optional githubUrl field to version
2014-06-23 17:10:02 -07:00
David Glasser
4f3aa0fc53
initial checkpoint for "buildArchitectures"
...
this is a string like "browser+os"
2014-06-17 17:48:08 -07:00
David Glasser
87eb6977a7
package-loader and package-source
2014-06-17 17:33:56 -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
David Glasser
a2663aeaaf
follow-up to 15389fa740
2014-06-17 09:45:01 -07:00
ekatek
15389fa740
don't throw if there is no specified version, unless told to. Mostly because programs don't need versions anymore
2014-06-16 23:06:10 -07:00
ekatek
bb77100672
DO NOT remove the : character when sanitizing paths. That breaks NPM for packages
2014-06-16 21:03:07 -07:00
ekatek
722a99bb09
cleanup
2014-06-16 14:49:36 -07:00
ekatek
8ff8040924
no longer require test & name in package.describe
2014-06-16 14:38:47 -07:00
ekatek
9244e13626
mark core packages
2014-06-15 16:29:03 -07:00
ekatek
73a39de634
force packages to specify dependency constraints
2014-06-15 16:29:03 -07:00
David Glasser
2412a3493f
don't expect version file to definitely be there
...
hacks upon hacks, my friend.
2014-06-13 17:31:48 -07:00
ekatek
0633b4855d
write out version files, except for packages in checkout
2014-06-07 16:49:56 -07:00
ekatek
b97f7c5a76
renamed some catalog variables, more cleanup around catalog
2014-05-27 16:07:43 -07:00
ekatek
f70099c992
apps run tests do not
2014-05-21 17:41:18 -07:00
ekatek
6f3504a2d3
project refactoring, wip 1
2014-05-21 15:42:12 -07:00
ekatek
9b2c11f9ce
temporary disabling of version locks
2014-05-20 11:16:24 -07:00
ekatek
81724216c8
use _.clone to assign versions
2014-05-13 11:44:14 -07:00