Uh oh!
There was an error while loading. Please reload this page.
win,build: add creation of zip and 7z package - #5995
Conversation
richardlau
commented
Apr 1, 2016
Should the zip also contain Node's license file? |
27b681c to
5731fb0Comparebzoz
commented
Apr 5, 2016
Updated missing files, PTAL |
joaocgreis
commented
Apr 11, 2016
@nodejs/build added 7zip to the release machines. Here is a test build: https://nodejs.org/download/test/v6.0.0-test20160411758655d70e88446a24d8dbbb07f1c1defd317293/ |
rvagg
commented
Apr 11, 2016
I think the bundle files should go in the parent directory, leaving |
benjamingr
commented
Apr 11, 2016
Silly question perhaps, but are we completely OK here in terms of licensing? I remember 7z is an open LGPL format and IIRC there are open clients for opening it on all supported platforms but I want to make sure someone "from the loop" is aware. |
bzoz
commented
Apr 12, 2016
Moved the archives to parent directory. |
joaocgreis
commented
Apr 12, 2016
@benjamingr I'm not completely sure about anything related to licences. We are only using 7 Zip the executable, not linking against it or the dll. Is it an issue? |
benjamingr
commented
Apr 12, 2016
I'm 99% sure that this is not an issue and I'm probably a lot more clueless than you about it - but since I haven't seen 7z files in the project before I think it would be a good idea to make sure with someone who is sure. |
orangemocha
commented
Apr 12, 2016
@mikeal can you maybe help answer the licensing concern? |
7da4fd4 to
c7066fbCompareFrom http://www.7-zip.org/license.txt :
Hence, we can move ahead if there are no more specific concerns. |
2cdd6fd to
ef2e444Comparejoaocgreis
commented
May 5, 2016
Rebased, a new test build is building: https://nodejs.org/download/test/v7.0.0-test20160505ef2e444e6dc4401519f2f28bcaf6d6b48b8f3590/ |
joaocgreis
commented
May 5, 2016
@nodejs/build @nodejs/platform-windows this is still in need of a LGTM, can you take a look? |
joaocgreis
commented
May 5, 2016
@rvagg After moving the |
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Fixes: nodejs/build#299Fixes: nodejs#5696
ef2e444 to
36b525aComparervagg
commented
May 15, 2016
@joaocgreis I just ran another test @ https://nodejs.org/download/test/v7.0.0-test2016051536b525a781/ and managed to catch this state in staging before the i.e. it's just a simple mismatch between the
but the
Put the |
bzoz
commented
May 16, 2016
I've updated the filenames, PTAL |
joaocgreis
commented
May 16, 2016
@rvagg Thanks! Started another build, this time it looks good: https://nodejs.org/download/test/v7.0.0-test201605168b733b76c753513ff87ed841e2bef69b12fe0460/ |
rvagg
commented
May 17, 2016
yes, lgtm, but let's give @nodejs/ctc a chance to jump in here before you merge since this is actually not a small deal. Once we start shipping .7z and .zip files for Windows we're not going to be able to undo that very easily in the future, so it's a big commitment. Our dist directories will start to look like this: And both win-x64 and win-x86 have two new files, node_pdb.7z ~ 6.2M and node_pdb.zip ~ 10M. <= v0.12 we ship(ped) with uncompressed node.pdb files ~31M but we canned that from io.js onward due to skepticism that they were even being used, and we have had minimal call to add them back. Here's the one issue we've had filed about it: #5696. .pdb files contain debugging information for Windows applications. So, comment now before this all gets locked in. |
Fishrock123
commented
May 17, 2016
How large is x86 windows usage? Maybe we could just ship x64 zips? (I have no idea) |
Fishrock123
commented
May 17, 2016
How long does it take to produce |
joaocgreis
commented
May 17, 2016
@Fishrock123 I made a quick experiment, zipping (2 If the directory size is a concern, we can keep only the MSI in the main dir and move the others into the specific |
Fishrock123
commented
May 17, 2016
@joaocgreis I'm not worried about the zipping, I was wondering about generating the pdb file. |
joaocgreis
commented
May 17, 2016
@Fishrock123 the pdb is always generated when compiling, no added delay there. |
rvagg
commented
May 17, 2016
basic stats are at https://nodejs.org/metrics/summaries/os.png & https://nodejs.org/metrics/summaries/arch.png but there's no combination graph, the data is available @ https://nodejs.org/metrics/ if someone wants to look at the win/arch numbers. My gut feel is that win x86 is still very high. Re directory size (in terms of number of entries) I'm not so concerned these days, we have a great downloads page that I think most people are using so they don't have to navigate a complex list if they are not capable of doing so. |
orangemocha
commented
May 25, 2016
LGTM |
joaocgreis
commented
May 30, 2016
@rvagg ok to land? |
rvagg
commented
May 31, 2016
lgtm, make it so |
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
joaocgreis
commented
May 31, 2016
CI: https://ci.nodejs.org/job/node-test-pull-request/2871/ Landed as 2369f89 . |
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
rvagg
commented
Jun 8, 2016
oh, hey, these all came out in the latest release https://nodejs.org/download/release/latest-v6.x/ |
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: nodejs#5995Fixes: nodejs/build#299Fixes: nodejs#5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI. Compress the node.pdb file as zip and 7z. All files are uploaded as part of build-release. Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> PR-URL: #5995Fixes: nodejs/build#299Fixes: #5696
Pull Request check-list
make -j8 test(UNIX) orvcbuild test nosign(Windows) pass withthis change (including linting)?
Affected core subsystem(s)
Windows, build.
Description of change
Add a step in vcbuild.bat to create a minimal package including node and npm that can be used as an alternative to the MSI, compress the node.pdb file as zip and 7z and upload all files as part of build-release.
This requires 7zip to be installed on the release machines. If there is no objection, I plan to add it and test this with a nightly. Files are included in the upload stage, do we need to do anything else to add them to releases @nodejs/build @nodejs/release ?
Fixes: nodejs/build#299
Fixes: #5696
cc @nodejs/platform-windows