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

Ignore fewer doc-tests #682

Merged
merged 13 commits into from
Oct 16, 2016
Merged

Ignore fewer doc-tests #682

merged 13 commits into from
Oct 16, 2016

Conversation

tormol
Copy link
Contributor

@tormol tormol commented Oct 5, 2016

No description provided.

@yo-bot
Copy link

yo-bot commented Oct 5, 2016

r? @kbknapp

(yo-bot has picked a reviewer for you, use r? to override)

@tormol tormol force-pushed the ignore_less_doctests branch 3 times, most recently from 094aa87 to d0ba999 Compare October 9, 2016 23:04
@tormol tormol changed the title (WiP) Ignore less doc-tests Ignore fewer doc-tests Oct 9, 2016
wrap_help = ["libc", "term_size"]
lints = ["clippy", "nightly"]
nightly = [] # for building with nightly and unstable features
Copy link
Member

Choose a reason for hiding this comment

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

I think we should keep nightly in order to differentiate between "clap unstable features (can sometimes build on stable Rust)" and "Rust unstable features, requires nightly compiler"

Copy link
Member

Choose a reason for hiding this comment

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

@tormol

Forgot to at-mention your name 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I get the difference now, and also realize that removing a feature flag is a breaking.
Due to the feature name i assumed clap_app! required a nightly compiler.

I got a notification for the first comment, but I haven't had time to respond.

@kbknapp
Copy link
Member

kbknapp commented Oct 16, 2016

@tormol Awesome thanks! Once #687 merges, this'll just need a rebase and will be good for a merge 👍

Removing an unused import is the only visible change.
* InvalidSubcommand requires feature="suggestions".
* UnknownArgument can also be caused by unrecognized subcommands.
Also adds a blank line between variants and
wraps markdown lines at punctuation when it makes sense. (Doesn't affect generated docs)
* Clap has dependencies even with all features disabled.
* The "nightly" feature does nothing, so don't mention it.
* Explain the difference between "unstable" and "nightly" better.
* Split features into groups (default, opt-in, clap-development).
* For contributors: update what tests should be run, and remove make command.
* Removes a repeated word and splits up some long markdown lines.

Also groups features by category and dependencies by feature in Cargo.toml.
@tormol
Copy link
Contributor Author

tormol commented Oct 16, 2016

Done.
I don't understand why this needed a rebase though: The branches changed completely different files.

@kbknapp
Copy link
Member

kbknapp commented Oct 16, 2016

You're right. But I go back and forth about using a single rebased history, vs branching....I guess I could just start merging without worry about it since the history is already soup 😜

@homu r+

@homu
Copy link
Contributor

homu commented Oct 16, 2016

📌 Commit 4ee85b9 has been approved by kbknapp

homu added a commit that referenced this pull request Oct 16, 2016
homu added a commit that referenced this pull request Oct 16, 2016
@homu
Copy link
Contributor

homu commented Oct 16, 2016

⌛ Testing commit 4ee85b9 with merge 47ffccd...

@homu
Copy link
Contributor

homu commented Oct 16, 2016

☀️ Test successful - status

@homu homu merged commit 4ee85b9 into clap-rs:master Oct 16, 2016
@tormol
Copy link
Contributor Author

tormol commented Oct 16, 2016

Github also required an update, which is what I don't understand.

EDIT: It was probably just a warning/notice that I hadn't seen before.

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