{"action":"created","issue":{"url":"https://api.github.com/repos/gonum/lapack/issues/14","labels_url":"https://api.github.com/repos/gonum/lapack/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/gonum/lapack/issues/14/comments","events_url":"https://api.github.com/repos/gonum/lapack/issues/14/events","html_url":"https://github.com/gonum/lapack/pull/14","id":86725404,"number":14,"title":"Put lapack.go in gitignore","user":{"login":"joshk0","id":5368926,"avatar_url":"https://avatars.githubusercontent.com/u/5368926?v=3","gravatar_id":"","url":"https://api.github.com/users/joshk0","html_url":"https://github.com/joshk0","followers_url":"https://api.github.com/users/joshk0/followers","following_url":"https://api.github.com/users/joshk0/following{/other_user}","gists_url":"https://api.github.com/users/joshk0/gists{/gist_id}","starred_url":"https://api.github.com/users/joshk0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshk0/subscriptions","organizations_url":"https://api.github.com/users/joshk0/orgs","repos_url":"https://api.github.com/users/joshk0/repos","events_url":"https://api.github.com/users/joshk0/events{/privacy}","received_events_url":"https://api.github.com/users/joshk0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-09T20:25:41Z","updated_at":"2015-06-10T04:03:18Z","closed_at":"2015-06-09T22:49:11Z","pull_request":{"url":"https://api.github.com/repos/gonum/lapack/pulls/14","html_url":"https://github.com/gonum/lapack/pull/14","diff_url":"https://github.com/gonum/lapack/pull/14.diff","patch_url":"https://github.com/gonum/lapack/pull/14.patch"},"body":"Otherwise, this directory is always dirty after a Go build when\r\ngonum/lapack is consumed as a submodule."},"comment":{"url":"https://api.github.com/repos/gonum/lapack/issues/comments/110580615","html_url":"https://github.com/gonum/lapack/pull/14#issuecomment-110580615","issue_url":"https://api.github.com/repos/gonum/lapack/issues/14","id":110580615,"user":{"login":"joshk0","id":5368926,"avatar_url":"https://avatars.githubusercontent.com/u/5368926?v=3","gravatar_id":"","url":"https://api.github.com/users/joshk0","html_url":"https://github.com/joshk0","followers_url":"https://api.github.com/users/joshk0/followers","following_url":"https://api.github.com/users/joshk0/following{/other_user}","gists_url":"https://api.github.com/users/joshk0/gists{/gist_id}","starred_url":"https://api.github.com/users/joshk0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshk0/subscriptions","organizations_url":"https://api.github.com/users/joshk0/orgs","repos_url":"https://api.github.com/users/joshk0/repos","events_url":"https://api.github.com/users/joshk0/events{/privacy}","received_events_url":"https://api.github.com/users/joshk0/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T04:03:18Z","updated_at":"2015-06-10T04:03:18Z","body":"The .gitignore is in the cgo/ directory, so it is scoped only to that directory. It does not affect files named lapack.go which live in other directories.\r\n\r\nOur Go project has our dependencies pinned as submodules, including gonum/lapack. During the build we must run genLapack.pl to get the symbols we need available in Go. This creates cgo/lapack.go. In development, this means that if we are working on files in the outer repository, the gonum/lapack submodule is always marked as dirty in git status because of the presence of cgo/lapack.go.\r\n\r\nTherefore, this change is merely to convince our tooling to play nice by not making the submodule tree dirty every time we do a build. So not a functional problem, but regarding day-to-day development with it, it would be nice to fix."}}