Sometimes software and formulae need to be renamed. To rename a formula you need to:
Rename the formula file and its class to a new formula. The new name must meet all the usual rules of formula naming. Fix any test failures that may occur due to the stricter requirements for new formulae than existing formulae (i.e. brew audit --strict
must pass for that formula).
Create a pull request to the corresponding tap deleting the old formula file, adding the new formula file, and adding it to formula_renames.json
with a commit message like newack: renamed from ack
. Use the canonical name (e.g. ack
instead of user/repo/ack
).
A formula_renames.json
example for a formula rename:
{
"ack": "newack"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。