Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "repl,util: insert carriage returns in output" #8143

Merged
merged 1 commit into from
Aug 19, 2016

Conversation

evanlucas
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

repl,util

Description of change

This reverts commit fce4b98.

This was a breaking change and should have been marked semver-major.

Ref: #8028
Related: hapijs/code#81
Related: #8138

I realized I had opened the other targeting v6.x instead of master

@nodejs-github-bot nodejs-github-bot added repl Issues and PRs related to the REPL subsystem. util Issues and PRs related to the built-in util module. labels Aug 17, 2016
@addaleax
Copy link
Member

(The Edit button for PRs in the upper right corner lets you change the base branch now, if you prefer… this might be a good chance to try that out?)

@evanlucas
Copy link
Contributor Author

Just tried it on #8141. It doesn't rebase it, so it had +250 commits in the PR

@addaleax
Copy link
Member

That’s unfortunate… well, this one LGTM then.

@targos
Copy link
Member

targos commented Aug 17, 2016

@evanlucas I suppose you can rebase manually, force push and then change the base branch

@jasnell
Copy link
Member

jasnell commented Aug 17, 2016

Why does this need to be reverted in master? Did it land in v6? If so, it would only need to be reverted in v6.

@yorkie
Copy link
Contributor

yorkie commented Aug 17, 2016

@jasnell it gets landed in v6 at #8070.

@mscdex
Copy link
Contributor

mscdex commented Aug 17, 2016

FWIW I didn't recall seeing util.format() changed in the original PR, the intention was to only change repl.js.

@evanlucas
Copy link
Contributor Author

@Fishrock123
Copy link
Contributor

seems good to me, what still needs to be discussed?

@jasnell
Copy link
Member

jasnell commented Aug 19, 2016

LGTM

This reverts commit fce4b98.

This was a breaking change and should have been marked semver-major.
The change that was made altered the output of util.format() and
util.inspect(). With how much those are used in the wild, this type of
change deserves more justification.

Fixes: nodejs#8138
PR-URL: nodejs#8143
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@evanlucas evanlucas closed this Aug 19, 2016
@evanlucas evanlucas deleted the revertutilm branch August 19, 2016 16:56
@evanlucas evanlucas merged commit 7600707 into nodejs:master Aug 19, 2016
@evanlucas
Copy link
Contributor Author

Landed in 7600707. Thanks!

evanlucas added a commit that referenced this pull request Aug 20, 2016
This reverts commit fce4b98.

This was a breaking change and should have been marked semver-major.
The change that was made altered the output of util.format() and
util.inspect(). With how much those are used in the wild, this type of
change deserves more justification.

Fixes: #8138
PR-URL: #8143
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
evanlucas added a commit that referenced this pull request Aug 24, 2016
Notable changes:

* **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154
* **inspector**:
  * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021
  * add support for uncaught exception (Aleksei Koziatinskii) #8043
* **meta**: add @joshgav to collaborators (Josh Gavant) #8146
* **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145
* ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143
evanlucas added a commit that referenced this pull request Aug 26, 2016
Notable changes:

* **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154
* **deps**: update V8 to 5.1.281.75 (Ali Ijaz Sheikh) #8054
* **inspector**:
  * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021
  * add support for uncaught exception (Aleksei Koziatinskii) #8043
* **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145
* ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143

PR-URL: #8253
evanlucas added a commit that referenced this pull request Aug 26, 2016
Notable changes:

* **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154
* **deps**: update V8 to 5.1.281.75 (Ali Ijaz Sheikh) #8054
* **inspector**:
  * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021
  * add support for uncaught exception (Aleksei Koziatinskii) #8043
* **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145
* ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143

PR-URL: #8253
evanlucas added a commit that referenced this pull request Aug 26, 2016
Notable changes:

* **buffer**: Fix regression introduced in v6.4.0 that prevented .write() at buffer end (Anna Henningsen) #8154
* **deps**: update V8 to 5.1.281.75 (Ali Ijaz Sheikh) #8054
* **inspector**:
  * fix inspector hang while disconnecting (Aleksei Koziatinskii) #8021
  * add support for uncaught exception (Aleksei Koziatinskii) #8043
* **repl**: Fix saving editor mode text in `.save` (Prince J Wesley) #8145
* ***Revert*** "**repl,util**: insert carriage returns in output" (Evan Lucas) #8143

PR-URL: #8253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl Issues and PRs related to the REPL subsystem. util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants