{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7211","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7211/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7211/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7211/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/7211","id":191484179,"number":7211,"title":"Make brew store values of options like `--with-option=value`","user":{"login":"chaimleib","id":7785285,"avatar_url":"https://avatars.githubusercontent.com/u/7785285?v=3","gravatar_id":"","url":"https://api.github.com/users/chaimleib","html_url":"https://github.com/chaimleib","followers_url":"https://api.github.com/users/chaimleib/followers","following_url":"https://api.github.com/users/chaimleib/following{/other_user}","gists_url":"https://api.github.com/users/chaimleib/gists{/gist_id}","starred_url":"https://api.github.com/users/chaimleib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaimleib/subscriptions","organizations_url":"https://api.github.com/users/chaimleib/orgs","repos_url":"https://api.github.com/users/chaimleib/repos","events_url":"https://api.github.com/users/chaimleib/events{/privacy}","received_events_url":"https://api.github.com/users/chaimleib/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-24T10:29:27Z","updated_at":"2016-11-28T10:17:36Z","closed_at":"2016-11-28T10:17:36Z","body":"When installing a package with an option like `--with-option=value`, it is important to remember the option together with its value, so that it can be applied again to future upgrades. Currently, brew remembers that `--with-option=` was specified, but it doesn't store what the `value` was. Could this be added?\r\n\r\nHere's an example:\r\n```\r\n$ brew install chaimleib/formulae/repoactions --with-rc=$HOME/.bashrc.d/repoactions.sh\r\n...\r\n\r\n$ brew info repoactions\r\nchaimleib/formulae/repoactions: stable 0.0.9\r\nRun a script whenever you enter a git repo\r\nhttps://github.com/chaimleib/repoactions\r\n/usr/local/Cellar/repoactions/0.0.9 (9 files, 32.8K) *\r\n  Built from source on 2016-11-22 at 14:01:07 with: --with-rc=\r\nFrom: https://github.com/chaimleib/homebrew-formulae/blob/master/repoactions.rb\r\n==> Options\r\n--with-rc=\r\n\tSpecify where to inject login setup (default: ~/.profile)\r\n\r\n$ cat /usr/local/Cellar/repoactions/0.0.*/INSTALL_RECEIPT.json\r\n{\"used_options\":[\"--with-rc=\"],\"unused_options\":[],\"built_as_bottle\":false,\"poured_from_bottle\":false,\"changed_files\":null,\"time\":1479852067,\"source_modified_time\":1479851836,\"HEAD\":\"c3f959d6af36f075600aac63f208d59c30cd602c\",\"stdlib\":null,\"compiler\":\"clang\",\"runtime_dependencies\":[],\"source\":{\"path\":\"/usr/local/Homebrew/Library/Taps/chaimleib/homebrew-formulae/repoactions.rb\",\"tap\":\"chaimleib/formulae\",\"spec\":\"stable\",\"versions\":{\"stable\":\"0.0.9\",\"devel\":null,\"head\":null,\"version_scheme\":0}}}\r\n```\r\n\r\n#2767 made brew remember which options were specified, but the values of options are not being stored yet."}}
{"actor":{"display_login":"ilovezfs"}}