aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
AgeCommit message (Collapse)Author
2012-03-16`brew info` understands tapsMax Howell
Note I removed some of the code that changed the URL to be that of the github.user. Because this doesn't make any sense really. We want people to reference the commit history for whatever fork of homebrew they have checked out. So this is now what it does.
2012-01-03info: always mark currently linked keg with *Jack Nagel
When multiple kegs are installed, `brew info` marks a keg with an asterisk if f.installed_prefix == keg, but this is only true if either HEAD or the newest version of the formula is installed. This isn't always useful, so let's mark the currently linked keg with an asterisk regardless of the version. Obviously, keg-only formula will never be marked, but this is probably a feature. When multiple keg-only kegs exist, chances are that they are each being utilized by something, so there isn't really a "used" and "unused" version. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-03info: display used options for all installed kegsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-20Omit empty caveatsAdam Vandenberg
2011-11-13info: display used options for installed formulaeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-16Centralize definition of `rack` in formula.rbCharlie Sharpsteen
`rack` is a commonly used alias for `formula.prefix.parent`---so common that it gets defined and used quite a bit. This patch makes `rack` an official method of the `Formula` class.
2011-08-11Add keg-only text to `brew info` outputJack Nagel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16Fix brew-info when on branch master and github.user setJack Nagel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-18Fixed reading branch nameSebastian Staudt
The git command now uses --git-dir instead of --work-tree. Using --work-tree won't work if you are inside another Git repository. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-14brew info should fetch remote formula infoJoshua Peek
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12Use + instead of /.Adam Vandenberg
2011-03-12Refactor the brew command into one file per commandMax Howell
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.