-
Notifications
You must be signed in to change notification settings - Fork 2.7k
adding policies page to the docs #3057
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| % Crates.io package policies | ||
|
|
||
| In general, these policies are guidelines. Problems are often contextual, and | ||
| exceptional circumstances sometimes require exceptional measures. We plan to | ||
| continue to clarify and expand these rules over time as new circumstances | ||
| arise. | ||
|
|
||
| # Package Ownership | ||
|
|
||
| We have a first-come, first-served policy on crate names. Upon publishing a | ||
| package, the publisher will be made owner of the package on Crates.io. | ||
|
|
||
| If someone wants to take over a package, and the previous owner agrees, the | ||
| existing maintainer can add them as an owner, and the new maintainer can remove | ||
| them. If necessary, the team may reach out to inactive maintainers and help | ||
| mediate the process of ownership transfer. | ||
|
|
||
| # Removal | ||
|
|
||
| Many questions are specialized instances of a more general form: “Under what | ||
| circumstances can a package be removed from Crates.io?” | ||
|
|
||
| The short version is that packages are first-come, first-served, and we won’t | ||
| attempt to get into policing what exactly makes a legitimate package. We will | ||
| do what the law requires us to do, and address flagrant violations of the Rust | ||
| Code of Conduct. | ||
|
|
||
| ## Squatting | ||
|
|
||
| We do not have any policies to define 'squatting', and so will not hand over | ||
| ownership of a package for that reason. | ||
|
|
||
|
|
||
| ## The Law | ||
|
|
||
| For issues such as DMCA violations, trademark and copyright infringement, | ||
| Crates.io will respect Mozilla Legal’s decisions with regards to content that | ||
| is hosted. | ||
|
|
||
| ## Code of Conduct | ||
|
|
||
| The Rust project has a [Code of Conduct] which governs appropriate conduct for | ||
| the Rust community. In general, any content on Crates.io that violates the Code | ||
| of Conduct may be removed. There are two important, related aspects: | ||
|
|
||
| - We will not be pro-actively monitoring the site for these kinds of violations, | ||
| but relying on the community to draw them to our attention. | ||
| - “Does this violate the Code of Conduct” is a contextual question that | ||
| cannot be directly answered in the hypothetical sense. All of the details | ||
| must be taken into consideration in these kinds of situations. | ||
|
|
||
| [Code of Conduct]: https://www.rust-lang.org/conduct.html | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"served"