Refactor the brew command into one file per command
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
Showing
- Library/Contributions/examples/brew-missing.rb 7 additions, 10 deletionsLibrary/Contributions/examples/brew-missing.rb
- Library/Contributions/examples/brew-server 0 additions, 1 deletionLibrary/Contributions/examples/brew-server
- Library/Contributions/examples/brew-upgrade.rb 3 additions, 7 deletionsLibrary/Contributions/examples/brew-upgrade.rb
- Library/Homebrew/beer_events.rb 0 additions, 199 deletionsLibrary/Homebrew/beer_events.rb
- Library/Homebrew/brew.h.rb 0 additions, 600 deletionsLibrary/Homebrew/brew.h.rb
- Library/Homebrew/cleaner.rb 15 additions, 0 deletionsLibrary/Homebrew/cleaner.rb
- Library/Homebrew/cmd/--cache.rb 9 additions, 0 deletionsLibrary/Homebrew/cmd/--cache.rb
- Library/Homebrew/cmd/--cellar.rb 9 additions, 0 deletionsLibrary/Homebrew/cmd/--cellar.rb
- Library/Homebrew/cmd/--config.rb 66 additions, 0 deletionsLibrary/Homebrew/cmd/--config.rb
- Library/Homebrew/cmd/--env.rb 32 additions, 0 deletionsLibrary/Homebrew/cmd/--env.rb
- Library/Homebrew/cmd/--prefix.rb 9 additions, 0 deletionsLibrary/Homebrew/cmd/--prefix.rb
- Library/Homebrew/cmd/--repository.rb 5 additions, 0 deletionsLibrary/Homebrew/cmd/--repository.rb
- Library/Homebrew/cmd/cat.rb 10 additions, 0 deletionsLibrary/Homebrew/cmd/cat.rb
- Library/Homebrew/cmd/cleanup.rb 42 additions, 0 deletionsLibrary/Homebrew/cmd/cleanup.rb
- Library/Homebrew/cmd/create.rb 153 additions, 0 deletionsLibrary/Homebrew/cmd/create.rb
- Library/Homebrew/cmd/deps.rb 14 additions, 0 deletionsLibrary/Homebrew/cmd/deps.rb
- Library/Homebrew/cmd/diy.rb 34 additions, 0 deletionsLibrary/Homebrew/cmd/diy.rb
- Library/Homebrew/cmd/doctor.rb 3 additions, 1 deletionLibrary/Homebrew/cmd/doctor.rb
- Library/Homebrew/cmd/edit.rb 26 additions, 0 deletionsLibrary/Homebrew/cmd/edit.rb
- Library/Homebrew/cmd/home.rb 9 additions, 0 deletionsLibrary/Homebrew/cmd/home.rb
Loading
Please register or sign in to comment