Commit Graph

40 Commits

Author SHA1 Message Date
Ben Newman
3557d31347 Give POSIX paths without drive letters to glob on Windows. 2016-09-13 15:23:11 -04:00
Ben Newman
a6b42cc418 Make includeNonCore true by default in getAllNonTestPackageNames. 2016-09-13 13:58:43 -04:00
Ben Newman
4abaa5eb20 Exclude non-core packages from localCatalog.getAllNonTestPackageNames.
This should prevent `meteor admin publish-release` from unnecessarily
checking the consistency of non-core packages.
2016-09-13 13:09:05 -04:00
Ben Newman
3fce5e6f93 Accept glob patterns for local package search directories. 2016-09-09 13:28:16 -04:00
Ben Newman
e4e87ecce4 Don't touch ~/.meteor/meteor after background updates. (#7616) 2016-08-10 16:53:56 -04:00
Ben Newman
536eecea01 Log package extraction and loading separately from downloading.
https://github.com/meteor/meteor/pull/7457#issuecomment-235881746

Helps with #7283.
2016-07-28 14:46:49 -04:00
Ben Newman
2c67d64585 Use getUrlWithResuming in downloadPackagesToWarehouse. 2016-07-28 14:43:47 -04:00
Zoltan Olah
720c8cdd5f Merge pull request #7373 from meteor/laosb-override-warehouse-base-url
Ability to override the default warehouse url base
2016-07-26 15:13:00 -07:00
Tom Coleman
cc07c15b6b First pass at request resuming via buffering the range header
This is still a WIP, but I wanted to get feedback at this point.
Will update the PR with outstanding TODOs.
2016-07-14 11:47:30 -04:00
Wexpo Lyu
a8b8038d95 Ability to override the default warehouse url base
Hope this one does override!
2016-07-09 16:17:45 +08:00
Ben Newman
e2dbb6093e Always call updateMeteorToolSymlink after successful update.
https://github.com/meteor/meteor/pull/7340#issuecomment-231254368
2016-07-08 13:44:04 -04:00
Ben Newman
303df5351d Merge branch 'devel' into release-1.3.3 2016-05-19 18:34:20 -04:00
Ben Newman
f6b75305b3 Pay attention to unibuild.arch when determining usesModules.
Fixes #6877.
2016-05-17 14:27:56 -04:00
Ben Newman
861880b882 Rebuild binary npm packages whenever process.versions differs.
Recording process.versions allows us to be much more aggressive about
rebuilding binary dependencies whenever the version of Node/V8 might have
changed, even if the package was not just downloaded.
2016-05-16 18:21:12 -04:00
Ben Newman
d94e7d812d Upgrade dev bundle meteor-promise to 0.7.1. 2016-05-16 18:21:11 -04:00
Ben Newman
ff621a88fe Rebuild non-portable Meteor packages when downloaded.
Together with c18c1f5278, this commit is a
big step towards liberating Meteor from Node 0.10.

Part of #5124.
2016-05-16 18:21:07 -04:00
Wexpo Lyu
e4355b3d09 Ability to override the default warehouse url base
Use `METEOR_WAREHOUSE_URLBASE` to do so.
2016-05-14 08:19:51 +08:00
Ben Newman
a847988be7 Omit lazy resources from unibuild JSON files when not using modules.
Fixes #6618.
Fixes #6484.
2016-03-31 20:09:53 -04:00
Ben Newman
3f3222938b Make bundleSource file copying more robust.
When we call readAndWatchFileWithHash, if the file does not exist, we
still want to add it to the watchSet with a null hash. Later, however, we
have to be careful we do not assume every file in watchSet.files exists.
2016-03-14 23:21:22 -04:00
Avital Oliver
a335875e19 Merge remote-tracking branch 'origin/release-1.3' into app-tests 2016-02-05 14:57:44 -08:00
David Greenspan
6acaa57398 Hook "Updating package catalog" for profiling 2016-02-05 10:04:42 -08:00
David Greenspan
601cfbcebd Don't re-parse versions during sorting; profiling
- We don't want to do a bunch of parsing *per comparison* when sorting
  a list of package version strings.  package-version-parser's `compare`
  (and server's `compare`, which it uses) both accept either a string
  or a parsed record.  By parsing explicitly with memoization, we avoid
  a super-linear blow-up in the amount of parsing.  This'll save someone
  half a second, at least.
- Adjust profiling hooks and messages
- Expose `Profile` to isopackets
2016-02-05 10:04:31 -08:00
Avital Oliver
6682972c3a Implement "testOnly" packages
These packages are only bundled with the app when running
`meteor test-app`.
2016-02-01 22:18:00 -08:00
Ben Newman
8b71f9986c Eliminate Future from tools/package-client.js. 2015-12-09 12:06:50 -05:00
Ben Newman
7ac15ca0b5 Eliminate Future from tools/catalog-remote.js. 2015-12-09 12:06:46 -05:00
Ben Newman
cba119ea5d Eliminate spurious require('fibers/future') calls in various files. 2015-12-09 12:06:45 -05:00
Rahul
86722645be Typo 2015-11-25 14:37:47 +01:00
Ben Newman
ed17924940 Add braces to every if/for(-in)/while statement in tools directory. 2015-11-13 12:25:19 -05:00
Sashko Stubailo
32fbe0ce15 Only do the newer release check for non-recommended releases 2015-09-11 17:18:36 -07:00
David Greenspan
bbaffb983d Revert unintentionally committed console.logs 2015-08-11 12:21:32 -07:00
David Greenspan
ce1e6b5c27 more version bumps (caused by promise) 2015-08-11 12:09:33 -07:00
David Greenspan
a63dc1f5c2 Support prodOnly in addition to debugOnly
It's very useful to be able to include code only in production.  It's
useful for React integration, but presumably also for many apps.

* Add prodOnly boolean flag alongside debugOnly in Package.describe

* Packages the set prodOnly to true auto-depend on isobuild:prod-only
  (making them error in the old tool where prodOnly isn't supported)

* The `includeDebug` boolean build option is replaced by a string
  named buildMode, which can be 'development' or 'production', just
  like minifyMode.

Tested by self-test.
2015-08-06 16:49:26 -07:00
Slava Kim
afee6b07c7 move catalog/ into packaging/ 2015-08-06 16:39:01 -07:00
Slava Kim
39d8aef3d9 move files into console/ tool-testing/ 2015-08-06 16:39:00 -07:00
Slava Kim
f49de5b9ac Move files connecting to Meteor-provided services
to a separate folder
2015-08-06 16:00:39 -07:00
Slava Kim
76b001d0da Kill some dead code 2015-08-05 15:03:53 -07:00
Slava Kim
d11a695cc2 mvp readme for packaging 2015-08-03 23:36:54 -07:00
Slava Kim
6b1bb038d8 Move files into tools/fs 2015-08-03 22:09:28 -07:00
Slava Kim
8a8db83d29 Move files into tools/utils 2015-08-03 20:32:38 -07:00
Slava Kim
36b542f822 move files into tools/packaging 2015-08-03 16:03:15 -07:00