crate-backup: store reverse dependencies - #14487
Conversation
|
hmm... something like |
|
should I query the db from python? Or at this point is better to copy paste a query in the runbook? |
|
@marcoieni since I just noticed, please use your personal repo fork for PRs in the future 🙏 |
the python script does not have access to the database at the moment and I think it's better to keep it that way for now, so that people without db access can still use that part of the script.
yeah, I think that's easiest for now |
|
ooops, sorry, should we have a ruleset that prevents this from happening? |
|
iirc I've had some cases in the past where it was beneficial to work directly on a branch in the upstream repo due to how CI works. might have been when working on https://github.com/rust-lang/crates.io/blob/main/.github/workflows/update-cdn-ip-ranges.yml, but I don't remember exactly. I think convention is probably sufficient. |
Test
Run
python3 script/crate-backup.py poetry-bookoutputs the file
reverse-dependencies.csv:it reflects the UI:

AI disclosure
I used GPT5.6-Sol with the codex harness to generate this change. I reviewed its output and changed it where necessary.