3

プロジェクトでは git-repo ツールを使用していますが、コード レビューには gerrit を使用していません。これまでは通常の git コマンドを使用して変更をプッシュしていましたが、リポジトリの量が増えているため、リポジトリのアップロード機能を使用すると便利です。

リポジトリのアップロードには、マニフェストにレビュー サーバーが必要です。通常の git リモートを追加しようとしましたが、うまくいきませんでした。

潜在的な解決策は、すべてのリポジトリでgit pushを実行するrepo forall -c ...コマンドを作成することです。それでも私はレポアップロードの組み込み機能が好きで、 gerrit レビューなしで同様の機能を持つことが可能かどうか疑問に思っています。理想的にはrepo pushのようなものです。

レポのヘルプによると、そのようなコマンドは利用できません:

$ repo help --all
usage: repo COMMAND [ARGS]
The complete list of recognized repo commands are:
  abandon        Permanently abandon a development branch
  branch         View current topic branches
  branches       View current topic branches
  checkout       Checkout a branch for development
  cherry-pick    Cherry-pick a change.
  diff           Show changes between commit and working tree
  diffmanifests  Manifest diff utility
  download       Download and checkout a change
  forall         Run a shell command in each project
  gitc-delete    Delete a GITC Client.
  gitc-init      Initialize a GITC Client.
  grep           Print lines matching a pattern
  help           Display detailed help on a command
  info           Get info on the manifest branch, current branch or unmerged branches
  init           Initialize repo in the current directory
  list           List projects and their associated directories
  manifest       Manifest inspection utility
  overview       Display overview of unmerged project branches
  prune          Prune (delete) already merged topics
  rebase         Rebase local branches on upstream branch
  selfupdate     Update repo to the latest version
  smartsync      Update working tree to the latest known good revision
  stage          Stage file(s) for commit
  start          Start a new branch for development
  status         Show the working tree status
  sync           Update working tree to the latest revision
  upload         Upload changes for code review
  version        Display the version of repo
See 'repo help <command>' for more information on a specific command.

gerritレビューなしでレポで変更をプッシュできるかどうか誰かが知っていますか?

4

1 に答える 1