GHC 2017-02-11

4 comments.

, https://git.io/vDwlW in Homebrew/homebrew-core
@MikeMcQuaid [Internationalized domain name](https://en.wikipedia.org/wiki/Internationalized_domain_name).

"IRI support" is somewhat confusing because Wget can handle Unicode in path, query and fragment (which is simply a matter of percent-encoding) just fine without libidn; however, it requires libidn to support Unicode characters in the domain name.

As I said in https://github.com/Homebrew/homebrew-core/pull/9613#issuecomment-277555936, I'm recommending libidn on principle: 1. Wget defaults to supporting IDNs (when libidn is available, that is); 2. The web is increasingly internationalized; I've certainly encountered IDNs in the wild, and I expect to see more. (I do realize you can translate IDNs elsewhere and feed the ASCII version to a Wget without IDN support, e.g., copying from browser's address bar.)

However, I just realized that Wget 1.19 dropped support for libidn in favor of libidn2 (commit https://github.com/bettermirror/wget/commit/00ae9b4ee2caa6640776e9777e7ef5a374d082c0). Therefore, I removed libidn-related code from the formula.

Someone could contribute a libidn2 formula to bring the option back.

, https://git.io/vDwnx in Homebrew/homebrew-core
wget 1.19.1
===========

- [x] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)?
- [x] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?
- [x] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting?
- [x] Does your build pass `brew audit --strict <formula>` (after doing `brew install <formula>`)?

-----

- Make `openssl` mandatory and `libidn` recommended per discussions in #9613;
- Test: write retrieved page to `/dev/null` (the hundreds of kilobytes of output on stdout is useless).

, https://git.io/vDVAV in Homebrew/homebrew-core
youtube-dl 2017.02.11
=====================

Created with `brew bump-formula-pr`.

, https://git.io/vDVi0 in Homebrew/brew
You can use an external edit command. For instance, put the following script

```rb
#!/usr/bin/env ruby
paths = ARGV.named.map do |name|
  path = Formulary.path(name)
  raise FormulaUnavailableError, name unless path.file?
  path
end
exec_editor(*paths)
```

with name `brew-myedit.rb` and mode 755 somewhere on your PATH. Then, invoke it as

```
brew myedit <formula>
```

This won't set devcmdrun.

Ref: [External commands](https://github.com/Homebrew/brew/blob/master/docs/External-Commands.md).