Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Chef infra 如何将多个维护人员添加到厨师烹饪手册中?_Chef Infra - Fatal编程技术网

Chef infra 如何将多个维护人员添加到厨师烹饪手册中?

Chef infra 如何将多个维护人员添加到厨师烹饪手册中?,chef-infra,Chef Infra,听起来这是一个非常有效的用例(在现实世界中,不止一个ppl负责维护工作),所以我想知道关于metadata.rb选项,我是否缺少一些东西 国家: 上面的内容似乎暗示,厨师只接受一个维护者每食谱 有没有人见过不止一个人/知道怎么做? (例如,多个维护者行)?没有具体的方法来执行。您可以将两个字符串(姓名和电子邮件)设置为逗号分隔的列表或任何您想要的内容。这些领域只对人类而言,因此它们所包含的内容对厨师来说并不重要,除了它们必须是字符串。让它们成为数组可能不会有什么坏处,但也不会有太多好处,因为使用

听起来这是一个非常有效的用例(在现实世界中,不止一个ppl负责维护工作),所以我想知道关于
metadata.rb
选项,我是否缺少一些东西

国家:

上面的内容似乎暗示,厨师只接受一个维护者每食谱

有没有人见过不止一个人/知道怎么做?
(例如,多个
维护者
行)?

没有具体的方法来执行。您可以将两个字符串(姓名和电子邮件)设置为逗号分隔的列表或任何您想要的内容。这些领域只对人类而言,因此它们所包含的内容对厨师来说并不重要,除了它们必须是字符串。让它们成为数组可能不会有什么坏处,但也不会有太多好处,因为使用该字段的唯一工具是超市的显示器。

没有具体的方法。您可以将两个字符串(姓名和电子邮件)设置为逗号分隔的列表或任何您想要的内容。这些领域只对人类而言,因此它们所包含的内容对厨师来说并不重要,除了它们必须是字符串。让它们成为数组可能不会有什么坏处,但也不会有太多好处,因为使用该字段的唯一工具是超市的显示。

在本地创建cookbook时,您可以使用命令:

厨师长生成食谱测试-C“maintainer1”、“maintainer2”-m“maintainer1”、“maintainer2”

元数据.rb

名称“测试” 维护者“维护者1,维护者2”
维护者\u电子邮件“维护者1,维护者2”
许可证“所有权利”
说明“安装/配置测试”
长描述“安装/配置测试”

版本“0.1.0”

在本地创建cookbook时,您可以使用命令:

厨师长生成食谱测试-C“maintainer1”、“maintainer2”-m“maintainer1”、“maintainer2”

元数据.rb

名称“测试” 维护者“维护者1,维护者2”
维护者\u电子邮件“维护者1,维护者2”
许可证“所有权利”
说明“安装/配置测试”
长描述“安装/配置测试”

版本“0.1.0”

只需在cookbook repo中删除一个
mainters.md
。请参阅本食谱以获取示例。FWIW,这只是一个信息行。只需在烹饪书repo中添加一个
MAINTAINERS.md
。请参阅本食谱以获取示例。FWIW,这只是一条信息线。
maintainer

The name of the person responsible for maintaining a cookbook, either an individual or an organization.

For example:

maintainer 'Adam Jacob'

`maintainer_email`

The email address for the person responsible for maintaining a cookbook. Only one email can be listed here, so if this needs to be forwarded to multiple people consider using an email address that is already setup for mail forwarding.

For example:

maintainer_email 'adam@example.com'