A tapped formula is a ruby file present:
- in the root of the tap
- in directory of the tap called Formula
- in a directory of the tap called HomebrewFormula
And nowhere else. This corrects an overzealous definition of tapped
formula in the updater. (the correct definition has been in Pathname
since e613cbe578)
Refs #19743.
Closes#21087.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This fixes reporting of which formulae changed in git versions where `pull`
output is not compatible.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The update_git_pull_output_with_formulae_changes fixture (which consists
of mocked-up `git pull` output) listed a few files as both updated and
deleted. This caused the test_update_homebrew_with_formulae_changes test to
fail. My guess is that this fixture was mocked-up before formula deletion
handling was introduced, and became broken when it was. This revision just
makes this fixture internally consistent, and allows the associated test to
pass.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Break single test case class into several test cases.
* Fix broken arch test.
* Make update tests optional (seem to only work for mxcl).
* Add more tests.
* Move fixtures to separate folder.