File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#[ macro_use]
22extern crate tracing;
33
4- mod backfill_og_images;
54mod default_versions;
65mod delete_crate;
76mod delete_version;
87mod dialoguer;
98mod enqueue_job;
109mod migrate;
1110mod populate;
11+ mod render_og_images;
1212mod render_readmes;
1313mod transfer_crates;
1414mod upload_index;
@@ -18,7 +18,7 @@ mod yank_version;
1818#[ derive( clap:: Parser , Debug ) ]
1919#[ command( name = "crates-admin" ) ]
2020enum Command {
21- BackfillOgImages ( backfill_og_images :: Opts ) ,
21+ RenderOgImages ( render_og_images :: Opts ) ,
2222 DeleteCrate ( delete_crate:: Opts ) ,
2323 DeleteVersion ( delete_version:: Opts ) ,
2424 Populate ( populate:: Opts ) ,
@@ -48,7 +48,7 @@ async fn main() -> anyhow::Result<()> {
4848 span. record ( "command" , tracing:: field:: debug ( & command) ) ;
4949
5050 match command {
51- Command :: BackfillOgImages ( opts) => backfill_og_images :: run ( opts) . await ,
51+ Command :: RenderOgImages ( opts) => render_og_images :: run ( opts) . await ,
5252 Command :: DeleteCrate ( opts) => delete_crate:: run ( opts) . await ,
5353 Command :: DeleteVersion ( opts) => delete_version:: run ( opts) . await ,
5454 Command :: Populate ( opts) => populate:: run ( opts) . await ,
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ use tracing::{info, warn};
99
1010#[ derive( clap:: Parser , Debug ) ]
1111#[ command(
12- name = "backfill -og-images" ,
13- about = "Enqueue OG image generation jobs for existing crates"
12+ name = "render -og-images" ,
13+ about = "Enqueue OG image generation jobs for crates"
1414) ]
1515pub struct Opts {
1616 #[ arg( long, default_value = "1000" ) ]
@@ -29,7 +29,7 @@ pub struct Opts {
2929pub async fn run ( opts : Opts ) -> Result < ( ) > {
3030 let mut conn = db:: oneoff_connection ( ) . await ?;
3131
32- info ! ( "Starting OG image backfill with options: {opts:?}" ) ;
32+ info ! ( "Starting OG image rendering with options: {opts:?}" ) ;
3333
3434 // Helper function to build query
3535 let build_query = |offset : i64 | {
You can’t perform that action at this time.
0 commit comments