缺少自制软件 phpNN-xdebug?
Homebrew phpNN-xdebug missing?
我正在尝试使用自制软件在 mac 上安装 php56-xdebug。所有关于如何执行此操作的建议似乎都已过时两周。
我从显而易见的开始:
$ brew install php56-xdebug
Error: No available formula with the name "php56-xdebug"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
当我使用 brew search xdebug
我得到
==> Searching local taps...
==> Searching taps on GitHub...
==> Searching blacklisted, migrated and deleted formulae...
No formula found for "xdebug".
随后是一大堆已关闭的拉取请求。 brew update
和 brew doctor
没有帮助。
这里还有其他几个像我这样的问题,大多数答案都说我需要添加 tap homebrew/php
,但现在似乎不再是这样了:
$ brew tap homebrew/php
Error: homebrew/php was deprecated. This tap is now empty as all its formulae were migrated
但是迁移到哪里了? homebrew/php 的 git 回购已于 16 天前关闭,备忘录为 "migrate to homebrew/core"。但我在那里找不到任何关于缺失公式的信息。 "php56" 仅出现在更新 php 本身的公式中。在搜索中,他们甚至没有出现在 "recently deleted".
下
我只是不幸需要 xdebug 而 php56 支持处于某种自制软件状态,因为公式已移至核心存储库?
如果答案是肯定的,那么后续行动是,"does this kind of thing happen often?"
如 homebrew/homebrew-php
所述:
All formulae were migrated to Homebrew/homebrew-core or deleted.
所以,如果公式不在核心中,它们就消失了。让我们看看核心内容:
$ git clone https://github.com/Homebrew/homebrew-core.git
...
$ ls -1 homebrew-core/Formula/php*
homebrew-core/Formula/php-code-sniffer.rb
homebrew-core/Formula/php-cs-fixer.rb
homebrew-core/Formula/php.rb
homebrew-core/Formula/php@5.6.rb
homebrew-core/Formula/php@7.0.rb
homebrew-core/Formula/php@7.1.rb
homebrew-core/Formula/phplint.rb
homebrew-core/Formula/phpunit.rb
所以我看到 PHP 5.6 正确,以及一些 PHP devops 实用程序。但是,我没有看到 XDebug。
根据 news 页面上的声明:
Unfortunately we have been unable to maintain an acceptable, consistent user or contributor experience and CI workload through non-core formula taps in the Homebrew organisation so we are continuing to migrate widely used formulae into Homebrew/core and encourage more niche formulae and options to be supported outside the Homebrew organisation.
关于 "continuing" 迁移,并且考虑到迁移是从 Python 2.7 到 3+ - 这不一定是微不足道的 - 我怀疑他们目前处于不确定状态......或者走了。
我正在尝试使用自制软件在 mac 上安装 php56-xdebug。所有关于如何执行此操作的建议似乎都已过时两周。
我从显而易见的开始:
$ brew install php56-xdebug
Error: No available formula with the name "php56-xdebug"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
当我使用 brew search xdebug
我得到
==> Searching local taps...
==> Searching taps on GitHub...
==> Searching blacklisted, migrated and deleted formulae...
No formula found for "xdebug".
随后是一大堆已关闭的拉取请求。 brew update
和 brew doctor
没有帮助。
这里还有其他几个像我这样的问题,大多数答案都说我需要添加 tap homebrew/php
,但现在似乎不再是这样了:
$ brew tap homebrew/php
Error: homebrew/php was deprecated. This tap is now empty as all its formulae were migrated
但是迁移到哪里了? homebrew/php 的 git 回购已于 16 天前关闭,备忘录为 "migrate to homebrew/core"。但我在那里找不到任何关于缺失公式的信息。 "php56" 仅出现在更新 php 本身的公式中。在搜索中,他们甚至没有出现在 "recently deleted".
下我只是不幸需要 xdebug 而 php56 支持处于某种自制软件状态,因为公式已移至核心存储库?
如果答案是肯定的,那么后续行动是,"does this kind of thing happen often?"
如 homebrew/homebrew-php
所述:
All formulae were migrated to Homebrew/homebrew-core or deleted.
所以,如果公式不在核心中,它们就消失了。让我们看看核心内容:
$ git clone https://github.com/Homebrew/homebrew-core.git
...
$ ls -1 homebrew-core/Formula/php*
homebrew-core/Formula/php-code-sniffer.rb
homebrew-core/Formula/php-cs-fixer.rb
homebrew-core/Formula/php.rb
homebrew-core/Formula/php@5.6.rb
homebrew-core/Formula/php@7.0.rb
homebrew-core/Formula/php@7.1.rb
homebrew-core/Formula/phplint.rb
homebrew-core/Formula/phpunit.rb
所以我看到 PHP 5.6 正确,以及一些 PHP devops 实用程序。但是,我没有看到 XDebug。
根据 news 页面上的声明:
Unfortunately we have been unable to maintain an acceptable, consistent user or contributor experience and CI workload through non-core formula taps in the Homebrew organisation so we are continuing to migrate widely used formulae into Homebrew/core and encourage more niche formulae and options to be supported outside the Homebrew organisation.
关于 "continuing" 迁移,并且考虑到迁移是从 Python 2.7 到 3+ - 这不一定是微不足道的 - 我怀疑他们目前处于不确定状态......或者走了。