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

Get rid of warning when printing --help #994

Merged
merged 2 commits into from
May 7, 2018

Conversation

Feder1co5oave
Copy link
Contributor

@Feder1co5oave Feder1co5oave commented Jan 2, 2018

@joshbruce
Copy link
Member

@Feder1co5oave: Will this break backward compatibility with older versions of Node? What versions of Node do we even support does anyone know? (Tagging @UziTech and @matt- as well)

I never thought to ask whether people used Marked while running Node servers.

@Feder1co5oave
Copy link
Contributor Author

Feder1co5oave commented Jan 5, 2018 via email

@UziTech
Copy link
Member

UziTech commented Jan 5, 2018

according to the current travis.yml we are testing for 0.6 but I think we should aim for Node >= 4

P.S. This doesn't really fix #992

The problem there is that marked --help calls man which doesn't exist on Windows.

We should call man if on Mac or Linux or just display something on windows.

@Feder1co5oave
Copy link
Contributor Author

You're right, this doesn't fix 992. Still it lets us migrate to a non-deprecated option, I would merge this and pass on to think how to solve the help problem. I say we get rid of the man page. It's not being mantained. We could use the README.md file or generate a new help message.

ps. Let's consider commander

@Feder1co5oave
Copy link
Contributor Author

I was also thinking about updating the dependecies. We should update travis.yml and maybe package.json with a e.g. {"engines": {"node": ">0.10"}} section?

@joshbruce
Copy link
Member

Good stuff here. Couple of things for my edification and whatnot.

Right now we don't use a CI tool inside GitHub - and I'm not sure @chjj is considering coming with us on that at the moment. So, is the travis.yml so others can incorporate Marked into their CI pipeline?

@Feder1co5oave: Can you create a ticket for the commander proposal? Given what I've seen so far from previous conversation when @chjj was more active, there is a desire for minimal dependencies, which I tend to agree with - but am not hardcore about it.

Re Node version: It does seem odd that we are 0.10 - not one of the majors. Having said that, are we supporting that far back because we can - Marked doesn't need anything greater? Are we not able to take advantage of something because of that (maybe a Node standard library, or something - not a Node guy)?

@Feder1co5oave
Copy link
Contributor Author

Before updating the engine version, I would try setting up travis for marked in order to test it on various node versions and see how it works out. We should also set up travis.yml such that tests are automatically run at every commit/release. @joshbruce are you by any chance able to sign up to http://travis-ci.org and enable the marked repo even though you're not the owner?

@UziTech
Copy link
Member

UziTech commented Jan 9, 2018

We also should update the travis.yml #967 I don't see any reason to continue supporting node 0.x

You can set up travis to run on a fork but it would be nice if @chjj could hand over the repo so @joshbruce could enable travis on all PRs

@joshbruce
Copy link
Member

joshbruce commented Jan 10, 2018

@UziTech and @Feder1co5oave: Sorry, thought I responded to this already.

No, I can't. Would love to though.

I don't have access to anything behind the "Settings" tab on GitHub. If I owned the repo itself, of course, that would be different.

I'm finding that to be one of the drawbacks to open source projects that aren't financially backed - you really gotta love it, or be making money with it somewhere else. Of course, the alternative is a whole other set of ethical issues.

@Feder1co5oave Feder1co5oave changed the title Fix the spawning of man to print --help Get rid of warning when printing --help Jan 20, 2018
@joshbruce
Copy link
Member

#956

@styfle
Copy link
Member

styfle commented Feb 28, 2018

I think this should be added to the 1.0.0 milestone or whatever is considered the next breaking change milestone. We will likely want to drop support for Node < v4.0.0 and this (stdio) was added in v0.7.10

@joshbruce
Copy link
Member

@styfle: Sounds legit to me.

Can I ask why you didn't mark it?

Is there still confusion you think on when that will be? The whole #1077 conversation makes that totally reasonable as well. Was going to write something about it in the co-pilot issue, think that would help?

@styfle styfle added this to the v1.0.0 - All the nope release milestone Feb 28, 2018
@styfle
Copy link
Member

styfle commented Feb 28, 2018

Is there still confusion you think on when that will be

Yes. I still advocate for a 1.0.0 release as soon as possible. To quote semver.org:

If your software is being used in production, it should probably already be 1.0.0. If you have a stable API on which users have come to depend, you should be 1.0.0. If you’re worrying a lot about backwards compatibility, you should probably already be 1.0.0.

Ideally, 1.0.0 means dropping support for legacy node.js environments.

@joshbruce joshbruce removed this from the v1.x - All the nope release milestone Apr 4, 2018
@styfle
Copy link
Member

styfle commented Apr 11, 2018

Can I ask why you didn't mark it?

@joshbruce What does this mean?

@styfle styfle added this to the 0.4.0 - No known defects milestone May 5, 2018
@styfle
Copy link
Member

styfle commented May 5, 2018

@Feder1co5oave Can you push to trigger a build?

@Feder1co5oave
Copy link
Contributor Author

Feder1co5oave commented May 5, 2018 via email

@Feder1co5oave
Copy link
Contributor Author

@styfle done

@styfle styfle requested review from UziTech and joshbruce May 7, 2018 16:42
@styfle
Copy link
Member

styfle commented May 7, 2018

@Feder1co5oave Excellent, thanks! 👍

CI is green (minus security checks), I think we should merge this as part of 0.4.0

@UziTech @joshbruce Any objections?

@Feder1co5oave
Copy link
Contributor Author

Feder1co5oave commented May 7, 2018 via email

zhenalexfan pushed a commit to zhenalexfan/MarkdownHan that referenced this pull request Nov 8, 2021
Get rid of warning when printing --help
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