Description
It's been a while since I've used crates.io locally, and I'm running into some difficulties that don't seem to be documented in CONTRIBUTING.md (or at least I'm missing it).
Email verification
It seems kinda tricky to verify one's email address. I had to load a file in the /tmp
directory and decode it with python to find the URL to open. It would be nice if there was a command to run to force a verification (or a SQL command to run, or something).
Background updates
In order to use a crate that has been published, it looks like I need to run cargo run --bin background-worker
? Is that correct? I don't see it documented, so I'm not sure. Or is there maybe a setting to do the index updates synchronously? I'm also curious what exactly the background worker does.
Index not updated
The tmp/index-co
repo doesn't seem to get updated automatically by the background worker. I need to git pull
it after each publish. Would it make sense to change the documentation to use tmp/index-bare
instead? I think that works with Cargo, so I'm not sure if there's a need for index-co
at all (maybe it is used in tests?). (Maybe I'm doing things wrong with the background worker?)