Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@d3xter666
Copy link
Member

@d3xter666 d3xter666 commented Feb 22, 2024

BREAKING CHANGE:
Error messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: #701
Sibling of: SAP/ui5-server#643, SAP/ui5-cli#686

@flovogt flovogt changed the title [BRAKING] Replace console.log with process.stderr [BREAKING] Replace console.log with process.stderr Feb 23, 2024
Comment on lines +18 to +19
process.stderr.write(hashSum.digest("hex"));
process.stderr.write("\n");
Copy link
Member

Choose a reason for hiding this comment

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

This breaks the use case of this script: https://github.com/SAP/ui5-tooling/blob/68f8b72bf5812e09f2dbad1a06ecdb54e8267563/scripts/buildImage.sh#L10

With this change, DOCKER_TAG will be empty instead of containing the hash.

This should be reverted to console.log

Copy link
Member

Choose a reason for hiding this comment

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

I don't see a reason to adjust any of those scripts. They're not related to the productive shipment of packages and usage of console.log seems to be totally valid to me.

Copy link
Member

Choose a reason for hiding this comment

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

True, I was wondering too. There's no need and nobody consumes these scripts outside of this repository. So we could also abandon this PR

@d3xter666 d3xter666 closed this Feb 29, 2024
d3xter666 added a commit to SAP/ui5-server that referenced this pull request Feb 29, 2024
BREAKING CHANGE:
Messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: UI5/cli#701
Sibling of: UI5/cli#930,
SAP/ui5-cli#686
d3xter666 added a commit to SAP/ui5-cli that referenced this pull request Feb 29, 2024
BREAKING CHANGE:
System messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: UI5/cli#701
Sibling of: SAP/ui5-server#643,
UI5/cli#930
@flovogt flovogt deleted the breaking-v4 branch July 2, 2025 12:14
d3xter666 added a commit that referenced this pull request Sep 24, 2025
BREAKING CHANGE:
Messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: #701
Sibling of: #930,
SAP/ui5-cli#686
d3xter666 added a commit that referenced this pull request Sep 24, 2025
BREAKING CHANGE:
System messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: #701
Sibling of: SAP/ui5-server#643,
#930
d3xter666 added a commit that referenced this pull request Sep 25, 2025
…erver#643)

BREAKING CHANGE:
Messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: #701
Sibling of: #930,
SAP/ui5-cli#686
d3xter666 added a commit that referenced this pull request Sep 25, 2025
)

BREAKING CHANGE:
System messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: #701
Sibling of: SAP/ui5-server#643,
#930
d3xter666 added a commit that referenced this pull request Sep 26, 2025
)

BREAKING CHANGE:
System messages will now be written to stderr instead of stdout.

JIRA: CPOUI5FOUNDATION-802
Related to: #701
Sibling of: SAP/ui5-server#643,
#930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants