Feature request: Add `rsync` command
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 42/100
調査の方向性
Start by comparing the proposed trellis rsync cp and trellis rsync sync entry points with the CLI's existing command conventions. Resolve the supported arguments, flags, local and remote path behavior, and whether deletion is allowed; done means the selected command produces the documented rsync transfer for the shown examples.
索引モデルが issue の本文から書いたものです。
説明
- I've read the guidelines for Contributing to Roots Projects
- This request isn't a duplicate of an existing request
- This is not a personal support request that should be posted on the Roots Discourse community
Summary
Add trellis rsync which transfers files between remote servers and local machines.
Example:
rsync -aP --numeric-ids -e "ssh -T -o Compression=no -x -p 22" '[email protected]:/srv/www/example.com/shared/uploads/' /Users/me/Desktop/example.com/uploads/
Discussion
What subcommands / flags should we provide?
For reference: AWS CLI provides 3 different subcommands for moving files between s3 buckets and local machines:
aws s3 mv <source> <destation>
aws s3 sync <source> <destation>
aws s3 cp <source> <destation>
Possible solutions:
# rsync without --delete
trellis rsync cp <env> <site> <source> <destation>
trellis rsync cp production example.com shared/uploads/ /Users/me/Desktop/example.com/uploads/
==> rsync -aP --numeric-ids -e "ssh -T -o Compression=no -x -p 22" '[email protected]:/srv/www/example.com/shared/uploads/' /Users/me/Desktop/example.com/uploads/
trellis rsync cp --user=admin production example.com /absolute/path/ /Users/me/Desktop/example.com/uploads/
==> rsync -aP --numeric-ids -e "ssh -T -o Compression=no -x -p 22" '[email protected]:/absolute/path/' /Users/me/Desktop/example.com/uploads/
# rsync with --delete
trellis rsync sync <env> <site> <source> <destation>
- 主要言語
- Go
- スター
- 170
- フォーク
- 32
- 平均マージ
- 1時間 2分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
roots/trellis-cli のほかの issue
-
GoReleaser: Switch to `homebrew_casks` from `brews`対応中かも @tangrufus が 215 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
roots/trellis-cli#669 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
roots/trellis-cli#670 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
roots/trellis-cli#504 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
roots/trellis-cli#451 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
❤️ as a developer i need to generate new salts in vaults for each environment when cloning a template repo using radicle/trellis so we can have better boilerplates対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
roots/trellis-cli#426 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
roots/trellis-cli の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
OpenSlides/openslides-go#342 ·
メンテナーはふだん 4 日以内に返信
-
docs: link to the CLA in InditexTech/foss instead of keeping a local CLA.md対応中かも @amagan が今日担当しました。 オープンdocumentation
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
InditexTech/redkey-operator#129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
trufflesecurity/trufflehog#5573 ·
メンテナーはふだん 1 日以内に返信