-
Notifications
You must be signed in to change notification settings - Fork 1.7k
chore: Migrate gsutil usage to gcloud storage #7063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ use std::io::Write; | |
| use rustboard_core::gcs; | ||
|
|
||
| #[derive(Clap, Debug)] | ||
| #[clap(name = "gsutil")] | ||
| #[clap(name = "gcloud storage")] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not really familiar with this code and the clap library (or Rust, for that matter), but from what I can gather, this might not really be doing anything... I think this is just a testing util (see line 16), and this might be just a display name. If it's not just a display name, then it probably refers to the testing CLI defined here, which would likely need to keep this name. AFAICT, the actual interactions with cloud is done via the client here, via http requests. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as gsutil is deprecated tool and gcloud storage should be used, by this replacement the users can start using gcloud storage instead of gsutil please let us know if this direct replacement works or not
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. I think this util is not actually using or interacting with the cli util, but (AFAICT) this name change shouldn't affect anywya, so we can merge this change. |
||
| struct Opts { | ||
| #[clap(long, default_value = "info")] | ||
| log_level: String, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to refer to the actual CLI command provided by google (assuming there is one, and that's why this is change was created), so this change is fine to keep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes gcloud storage is the latest tool instead of gsutil, yes we have this tool