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

Move all crates.io instructions to crates.io ops guide #623

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
- [How to run the planning meeting](./compiler/steering-meeting/how-to-run-planning.md)
- [How to run a design meeting](./compiler/steering-meeting/how-to-run-design.md)
- [crates.io](./crates-io/README.md)
- [Crate removal](./crates-io/crate-removal.md)
- [Database maintenance](./crates-io/db-maintenance.md)
- [docs.rs](./docs-rs/README.md)
- [Adding dependencies to the build environment](./docs-rs/add-dependencies.md)
- [Self-hosting a docs.rs instance](./docs-rs/self-hosting.md)
Expand Down
7 changes: 6 additions & 1 deletion src/crates-io/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# crates.io

This section documents the processes of the crates.io team.
The crates.io team has [its own operations guide][ops] in [a private repo][repo]. Contact [a member
of the crates.io team][team] if you need access to the crates.io ops guide.

[ops]: https://ops-guide.crates.io/
[repo]: https://github.com/rust-lang/crates-io-ops-guide
[team]: https://www.rust-lang.org/governance/teams/crates-io
48 changes: 0 additions & 48 deletions src/crates-io/crate-removal.md

This file was deleted.

203 changes: 0 additions & 203 deletions src/crates-io/db-maintenance.md

This file was deleted.

15 changes: 12 additions & 3 deletions src/docs-rs/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,18 @@ UPDATE queue SET attempt = 0 WHERE attempt >= 5 AND build_time > 'YYYY-MM-DD HH:

## Removing a crate from the website

Sometimes it might be needed to remove all the content related to a crate from
docs.rs (for example after receiving a DMCA). To do that, log into the server
and run:
The docs.rs application supports deleting all the documentation ever published
of a crate (for example after receiving a DMCA), by running a CLI command. The
people who currently have permissions to access the server and run it are:

* docs.rs Team:
* [@pietroalbini](https://github.com/pietroalbini)
* [@jyn514](https://github.com/jyn514)
* Infrastructure Team:
* [@Mark-Simulacrum](https://github.com/Mark-Simulacrum)
Comment on lines +129 to +133
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* docs.rs Team:
* [@pietroalbini](https://github.com/pietroalbini)
* [@jyn514](https://github.com/jyn514)
* Infrastructure Team:
* [@Mark-Simulacrum](https://github.com/Mark-Simulacrum)
* docs.rs Team:
* [@jyn514](https://github.com/jyn514)
* [@syphar](https://github.com/syphar)
* [@Nemo157](https://github.com/nemo157)
* Infrastructure Team:
* [@Mark-Simulacrum](https://github.com/Mark-Simulacrum)
* [@pietroalbini](https://github.com/pietroalbini)

I worry that it doesn't make sense to hard-code this separately from https://github.com/orgs/rust-lang/teams/docs-rs ? Can we link there instead?

* People with elevated 1password access

If you are one of these people, log into the server and run:

```
cratesfyi database delete-crate CRATE_NAME
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
cratesfyi database delete-crate CRATE_NAME
cratesfyi database delete crate CRATE_NAME

There is also a delete version command if you only want to delete a specific version.

Expand Down