GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Don't 'exit' a script meant to be "source"d by fdgonthier · Pull Request #35520 · nodejs/node

Conversation

@fdgonthier

@fdgonthier fdgonthier commented Oct 6, 2020 •
edited by aduh95
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Running exit in a script meant to be sourced means the user shell will
exit, which prevents seeing the error message, and is generally very
annoying.

Fixes: #35519

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. v12.x labels Oct 6, 2020
@aduh95
aduh95 changed the base branch from v12.x to master October 19, 2020 20:37
@aduh95

aduh95 commented Oct 19, 2020

Copy link
Copy Markdown
Contributor

@fdgonthier can you please rebase against master?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins removed the v12.x label Nov 3, 2020
@fdgonthier @MylesBorins
Don't 'exit' a script meant to be "source"d
fb7894a
Running exit in a script meant to be sourced means the user shell will
exit, which prevents seeing the error message, and is generally very
annoying.
@MylesBorins
MylesBorins force-pushed the issue-35519 branch from a54a2ee to fb7894a Compare November 3, 2020 16:20
@MylesBorins

MylesBorins commented Nov 3, 2020

Copy link
Copy Markdown
Contributor

I've gone ahead and rebased against master, can anyone confirm this change works? Seems useful for building for android

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 added android Issues and PRs related to the Android platform. review wanted PRs that need review. labels Nov 8, 2020
@RaisinTen

RaisinTen commented Nov 15, 2020

Copy link
Copy Markdown
Member

Since #35519 is the issue this fixes, I think it would make sense to mention this at the end of the commit message:

Fixes: https://github.com/nodejs/node/issues/35519
aduh95 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 mentioned this pull request Nov 28, 2020
Cross compile node v14.x or v.15.x for android x86_64 #36287
Closed
targos
targos approved these changes Dec 27, 2020
View reviewed changes

@targos targos left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no harm in this change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@targos targos added request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. and removed review wanted PRs that need review. labels Dec 27, 2020
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Dec 27, 2020
@nodejs-github-bot

nodejs-github-bot commented Dec 27, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/35092/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 added the commit-queue PRs queued for automated landing through the Commit Queue. label Dec 27, 2020
@github-actions github-actions Bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Dec 27, 2020
@github-actions

github-actions Bot commented Dec 27, 2020

Copy link
Copy Markdown
Contributor
Commit Queue failed
- Loading data for nodejs/node/pull/35520
✔  Done loading data for nodejs/node/pull/35520
----------------------------------- PR info ------------------------------------
Title      Don't 'exit' a script meant to be "source"d (#35520)
Author     François-Denis Gonthier  (@fdgonthier, first-time contributor)
Branch     fdgonthier:issue-35519 -> nodejs:master
Labels     android, build
Commits    1
 - Don't 'exit' a script meant to be "source"d
Committers 1
 - Myles Borins 
PR-URL: https://github.com/nodejs/node/pull/35520
Fixes: https://github.com/nodejs/node/issues/35519
Reviewed-By: Michaël Zasso 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/35520
Fixes: https://github.com/nodejs/node/issues/35519
Reviewed-By: Michaël Zasso 
--------------------------------------------------------------------------------
   ✔  Last GitHub Actions successful
   ℹ  Last Full PR CI on 2020-12-27T13:43:24Z: https://ci.nodejs.org/job/node-test-pull-request/35092/
- Querying data for job/node-test-pull-request/35092/
✔  Build data downloaded
   ✔  Last Jenkins CI successful
   ℹ  This PR was created on Tue, 06 Oct 2020 15:32:18 GMT
   ✔  Approvals: 1
   ✔  - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/35520#pullrequestreview-558928296
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/master up to date...
From https://github.com/nodejs/node
 * branch                  master     -> FETCH_HEAD
✔  origin/master is now up-to-date
- Downloading patch for 35520
From https://github.com/nodejs/node
 * branch                  refs/pull/35520/merge -> FETCH_HEAD
✔  Fetched commits as acaa58e60260..fb7894a45d1f
--------------------------------------------------------------------------------
Auto-merging android-configure
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your merge.renamelimit variable to at least 1469 and retry the command.
[master 137faf9812] Don't 'exit' a script meant to be "source"d
 Author: François-Denis Gonthier 
 Date: Tue Oct 6 11:29:25 2020 -0400
 1 file changed, 3 insertions(+), 3 deletions(-)
   ✔  Patches applied
--------------------------------------------------------------------------------
--------------------------------- New Message ----------------------------------
Don't 'exit' a script meant to be "source"d

Running exit in a script meant to be sourced means the user shell will
exit, which prevents seeing the error message, and is generally very
annoying.

PR-URL: #35520
Fixes: #35519
Reviewed-By: Michaël Zasso [email protected]

[master cb48481419] Don't 'exit' a script meant to be "source"d
Author: François-Denis Gonthier [email protected]
Date: Tue Oct 6 11:29:25 2020 -0400
1 file changed, 3 insertions(+), 3 deletions(-)
✖ cb4848141966adb8ba66394ebc8fdd2aaa99c6fe
✔ 6:7 Valid fixes URL. fixes-url
✔ 0:0 blank line after title line-after-title
✔ 0:0 line-lengths are valid line-length
✔ 0:0 metadata is at end of message metadata-end
✔ 5:8 PR-URL is valid. pr-url
✔ 0:0 reviewers are valid reviewers
✖ 0:0 Missing subsystem. subsystem
✔ 0:0 Title is formatted correctly. title-format
✔ 0:0 Title is <= 50 columns. title-length

ℹ Please fix the commit message and try again.

https://github.com/nodejs/node/actions/runs/447274178

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. label Dec 27, 2020
@targos targos self-assigned this Dec 27, 2020
targos pushed a commit that referenced this pull request Dec 27, 2020
@fdgonthier @targos
build: do not "exit" a script meant to be "source"d
6c50d74
Running exit in a script meant to be sourced means the user shell will
exit, which prevents seeing the error message, and is generally very
annoying.
Fix the "android-configure" script to use "return" instead of "exit".

PR-URL: #35520
Fixes: #35519
Reviewed-By: Michaël Zasso <[email protected]>
@targos

targos commented Dec 27, 2020

Copy link
Copy Markdown
Member

Landed in 6c50d74

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos targos closed this Dec 27, 2020
@targos targos removed the commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. label Dec 27, 2020
@targos targos removed their assignment Dec 27, 2020
danielleadams pushed a commit that referenced this pull request Jan 12, 2021
@fdgonthier @danielleadams
build: do not "exit" a script meant to be "source"d
ffaa8c1
Running exit in a script meant to be sourced means the user shell will
exit, which prevents seeing the error message, and is generally very
annoying.
Fix the "android-configure" script to use "return" instead of "exit".

PR-URL: #35520
Fixes: #35519
Reviewed-By: Michaël Zasso <[email protected]>
@danielleadams danielleadams mentioned this pull request Jan 12, 2021
v15.6.0 proposal #36889
Merged
targos pushed a commit that referenced this pull request May 1, 2021
@fdgonthier @targos
build: do not "exit" a script meant to be "source"d
38921b3
Running exit in a script meant to be sourced means the user shell will
exit, which prevents seeing the error message, and is generally very
annoying.
Fix the "android-configure" script to use "return" instead of "exit".

PR-URL: #35520
Fixes: #35519
Reviewed-By: Michaël Zasso <[email protected]>
@danielleadams danielleadams mentioned this pull request May 3, 2021
v14.17.0 proposal #38507
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@targos targos targos approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

android Issues and PRs related to the Android platform. build Issues and PRs related to Node.js builds or CI infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Don't "exit" android-configure, which is meant to be "source"d

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@fdgonthier @aduh95 @MylesBorins @RaisinTen @nodejs-github-bot @targos
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.