File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,19 @@ HH:MM:SS` back in the queue:
80
80
UPDATE queue SET attempt = 0 WHERE attempt >= 5 AND build_time > 'YYYY-MM-DD HH:MM:SS';
81
81
```
82
82
83
+ ### Removing a crate from the website
84
+
85
+ Sometimes it might be needed to remove all the content related to a crate from
86
+ docs.rs (for example after receiving a DMCA). To do that, log into the server
87
+ and run:
88
+
89
+ ```
90
+ cratesfyi database delete-crate CRATE_NAME
91
+ ```
92
+
93
+ The command will remove all the data from the database, and then remove the
94
+ files from S3.
95
+
83
96
[ repo ] : https://github.com/rust-lang/docs.rs
84
97
[ grafana-instance ] : https://grafana.rust-lang.org/d/rpXrFfKWz/instance-metrics?orgId=1&var-instance=docsrs.infra.rust-lang.org:9100
85
98
[ grafana-app ] : https://grafana.rust-lang.org/d/-wWFg2cZz/docs-rs?orgId=1
You can’t perform that action at this time.
0 commit comments