{"action":"opened","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/722","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/722/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/722/events","html_url":"https://github.com/Homebrew/brew/issues/722","id":171403233,"number":722,"title":"Unable to install from HEAD if using a primary branch that isn't \"master\"","user":{"login":"samdmarshall","id":1087718,"avatar_url":"https://avatars.githubusercontent.com/u/1087718?v=3","gravatar_id":"","url":"https://api.github.com/users/samdmarshall","html_url":"https://github.com/samdmarshall","followers_url":"https://api.github.com/users/samdmarshall/followers","following_url":"https://api.github.com/users/samdmarshall/following{/other_user}","gists_url":"https://api.github.com/users/samdmarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/samdmarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdmarshall/subscriptions","organizations_url":"https://api.github.com/users/samdmarshall/orgs","repos_url":"https://api.github.com/users/samdmarshall/repos","events_url":"https://api.github.com/users/samdmarshall/events{/privacy}","received_events_url":"https://api.github.com/users/samdmarshall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T13:05:32Z","updated_at":"2016-08-16T13:05:32Z","closed_at":null,"body":"\r\n### Bug reports:\r\n\r\nWhen attempting to install a formula from `HEAD` i get an error of brew being unable to find a `master` branch on the remote. This is because there is no branch named `master`, the primary branch i use is called `develop` instead.\r\n\r\n```\r\n$ brew install samdmarshall/formulae/pyconfig --HEAD\r\n==> Installing pyconfig from samdmarshall/formulae\r\n==> Cloning https://github.com/samdmarshall/pyconfig.git\r\nCloning into '/Users/Samantha/Library/Caches/Homebrew/pyconfig--git'...\r\nwarning: Could not find remote branch master to clone.\r\nfatal: Remote branch master not found in upstream origin\r\nError: Failed to download resource \"pyconfig\"\r\nFailure while executing: git clone --depth 1 --branch master https://github.com/samdmarshall/pyconfig.git /Users/Samantha/Library/Caches/Homebrew/pyconfig--git\r\n```\r\n\r\nI am pretty sure this is a regression as this was working at some point last year or earlier this year. It might be worth adding a test case to this."}}
{"actor":{"display_login":"samdmarshall"}}