Skip to content

Commit

Permalink
admin: Remove NormalizeIndex admin command
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Dec 31, 2022
1 parent 542d4ff commit e9d56da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 81 deletions.
1 change: 0 additions & 1 deletion src/admin/mod.rs
Expand Up @@ -3,7 +3,6 @@ pub mod delete_version;
pub mod dialoguer;
pub mod git_import;
pub mod migrate;
pub mod normalize_index;
pub mod on_call;
pub mod populate;
pub mod render_readmes;
Expand Down
76 changes: 0 additions & 76 deletions src/admin/normalize_index.rs

This file was deleted.

6 changes: 2 additions & 4 deletions src/bin/crates-admin.rs
@@ -1,8 +1,8 @@
#![warn(clippy::all, rust_2018_idioms)]

use cargo_registry::admin::{
delete_crate, delete_version, git_import, migrate, normalize_index, populate, render_readmes,
test_pagerduty, transfer_crates, upload_index, verify_token, yank_version,
delete_crate, delete_version, git_import, migrate, populate, render_readmes, test_pagerduty,
transfer_crates, upload_index, verify_token, yank_version,
};

#[derive(clap::Parser, Debug)]
Expand All @@ -25,7 +25,6 @@ enum SubCommand {
UploadIndex(upload_index::Opts),
YankVersion(yank_version::Opts),
GitImport(git_import::Opts),
NormalizeIndex(normalize_index::Opts),
}

fn main() -> anyhow::Result<()> {
Expand All @@ -50,7 +49,6 @@ fn main() -> anyhow::Result<()> {
SubCommand::UploadIndex(opts) => upload_index::run(opts)?,
SubCommand::YankVersion(opts) => yank_version::run(opts),
SubCommand::GitImport(opts) => git_import::run(opts)?,
SubCommand::NormalizeIndex(opts) => normalize_index::run(opts)?,
}

Ok(())
Expand Down

0 comments on commit e9d56da

Please sign in to comment.