来自 fuchsia.dev 的构建源与向 fuchsia.googlesource.com 提交更改的过程?

Source for a build from fuchsia.dev vs the process to submit a change to fuchsia.googlesource.com?

Fuchsia > Guides -- Get Fuchsia source code 似乎暗示 git 参与了 Fuchsia OS 源码的下载:

$ sudo apt-get install build-essential curl git python unzip

下载的实际命令没有明确使用git

curl -s "https://fuchsia.googlesource.com/fuchsia/+/master/scripts/bootstrap?format=TEXT" | base64 --decode | bash

Fuchsia > Guides -- Contribute changes 显示 git 命令作为对 Fuchsia OS.

进行编码更改的第一步
git checkout -b <branch_name>

fuchsia.dev and the process to submit a change to fuchsia.googlesource.com获取构建源有什么关系?

例如,是否需要将这些作为到不同位置的两个单独的操作来执行,或者是否可以直接跳到从 fuchsia.dev 下载的源代码中间以获取 git 命令,如中所述fuchsia.googlesource.com?

Fuchsia 使用名为 jiri to manage the multiple repositories that make up a complete Fuchsia build/development environment. You'll see that the boostrap script 的工具 post 中提到的使用此工具进行结帐。

jiri 完成为您创建环境后,您可以像往常一样使用 git 命令。 jiri 只是用于确保您在项目中的多个 git 存储库中设置 consistent/working 的工具。

What is the relationship of getting the source for a build from fuchsia.dev and the process to submit a change to fuchsia.googlesource.com?

获取开发环境最好使用 jiri 工具。您最终会得到一堆 git 个存储库,您可以对其进行更改。可以通过正常的 git/gerrit 命令推送这些更改以提交代码以供审核。

For example, does one need to do these as two separate actions to different places or can one just jump in the middle of the downloaded sources from fuchsia.dev for the git commands as described in fuchsia.googlesource.com?

jiri工具克隆的git库适合做开发和推送代码以供审核。他们的 origin 遥控器应该正确设置 "out of the box" 可以这么说。