Skip to content

Commit ec5047c

Browse files
committed
Remove GitImport admin command
This tool has served its purpose and we don't need it anymore. There is no reason to keep compiling the code and bloating our binaries.
1 parent 86dedf5 commit ec5047c

File tree

3 files changed

+2
-125
lines changed

3 files changed

+2
-125
lines changed

src/admin/git_import.rs

Lines changed: 0 additions & 120 deletions
This file was deleted.

src/admin/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ pub mod delete_crate;
33
pub mod delete_version;
44
pub mod dialoguer;
55
pub mod enqueue_job;
6-
pub mod git_import;
76
pub mod migrate;
87
pub mod on_call;
98
pub mod populate;

src/bin/crates-admin.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
extern crate tracing;
33

44
use crates_io::admin::{
5-
default_versions, delete_crate, delete_version, enqueue_job, git_import, migrate, populate,
6-
render_readmes, test_pagerduty, transfer_crates, upload_index, verify_token, yank_version,
5+
default_versions, delete_crate, delete_version, enqueue_job, migrate, populate, render_readmes,
6+
test_pagerduty, transfer_crates, upload_index, verify_token, yank_version,
77
};
88

99
#[derive(clap::Parser, Debug)]
@@ -19,7 +19,6 @@ enum Command {
1919
Migrate(migrate::Opts),
2020
UploadIndex(upload_index::Opts),
2121
YankVersion(yank_version::Opts),
22-
GitImport(git_import::Opts),
2322
#[clap(subcommand)]
2423
EnqueueJob(enqueue_job::Command),
2524
#[clap(subcommand)]
@@ -49,7 +48,6 @@ fn main() -> anyhow::Result<()> {
4948
Command::Migrate(opts) => migrate::run(opts),
5049
Command::UploadIndex(opts) => upload_index::run(opts),
5150
Command::YankVersion(opts) => yank_version::run(opts),
52-
Command::GitImport(opts) => git_import::run(opts),
5351
Command::EnqueueJob(command) => enqueue_job::run(command),
5452
Command::DefaultVersions(opts) => default_versions::run(opts),
5553
}

0 commit comments

Comments
 (0)