The Wayback Machine - https://web.archive.org/web/20230131200320/https://github.com/nodejs/node/pull/46428
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

process: print versions by sort #46428

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Himself65
Copy link
Member

@Himself65 Himself65 commented Jan 30, 2023

Fixes: #45630

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Jan 30, 2023
src/node_process_object.cc Outdated Show resolved Hide resolved
@Himself65
Copy link
Member Author

I'm trying to use std::pair<name, version_number> then sort and create a new v8::Object

@Himself65 Himself65 changed the title src: sort version keys process: print versions by sort Jan 30, 2023
@Himself65 Himself65 marked this pull request as ready for review Jan 30, 2023
@Himself65 Himself65 added the process Issues and PRs related to the process subsystem. label Jan 30, 2023
@nodejs-github-bot
Copy link
Contributor

@Himself65 Himself65 requested a review from addaleax Jan 30, 2023
@nodejs-github-bot
Copy link
Contributor

src/node_process_object.cc Outdated Show resolved Hide resolved
src/node_process_object.cc Outdated Show resolved Hide resolved
Himself65 added 2 commits Jan 31, 2023
Signed-off-by: himself65 <himself65@toeverything.info>
src/node_process_object.cc Outdated Show resolved Hide resolved
Co-authored-by: James M Snell <jasnell@gmail.com>
@Himself65
Copy link
Member Author

I'm confused that why build CI all crashed today

@jasnell
Copy link
Member

jasnell commented Jan 31, 2023

There was a GitHub issue with tarball sha's today that caused stuff all over the place to break. The rolled it back this afternoon. Pretty sure that's what hit us today.

@RaisinTen
Copy link
Member

Could you also add a test?

@Himself65
Copy link
Member Author

Could you also add a test?

I will do it later

src/node_process_object.cc Outdated Show resolved Hide resolved
Himself65 and others added 2 commits Jan 31, 2023
Co-authored-by: Anna Henningsen <github@addaleax.net>
Signed-off-by: himself65 <himself65@toeverything.info>
src/node_process_object.cc Outdated Show resolved Hide resolved
Himself65 and others added 2 commits Jan 31, 2023
Co-authored-by: Anna Henningsen <github@addaleax.net>
Signed-off-by: himself65 <himself65@toeverything.info>
@Himself65
Copy link
Member Author

ive updated the test case

Himself65 and others added 2 commits Jan 31, 2023
Signed-off-by: himself65 <himself65@toeverything.info>
@Himself65 Himself65 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 31, 2023
@Himself65 Himself65 requested a review from RaisinTen Jan 31, 2023
@nodejs-github-bot
Copy link
Contributor

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. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The version list should be sorted by name
5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.