This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94.
Turns out one of the "other things" is a dealbreaker.
We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.
So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.
The implications of this are:
- Anything that depends on readline will reinstall it as
"gnu-readline". Anything already installed will continue to function.
- "brew upgrade readline" will say "gnu-readline not installed", as
"readline" is now an alias.
- Probably other things.
So there are some downsides, but we will just have to deal with them.
FixesHomebrew/homebrew#15776.
As always a dump and restore of a previous (9.1) database is required to
upgrade.
ClosesHomebrew/homebrew#14834.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.
"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.
The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
If we d not explicitly specify utf8 as the encoding, the server will be
initialized with ASCII encoding for the template1 database, which causes
problems when trying to create new databases with UTF8 encoding.
ClosesHomebrew/homebrew#14149.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.
plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.
c.f. Homebrew/homebrew#9346.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Cleaned up the build process, thanks to GitHub user daddy2times
* Cleaned up caveats and added information about upgrading pre-9.1 databases
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Files go into share/postgresql and docs into share/docs/postgresql
instead of directly into share and share/docs.
Also include docs (man & html) which weren't being included in install
step of build (see
http://archives.postgresql.org/pgsql-bugs/2010-10/msg00156.php).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Documentation now has instructions on creating ~/Library/LaunchAgents
directory for first time installs of Formulas.
Appending trailing slash to Formula documentation in regards to copying
plists to LaunchAgents directory.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>