如何在厨师食谱中添加多个维护者?

格萨斯利斯

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

文档说明:

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 '[email protected]'

以上似乎暗示厨师每本食谱只接受一名维护者...?

有没有人看过不止一个/知道如何做?(例如多maintainer行)?

编码器

没有具体的方法可以做到这一点。您可以将两个字符串(名称和电子邮件)设为逗号分隔的列表或任何您想要的名称。这些字段仅适用于人类,因此其中的内容对Chef而言实际上并不重要,只不过它们必须是字符串。让它们成为数组可能不会有什么坏处,但实际上并没有太大收获,因为再次使用该字段的唯一工具是超市的显示。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章