Skip to content

Conversation

@syphar
Copy link
Member

@syphar syphar commented Feb 8, 2026

I'm currently not sure yet if this is worth the LOC,

but since building the builder & running builds is quite slow on my machine, this helps me to quickly have valid docs in a previously empty database. ( in my personal dev workflow containers / images / volumes are regularly deleted)

You can run it by just cd into the directory of the binary crate, and then just

cargo run -- regex 
# or 
cargo run -- regex '~1' 

( the version identifier understands the same things as docs.rs semver itself).

For now it only works for successful builds, and it likely will fail for older versions.

@GuillaumeGomez what do you think? Does it work for you? I remember you also thought about something similar, but simpler.

I didn't want to add it to the admin cli, since it's not for the server, but only for local usage.

@syphar syphar self-assigned this Feb 8, 2026
@syphar syphar requested a review from a team as a code owner February 8, 2026 18:56
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Feb 8, 2026
@syphar syphar force-pushed the import-test-release branch from a4fef7a to 4e414c5 Compare February 8, 2026 18:56
@GuillaumeGomez
Copy link
Member

Sounds like a good idea. Please add docs.

@syphar
Copy link
Member Author

syphar commented Feb 8, 2026

Sounds like a good idea. Please add docs.

@GuillaumeGomez I now mention it in the readme.

Did the command work for you too?

@GuillaumeGomez
Copy link
Member

Yup, all good for me now, thanks!

@syphar syphar merged commit 9afe19d into rust-lang:main Feb 8, 2026
13 checks passed
@syphar syphar deleted the import-test-release branch February 8, 2026 22:02
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Feb 8, 2026
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants