Perfect your code
With built-in code review tools, GitHub makes it easy to raise the quality bar before you ship. Join the 36 million developers who've merged over 200 million pull requests.
Sign up for free See pricing for teams and enterprisesbuild: make .tar.xz creation opt-out, fail if no xz #24551
Conversation
rvagg
added
the
build
label
Nov 21, 2018
This comment has been minimized.
This comment has been minimized.
rvagg
force-pushed the
rvagg:rvagg/xz-opt-out
branch
from
d2e0367
to
ba2647a
Nov 21, 2018
refack
approved these changes
Nov 21, 2018
|
LGTM % quastions |
This comment has been minimized.
This comment has been minimized.
refack
added
the
aix
label
Nov 21, 2018
richardlau
approved these changes
Nov 22, 2018
richardlau
referenced this pull request
Nov 22, 2018
Open
Proposal: remove .gz downloads for some platforms #1584
rvagg
force-pushed the
rvagg:rvagg/xz-opt-out
branch
from
14eedc0
to
94a2c9c
Nov 22, 2018
This comment has been minimized.
This comment has been minimized.
|
OK, second commit on this PR, 94a2c9c, implements the above behaviour suggested by @refack and the checks around the execution of |
refack
approved these changes
Nov 22, 2018
richardlau
approved these changes
Nov 22, 2018
This comment has been minimized.
This comment has been minimized.
|
Lite-CI (since it's not covered in CI anyway): https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/1678/ Reviewers, please |
refack
added
fast-track
author ready
labels
Nov 22, 2018
This comment has been minimized.
This comment has been minimized.
Is it worth asking @nodejs/releasers for a test release build? |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
|
The ci-release job finished successfully, the output is at https://nodejs.org/download/nightly/v12.0.0-nightly20181122.2.94a2c9c8e5/ (no |
This comment has been minimized.
This comment has been minimized.
|
@refack you made a nightly with this with a weird date string: https://ci-release.nodejs.org/job/iojs+release/3956/ and now we have screwed up nightly version strings which won't parse with tools that expect a predictable format on this directory: Please don't do that. Nightlies are strictly not for testing. I'm going to have to figure out if I can clean this one out now. There's a bunch of good reasons we don't hand out ci-release access liberally, and the ability to make this kind of mess is one of them. |
This comment has been minimized.
This comment has been minimized.
My bad. What I meant to do was run a P.S. As a postmortem, we should add some validation code to assert our and our tools format assumptions (nodejs/build#1592) |
This comment has been minimized.
This comment has been minimized.
|
OK, so this should have failed on AIX but it didn't. The config doesn't have SKIP_XZ=1 for AIX, and the output https://ci-release.nodejs.org/job/iojs+release/nodes=aix61-ppc64/3956/consoleFull doesn't mention anything about |
This comment has been minimized.
This comment has been minimized.
|
P.P.S. we also have this one - https://nodejs.org/download/nightly/v11.0.0-nightly201806050300f7c68cffa5de7f0099e3afa95093b0bbbe3c/ |
refack
referenced this pull request
Nov 23, 2018
Open
FR: add some validation to ci-release `iojs+release` #1592
This comment has been minimized.
This comment has been minimized.
|
Ah, so we have this in iojs+release:
That traces back to the addition of the REPLACEME stuff for API docs which is too strict. I tried to fix that back in #12958 but it got stalled with too much discussion, so the |
refack
reviewed
Nov 23, 2018
| XZ_COMPRESSION ?= 9e | ||
| PKG=$(TARNAME).pkg | ||
| MACOSOUTDIR=out/macos | ||
|
|
||
| ifeq ($(SKIP_XZ), 1) | ||
| check-xz: |
This comment has been minimized.
This comment has been minimized.
rvagg
added a commit
to rvagg/io.js
that referenced
this pull request
Nov 23, 2018
rvagg
referenced this pull request
Nov 23, 2018
Closed
build: only check REPLACEME & DEP...X for releases #24575
This comment has been minimized.
This comment has been minimized.
|
Proposed fix in #24575 so we can remove the |
Trott
removed
author ready
fast-track
labels
Nov 25, 2018
This comment has been minimized.
This comment has been minimized.
|
Discovered some problems, not sure why these weren't picked up with test builds in ci-release for the PR. #24841 |
This comment has been minimized.
This comment has been minimized.
|
@nodejs/build FYI this is now in iojs+release for the It's building successfully now: Results for this test going to https://nodejs.org/download/test/v12.0.0-test201812040ba0e0fd89/ |



rvagg commentedNov 21, 2018
During a recent release, the 8.x before last I think, we discovered belatedly that the macos release machine didn't have
xzinstalled on it. This change was discussed (somewhere, but I know @MylesBorins was involved) to help resolve such oversights in future.XZtoHAS_XZand make it 0=no and 1=yesSKIP_XZas a possible user-supplied value, defaulting to 0=noHAS_XZ=1orSKIP_XZ=1on any release build that produces a tarball of some kind and fail if the system doesn't havexzandSKIP_XZ=1hasn't been supplied.HAS_XZ=1andSKIP_XZ=0(i.e. we havexzand haven't explicitly opted to skip)This would get backported to active lines and we'd have to put a
SKIP_XZ=1for AIX builds (only).I've tested the main permutations of this and it seems to work fine. I'd appreciate some experienced Makefile eyes though, @nodejs/build @bnoordhuis @joyeecheung?