brunophilipe / Cakebrew

Manage your Homebrew formulas with style using Cakebrew.
http://www.cakebrew.com
GNU General Public License v3.0
4.8k stars 254 forks source link

Bug in "Repositories" view? #193

Open luckman212 opened 7 years ago

luckman212 commented 7 years ago

I'm running the following:

When I open Cakebrew and click Repositories - this is what is displayed: screenshot

Note the extra output (including one blank/null line) above caskroom/cask. When I run brew tap from Terminal, I get this output, which seems correct:

$ brew tap
caskroom/cask
homebrew/core
homebrew/dupes
rodionovd/taps

Any idea?

brunophilipe commented 7 years ago

Thanks for the report!

For a while now Homebrew updates itself automatically if you run a command after having last updated it in a while. I suppose this could be fixed by a smarter parser, but it’s kinda sad the program does these things without being asked to. The problem is that it is non-intuitive when the updater will run, so it’s hard to write and test a paster that will always work. I will have a look at it anyway.

On 4 Jun, 2017, at 16:51, Luke Hamburg notifications@github.com wrote:

I'm running the following:

macOS 10.12.5 Cakebrew 1.2.3 (538) Homebrew 1.2.1 When I open Cakebrew and click Repositories - this is what is displayed: https://camo.githubusercontent.com/db72a686021d6605161e9e2a22faaa3622659a74/68747470733a2f2f692e696d6775722e636f6d2f626d5630517a322e706e67 Note the extra output (including one blank/null line) above caskroom/cask. When I run brew tap from Terminal, I get this output, which seems correct:

$ brew tap caskroom/cask homebrew/core homebrew/dupes rodionovd/taps Any idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/brunophilipe/Cakebrew/issues/193, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCaQuc8eVZGrDHvSx1yngKe2nTyQjZdks5sAsR9gaJpZM4NvZNs.

luckman212 commented 7 years ago

Hmm, I see. It's odd, after running brew doctor from within Cakebrew, the display returned to normal. If Homebrew likes to update itself here and there without provocation, perhaps invoking an additional brew tap and parsing that to populate the Repositories section would work?