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

Symlink-or-copy LICENSE / LICENSE-* in workspace root when creating new member #13328

Open
epage opened this issue Jan 19, 2024 · 5 comments
Open
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-add Command-init S-needs-team-input Status: Needs input from team on whether/how to proceed.

Comments

@epage
Copy link
Contributor

epage commented Jan 19, 2024

Problem

I just ran cargo new in a workspace and I had to manually copy over the license files.

Proposed Solution

LICENSE / LICENSE-* file names are a fairly strong convention that automatically linking them into a new package automatically seems to fit in along with our other workspace inheritance logic.

iirc we automatically move workspace.package.license-file into the package on publish, so we could skip this if that is set.

Notes

No response

@epage epage added Command-init C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-add S-needs-team-input Status: Needs input from team on whether/how to proceed. labels Jan 19, 2024
@BatmanAoD

This comment has been minimized.

@weihanglo

This comment has been minimized.

@BatmanAoD

This comment has been minimized.

@weihanglo

This comment has been minimized.

@weihanglo

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-add Command-init S-needs-team-input Status: Needs input from team on whether/how to proceed.
Projects
None yet
Development

No branches or pull requests

3 participants