Commit f08a122
Import gws (Google Workspace CLI) from GitHub
Summary:
X-link: meta-pytorch/monarch#2923
Import the Google Workspace CLI (gws) package from https://github.com/googleworkspace/cli
into fbsource's third-party Rust dependencies.
gws is a Rust CLI tool that provides a dynamic command surface for interacting with
Google Workspace APIs via the Discovery Service. It supports OAuth authentication
and various Google Workspace services like Drive, Gmail, Calendar, etc.
Changes made:
1. Added gws dependency to third-party/rust/Cargo.toml with artifact = "bin:gws"
in the Linux + macOS + Windows platform section
2. Updated chrono from 0.4.41 to 0.4.44 (required by gws)
3. Created fixups/gws/fixups.toml with cargo_env for CARGO_PKG_VERSION and
CARGO_PKG_NAME (required for version display in CLI)
4. Vendored all dependencies and regenerated BUCK targets
Usage:
deps = ["fbsource//third-party/rust:gws-gws"]
Commands executed during import:
# Fix git proxy configuration
git config --global --replace-all http.proxy http://fwdproxy:8080
# Vendor the package (downloads source and transitive deps)
fbcode/common/rust/tools/reindeer/vendor
# Regenerate BUCK targets with fixups
fbcode/common/rust/tools/reindeer/buckify
# Run autocargo to update first-party Cargo.toml files
arc autocargo
# Build verification
buck2 build fbsource//third-party/rust:gws-gws
# Result: BUILD SUCCEEDED
Reviewed By: dtolnay
Differential Revision: D95642042
fbshipit-source-id: 8a8b3e7e187b79f007aa86fa0380ab950937f3fb1 parent 16b493e commit f08a122
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments