Commit Graph

12692 Commits

Author SHA1 Message Date
Slava Kim
04135ffa41 Add a draft of a PS1 devbundle script 2015-01-20 22:06:57 -08:00
Slava Kim
83dd44bdd6 exclude some npm modules from windows version of dev bundle 2015-01-20 22:06:57 -08:00
Sashko Stubailo
06abed8fa4 Add logging of longest builder paths 2015-01-20 22:06:57 -08:00
Slava Kim
ced465286a Disable pathwatcher on Windows by default 2015-01-20 22:06:57 -08:00
Sashko Stubailo
efca9d5ce5 Remove extra line 2015-01-20 22:06:57 -08:00
Sashko Stubailo
23359c83ef Fix absolute-ish paths on Windows 2015-01-20 22:06:57 -08:00
Sashko Stubailo
3510ac3fd9 Fix race condition inside mkdir_p 2015-01-20 22:06:57 -08:00
Sashko Stubailo
517bd5ec51 Convert paths and add --unpacked option to tarball 2015-01-20 22:04:24 -08:00
Sashko Stubailo
9255e14d3f Replace exec with spawn on Windows, need to test this 2015-01-20 22:04:24 -08:00
Slava Kim
296d765cca Package.js:api.addFiles and Assets.get* accept both type of paths 2015-01-20 22:04:24 -08:00
Sashko Stubailo
67529cee6b Use correct args 2015-01-20 22:04:23 -08:00
Sashko Stubailo
63c98725b8 Use cross-spawn 2015-01-20 22:04:23 -08:00
Sashko Stubailo
1d8491d916 Make linking to meteor tool work 2015-01-20 22:04:23 -08:00
Slava Kim
d165837bd9 Convert the path to the OS style on Npm.require 2015-01-20 22:04:23 -08:00
Slava Kim
3c8834ca8c Some paths don't have to be absolute 2015-01-20 22:04:23 -08:00
Slava Kim
afb27037bd Convert paths back and forth when passing them to plugins
Because plugins should not suffer from our "genius" scheme of handling Windows
and Unix paths in the same codebase.
2015-01-20 22:04:23 -08:00
Slava Kim
c81896171f Remove ':' from the list of allowed characters by builder
also temporarily throw an error for easier debugging
2015-01-20 22:04:23 -08:00
Slava Kim
deb03e3932 A preferred bundle path for node_modules never contains a colon 2015-01-20 22:04:23 -08:00
Slava Kim
1565475894 Never generate colons in file paths or serve paths
When building isopacks
2015-01-20 22:04:23 -08:00
Slava Kim
bb032e7e1e Never use url.resolve as a substitute for files.pathJoin
even if it makes more sense semantically, url.resolve has a very different
behavior
2015-01-20 22:04:23 -08:00
Sashko Stubailo
a737d47aef Convert to OS path when running git 2015-01-20 22:04:23 -08:00
Sashko Stubailo
60c0f5e359 Make writing packages on Windows not use symlinks 2015-01-20 22:04:22 -08:00
Sashko Stubailo
ea3a316a74 Fix deploy by applying correct permissions to tarball 2015-01-20 22:04:22 -08:00
Slava Kim
8969d82e61 A step towards converting all formats in one place 2015-01-20 22:04:22 -08:00
Slava Kim
40f572ebb1 Refactoring of isopack formats conversions 2015-01-20 22:04:22 -08:00
Slava Kim
68fc748dc1 Convert the path for tar extractor 2015-01-20 22:04:22 -08:00
Slava Kim
d5a51292a4 Fix rimraf call from rm_recursive 2015-01-20 22:04:22 -08:00
Slava Kim
1abcfb5d59 Adapt paths from tarballs deployed by current Meteor
Replace colons with underscores
2015-01-20 22:04:22 -08:00
Sashko Stubailo
5f1407aba9 Convert paths in _spawn 2015-01-20 22:04:22 -08:00
Sashko Stubailo
2ad757275a Make stripLeadingSlash not reject relative paths 2015-01-20 22:04:22 -08:00
Sashko Stubailo
baf410a236 Forgot to return 2015-01-20 22:04:22 -08:00
Sashko Stubailo
e16e051090 Also convert dbPath 2015-01-20 22:04:21 -08:00
Sashko Stubailo
387cc5cb5d Factor out spawning mongod 2015-01-20 22:04:21 -08:00
Sashko Stubailo
459f20e3fa Improve converting line endings 2015-01-20 22:04:21 -08:00
Sashko Stubailo
ddfebbb1b5 Correctly use CARRIAGE_RETURN from Console 2015-01-20 22:04:21 -08:00
Slava Kim
4bfb2f7780 Don't use path.X in files.js 2015-01-20 22:04:21 -08:00
Slava Kim
727b48d3fa Fix path.join and similar bugs 2015-01-20 22:04:21 -08:00
Slava Kim
9ed25775fe Fix files and path calls in some places 2015-01-20 22:04:21 -08:00
Slava Kim
8cafda074c Reduce the generality of meteor-npm's execFileSync 2015-01-20 22:03:24 -08:00
Slava Kim
6b145a5940 Fix path conversions in a lot of places 2015-01-20 22:03:24 -08:00
Slava Kim
2de6867f68 Fix a bad merge 2015-01-20 22:03:24 -08:00
Slava Kim
219357098a Temporarily copy-paste version-parser 2015-01-20 22:03:24 -08:00
Slava Kim
78ddbd331a Add fake records for windows dev_bundles on warehouse 2015-01-20 22:03:23 -08:00
Slava Kim
70392aec79 Don't symlink node_modules on Windows
because symlinking is hard
2015-01-20 22:03:23 -08:00
Slava Kim
9db7c37737 Bad code: copy paste package-version-parser.js
The symlinks don't work that well on Windows.
This will require some other workaround.
2015-01-20 22:03:23 -08:00
Slava Kim
ec85fabf66 Sometimes we construct paths w/o them being absolute.
For example: files.pathJoin('/something/', '/something/else') should
result into '/something/something/else' and here the caller doesn't
care if the passed arguments look like absolute paths or not. It can
even be a middle part of some larger path. We don't care and shouldn't
enforce it on files.pathJoin
2015-01-20 22:03:23 -08:00
Slava Kim
27066a6ecf serveRoot is always a url path, treat it as such
Don't use path.join or files.pathJoin to join url paths
2015-01-20 22:03:23 -08:00
Slava Kim
ed30752377 Put a forgotten return statement 2015-01-20 22:03:23 -08:00
Slava Kim
44ef7680ed Remove quotes on NODE_PATH env var set
apparently it is not correct
2015-01-20 22:03:23 -08:00
Slava Kim
407ad196d0 Add meteor.bat file 2015-01-20 22:03:23 -08:00