Skip to content
Snippets Groups Projects

Add syncing strategy for Rust packages that registers crates from a rust-lang/crates.io-index like repository

Merged Warren Gifford requested to merge tjdevries/all_crates into main

Created by: tjdevries

Previously, it was only possible to add Rust crates by updating the site-admin configuration for our Rust code host. This PR adds adds an alternative syncing strategy, which is to register crates from an "index repository" such as github.com/rust-lang/crates.io-index. The index repository is configurable (it defaults to empty string, no syncing) as well as the syncing interval (defaults to every 12hr)

Test plan

Manually ran the code locally to test that it works.

Merge request reports

Merged by avatar (May 6, 2025 7:20am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading