igorklopov
|
ccb5e9c9e7
|
latest is also a possible value for nodeRange
|
2016-09-01 13:46:05 +03:00 |
|
igorklopov
|
c327d0e777
|
expand ~/.pkg-cache to show user full path
|
2016-09-01 11:38:02 +03:00 |
|
igorklopov
|
e2d4b88481
|
v6-osx-x64 -> node6-osx-x64 - fixes #4
|
2016-09-01 11:28:53 +03:00 |
|
igorklopov
|
349d41954d
|
distinguish built and downloaded binaries. fixes #1
|
2016-09-01 10:47:29 +03:00 |
|
igorklopov
|
2ec1425c6f
|
dont show stack for network errors
|
2016-09-01 10:45:21 +03:00 |
|
igorklopov
|
4b526556ae
|
make use of wasReported
|
2016-09-01 10:21:01 +03:00 |
|
igorklopov
|
14c3d97343
|
dont show '100%' if download was broken half-way
|
2016-09-01 10:05:58 +03:00 |
|
igorklopov
|
42c7f8c2df
|
fixes for log ported from pkg
|
2016-09-01 10:05:35 +03:00 |
|
igorklopov
|
e071d46c5f
|
forgot shebang to make cli work
|
2016-08-31 09:02:52 +03:00 |
|
igor
|
173582c0f6
|
update repo name
|
2016-08-30 22:20:50 +03:00 |
|
igorklopov
|
382af893a4
|
no defaults for nodeRange/platform/arch + improvement for log
|
2016-08-22 16:54:49 +03:00 |
|
igorklopov
|
75f2a237a9
|
reexpose system, implement getKnownPlatforms
|
2016-08-22 13:42:12 +03:00 |
|
igorklopov
|
3b6e89d715
|
regard { errors: [ { code: "already_exists } ] }
|
2016-08-21 21:48:03 +03:00 |
|
igorklopov
|
7290e9918f
|
if upload crashes, let it continue making binaries
|
2016-08-21 16:33:23 +03:00 |
|
igorklopov
|
290f3f9ecb
|
throw an error if there is a message
|
2016-08-21 16:16:47 +03:00 |
|
igorklopov
|
dacf3732e5
|
logging is also covered with tests
|
2016-08-19 12:00:53 +03:00 |
|
igor
|
d134d43915
|
report early if we dont have github data set up
|
2016-08-18 23:54:31 +03:00 |
|
igor
|
7308d7be94
|
paint warning and error log messages
|
2016-08-18 23:53:40 +03:00 |
|
Whiskey
|
52c88e5f43
|
messages
|
2016-08-18 23:05:23 +03:00 |
|
Igor Klopov
|
79bf1efea8
|
finally ui looks similar to now
|
2016-08-18 22:29:50 +03:00 |
|
Igor Klopov
|
2f98a07fed
|
make cli less chatty
|
2016-08-18 22:29:28 +03:00 |
|
Igor Klopov
|
4fab7ba150
|
simplified options to need. now only forceDownload and forceBuild
|
2016-08-18 20:21:05 +03:00 |
|
Igor Klopov
|
ef69cb2760
|
finished thresholds
|
2016-08-18 20:20:18 +03:00 |
|
igorklopov
|
565fab253a
|
rewritten spawn to show last 30 lines if error happens
|
2016-08-17 18:51:21 +03:00 |
|
igorklopov
|
572a1a9ec9
|
cloning bare repo to save time on checking out head
|
2016-08-17 16:22:17 +03:00 |
|
igorklopov
|
0751ce466c
|
moved thresholds to separate file
|
2016-08-17 12:09:33 +03:00 |
|
igorklopov
|
a3f88a25cc
|
minor fixes of cloning ui
|
2016-08-17 11:32:22 +03:00 |
|
igorklopov
|
7282ea5f3b
|
unixThresholds [wip]
|
2016-08-16 19:36:52 +03:00 |
|
igorklopov
|
18127b4526
|
drop gauges and switch to toplevel showProgress
|
2016-08-16 20:31:52 +04:00 |
|
igorklopov
|
307ebd314c
|
fix: Error: EEXIST: file already exists
|
2016-08-16 20:23:02 +04:00 |
|
igorklopov
|
9f56a367a1
|
bugfix - receiving objects, resolving deltas
|
2016-08-16 20:02:20 +04:00 |
|
igorklopov
|
05d84b73b5
|
finished windows thresholds
|
2016-08-16 18:40:08 +03:00 |
|
igorklopov
|
3d4df1dfef
|
gauge-based progress wrapper for spawn
|
2016-08-16 17:41:33 +03:00 |
|
igorklopov
|
2349363917
|
reimplemented promised spawn
|
2016-08-16 17:15:34 +03:00 |
|
igorklopov
|
26e597a458
|
gauge of cloning progress
|
2016-08-16 15:41:46 +03:00 |
|
igorklopov
|
4a5c11396f
|
moved gauge from index.js to cloud.js
|
2016-08-16 12:18:22 +03:00 |
|
igorklopov
|
322eb8b48c
|
extract git clone out of build
|
2016-08-16 11:31:17 +03:00 |
|
igorklopov
|
3a1d926654
|
prepare build for onProgress
|
2016-08-16 11:27:23 +03:00 |
|
igorklopov
|
a87ae3dc8a
|
make use of npmlog progress bar to indicate download progress
|
2016-08-15 18:23:41 +03:00 |
|
igorklopov
|
6cbf443841
|
github requests timeout
|
2016-08-15 17:48:18 +03:00 |
|
igorklopov
|
ae00c2f1df
|
trying to switch to npmlog cause it has levels and gauges oob 😋
|
2016-08-15 16:18:18 +03:00 |
|
igorklopov
|
586af11d9a
|
little more verbose than silence
|
2016-08-15 15:13:13 +03:00 |
|
igorklopov
|
649b0af51d
|
xcompilation warnings must be in pkg. here anything may be downloaded
|
2016-08-15 14:41:04 +03:00 |
|
igorklopov
|
a3892fa67b
|
minimalistic cli
|
2016-08-15 14:40:10 +03:00 |
|
igorklopov
|
ceec807feb
|
finally build from source if nothing was found
|
2016-08-15 13:52:36 +03:00 |
|
igorklopov
|
a2519284d0
|
download to temporary file first. then move to it's place
|
2016-08-15 13:49:51 +03:00 |
|
igorklopov
|
314ef35360
|
cloud.js to contain download and upload
|
2016-08-15 12:47:33 +03:00 |
|
igorklopov
|
6398d7509c
|
tolerate if no release or asset
|
2016-08-15 12:17:50 +03:00 |
|
igor
|
b6db0dd867
|
eslint -> klopov-eslint. it's like standard but more strict
|
2016-08-14 15:07:15 +03:00 |
|
igor
|
2177022de9
|
downloadAsset, download, dontTakeLocal, dontDownload, dontBuild
|
2016-08-14 12:56:29 +03:00 |
|
igor
|
6fa0ca2ace
|
if no username, then no auth. otherwise no auth mechanism defined
|
2016-08-14 09:22:34 +03:00 |
|
Igor Klopov
|
bdc943a57c
|
checks if local cache file is already present
|
2016-08-13 20:27:56 +03:00 |
|
Igor Klopov
|
3a3526a869
|
using single promisified fs source
|
2016-08-13 20:23:04 +03:00 |
|
Igor Klopov
|
8e8f9e6ae9
|
default values
|
2016-08-13 19:12:35 +03:00 |
|
Igor Klopov
|
be5494a575
|
error about crosscompilation + distilling nodeVersions
|
2016-08-13 19:09:23 +03:00 |
|
Igor Klopov
|
f958ae2129
|
any opt can be undefined, hence opts destructuring
|
2016-08-13 18:52:18 +03:00 |
|
Igor Klopov
|
77291975d5
|
there will be no upload without build. so just upload.js
|
2016-08-13 18:40:51 +03:00 |
|
Igor Klopov
|
bffa650700
|
abi -> hostAbi to be symmetric with recent changes
|
2016-08-12 22:54:48 +03:00 |
|
Igor Klopov
|
2a1ac6cb39
|
platform -> hostPlatform because there will be targetPlatform
|
2016-08-12 22:52:54 +03:00 |
|
Igor Klopov
|
87c8b646eb
|
target -> targetArch because there will be targetPlatform
|
2016-08-12 22:48:37 +03:00 |
|
Igor Klopov
|
d57cd94f78
|
avoid var in favor of const and let
|
2016-08-12 22:42:58 +03:00 |
|
Igor Klopov
|
85690b012d
|
allocates a unique directory in /tmp for building purposes
|
2016-08-12 22:33:00 +03:00 |
|
Igor Klopov
|
28abf5fa75
|
bugfix
|
2016-08-12 20:07:31 +03:00 |
|
igorklopov
|
3da49f160a
|
abiToNodeRange
|
2016-08-12 16:07:57 +03:00 |
|
igorklopov
|
44318e2273
|
knownArchs of course
|
2016-08-12 15:43:01 +03:00 |
|
igorklopov
|
b909219c7d
|
index.js + test for system.js
|
2016-08-12 15:40:37 +03:00 |
|
igorklopov
|
0e8e6ecd86
|
export getFancyArch and getFancyPlatform
|
2016-08-12 15:27:04 +03:00 |
|
igorklopov
|
742f6fe3bb
|
use fancy platform names win and osx
|
2016-08-12 15:20:15 +03:00 |
|
igorklopov
|
10e71440b8
|
getKnownTargets
|
2016-08-12 15:11:11 +03:00 |
|
igorklopov
|
a48642e49a
|
clarified overlapping terms: arch, host, target
|
2016-08-12 15:07:25 +03:00 |
|
igorklopov
|
c2a458c544
|
test for build-and-upload
|
2016-08-12 14:22:32 +03:00 |
|
igorklopov
|
06115c0f1d
|
expose main to run it from tests
|
2016-08-12 13:50:03 +03:00 |
|
igorklopov
|
e9e94605ea
|
wrap copyFile to object to be able to mock it in tests
|
2016-08-12 13:24:37 +03:00 |
|
igorklopov
|
7c30b0e3b4
|
extract spawn to separate file to be able to mock it in tests
|
2016-08-12 11:32:26 +03:00 |
|
igorklopov
|
e86c97b4e1
|
lib dir will be a source of transpilation, so move all es7 there
|
2016-08-12 11:24:31 +03:00 |
|
igorklopov
|
387b576b93
|
fixed a typo
|
2016-08-11 18:28:53 +00:00 |
|
igorklopov
|
ed94d0f239
|
{ message: 'Bad credentials', ... }
|
2016-08-11 18:26:27 +00:00 |
|
igorklopov
|
4c3a6df890
|
switched from aws to github releases
|
2016-08-11 12:45:23 +03:00 |
|
igorklopov
|
977398cf0d
|
finished uploading via aws s3
|
2016-08-10 20:45:26 +03:00 |
|
igorklopov
|
22217fe36e
|
build fn is localPlace-agnostic and receives copyDest option
|
2016-08-10 16:14:21 +03:00 |
|
igorklopov
|
815822b667
|
moved binary templates to places.json + added aws-sdk
|
2016-08-10 15:58:27 +03:00 |
|
igorklopov
|
e4f39b1112
|
expands getTargets x64->x64,x86
|
2016-08-10 14:17:53 +03:00 |
|
igorklopov
|
1a74716c25
|
localPath -> localPlace
|
2016-08-10 14:13:59 +03:00 |
|
igorklopov
|
166171f304
|
erase temporary buildPath after compilation
|
2016-08-10 14:11:49 +03:00 |
|
igorklopov
|
6a7377c231
|
separate script file to build-and-upload
|
2016-08-10 14:11:03 +03:00 |
|
igorklopov
|
5ab131703c
|
async function build (nodeVersion, target)
|
2016-08-10 13:59:34 +03:00 |
|
igorklopov
|
38ac05233e
|
copies compiled binaries to ~/.pkg-cache
|
2016-08-10 13:27:28 +03:00 |
|
igorklopov
|
5a2ab2f401
|
returns the path of produced binary
|
2016-08-10 11:51:56 +03:00 |
|
igorklopov
|
d28fd16c4a
|
async function compileOnWindows, compileOnUnix
|
2016-08-10 11:47:39 +03:00 |
|
igorklopov
|
935385efdd
|
const nodePath = path.join(buildPath, 'node');
|
2016-08-10 11:19:26 +03:00 |
|
igorklopov
|
4dc897b3da
|
compiles on windows
|
2016-08-10 11:16:24 +03:00 |
|
igorklopov
|
df72d8473e
|
applies patches and compiles (for non-win yet)
|
2016-08-10 10:42:49 +03:00 |
|
igorklopov
|
253b06bc04
|
list of possible targets out of current host (x64,x86 out of x64)
|
2016-08-09 18:31:04 +03:00 |
|
igorklopov
|
8d5c61d3fc
|
cycle through available nodeVersions/patches
|
2016-08-09 18:24:47 +03:00 |
|
igorklopov
|
f1e6ae63c4
|
system.js, places.js, patches.json
|
2016-08-09 18:00:46 +03:00 |
|
igorklopov
|
00f10ab2e3
|
scripts.build - clones node and resets to version
|
2016-08-09 18:00:27 +03:00 |
|