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

tools: use dmn@2.2.1 #26462

Closed
wants to merge 2 commits into from
Closed

tools: use dmn@2.2.1 #26462

wants to merge 2 commits into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Mar 6, 2019

First commit:

tools: update dmn to 2.2.1 in update scripts

dmn 2.2.1 cleans more files than earlier versions.

Second commit:

tools: use dmn@2.2.1 to remove unneeded files
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@Trott Trott requested a review from silverwind March 6, 2019 04:50
@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Mar 6, 2019
@BridgeAR
Copy link
Member

BridgeAR commented Mar 6, 2019

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 6, 2019
@cjihrig cjihrig mentioned this pull request Mar 6, 2019
2 tasks
@silverwind
Copy link
Contributor

Let's update to 2.2.1 here.

@Trott
Copy link
Member Author

Trott commented Mar 6, 2019

Let's update to 2.2.1 here.

Sure, done.

Lite CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/2787/

@Trott Trott changed the title tools: use dmn@2.2.0 tools: use dmn@2.2.1 Mar 6, 2019
@@ -20,7 +20,7 @@ npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown
cd ../..

# Use dmn to remove some unneeded files.
npx dmn@2.1.0 -f clean
npx dmn@2.2.1 -f clean
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we want switch to dmn@latest. I guess breaking changes would be rather unlikely on it.

Copy link
Member Author

@Trott Trott Mar 6, 2019

Choose a reason for hiding this comment

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

I'm not the only person who has publishing rights to dmn, so I'd rather be very conservative with a tool that can run arbitrary commands on a developer's machine. So I'd prefer to pin to a specific version and accept the annoyance of a little churn at each update.

To be clear: I don't have any reason whatsoever to distrust the original maintainer at all. They've been totally A++ 💯 🥇 😍 ✨ awesome. But there are lots of possibilities here: Their account (or my account!) gets hacked. Or they (or I!) in good faith give publishing rights to someone who is a bad actor without knowing it. And so on.

Copy link
Contributor

Choose a reason for hiding this comment

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

True, there is a certain remaining risk, even if you're the maintainer. If you don't mind updating this version, keep it that way. 😉

Trott added a commit to Trott/io.js that referenced this pull request Mar 8, 2019
dmn 2.2.1 cleans more files than earlier versions.

PR-URL: nodejs#26462
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Trott added a commit to Trott/io.js that referenced this pull request Mar 8, 2019
PR-URL: nodejs#26462
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
@Trott
Copy link
Member Author

Trott commented Mar 8, 2019

Landed in 82f8821...2546351

@Trott Trott closed this Mar 8, 2019
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Mar 12, 2019
dmn 2.2.1 cleans more files than earlier versions.

PR-URL: nodejs#26462
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Mar 12, 2019
PR-URL: nodejs#26462
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
BridgeAR pushed a commit that referenced this pull request Mar 14, 2019
dmn 2.2.1 cleans more files than earlier versions.

PR-URL: #26462
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
BridgeAR pushed a commit that referenced this pull request Mar 14, 2019
PR-URL: #26462
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
@Trott Trott deleted the dmn-2.2.0 branch January 13, 2022 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants