-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fixes #8783 , cargo new fails without a author name or email #8912
Merged
Commits on Nov 29, 2020
-
If user can not be obtained from git or env variables $USER, new command defaults to empty author in generated Cargo.toml
Configuration menu - View commit details
-
Copy full SHA for 15f2cdb - Browse repository at this point
Copy the full SHA 15f2cdbView commit details
Commits on Dec 2, 2020
-
Fix: unavailable author for cargo new
- if author name and email not found from config or env variables, defaults to an empty author list authors = [] - simplified selection of name + email from available choices in (fn mk)
Configuration menu - View commit details
-
Copy full SHA for 5c09ad1 - Browse repository at this point
Copy the full SHA 5c09ad1View commit details -
Test cargo new with missing authors
- test case for missing name and email (author_without_user_or_email) - test case for handling email only (finds_author_email_only)
Configuration menu - View commit details
-
Copy full SHA for 917fc99 - Browse repository at this point
Copy the full SHA 917fc99View commit details -
changed return type as discover_author no longer bails
Return type changed to plain tuples instead of CargoResult as the function does not bail with error if the author name is missing.
Configuration menu - View commit details
-
Copy full SHA for 9b3e6f7 - Browse repository at this point
Copy the full SHA 9b3e6f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38694d4 - Browse repository at this point
Copy the full SHA 38694d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 782dacd - Browse repository at this point
Copy the full SHA 782dacdView commit details -
Configuration menu - View commit details
-
Copy full SHA for fad1681 - Browse repository at this point
Copy the full SHA fad1681View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65f2a87 - Browse repository at this point
Copy the full SHA 65f2a87View commit details
Commits on Dec 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4eeadfb - Browse repository at this point
Copy the full SHA 4eeadfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4787dd3 - Browse repository at this point
Copy the full SHA 4787dd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a006347 - Browse repository at this point
Copy the full SHA a006347View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.