{"action":"created","issue":{"url":"https://api.github.com/repos/opencontainers/image-spec/issues/538","repository_url":"https://api.github.com/repos/opencontainers/image-spec","labels_url":"https://api.github.com/repos/opencontainers/image-spec/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/image-spec/issues/538/comments","events_url":"https://api.github.com/repos/opencontainers/image-spec/issues/538/events","html_url":"https://github.com/opencontainers/image-spec/pull/538","id":203788242,"number":538,"title":"schema/gen: Include .json instead of excluding .go","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-28T05:02:56Z","updated_at":"2017-01-31T18:40:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opencontainers/image-spec/pulls/538","html_url":"https://github.com/opencontainers/image-spec/pull/538","diff_url":"https://github.com/opencontainers/image-spec/pull/538.diff","patch_url":"https://github.com/opencontainers/image-spec/pull/538.patch"},"body":"To avoid accidentally including [`.swp`, `.un~`, etc.][1]  Test with:\n\n    $ touch schema/.defs-image.json.swp\n    $ touch schema/.content-descriptor.json.un~\n    $ touch schema/foojson\n    $ make schema-fs\n    $ grep '\"/' schema/fs.go\n            \"/config-schema.json\": {\n            \"/content-descriptor.json\": {\n            \"/defs-config.json\": {\n            \"/defs-image.json\": {\n            \"/defs.json\": {\n            \"/image-layout-schema.json\": {\n            \"/image-manifest-schema.json\": {\n            \"/manifest-list-schema.json\": {\n            \"/\": {\n                    local: \"/\",\n\nCC @vbatts.\n\n[1]: https://github.com/opencontainers/image-spec/pull/533#discussion_r98296739"},"comment":{"url":"https://api.github.com/repos/opencontainers/image-spec/issues/comments/276452039","html_url":"https://github.com/opencontainers/image-spec/pull/538#issuecomment-276452039","issue_url":"https://api.github.com/repos/opencontainers/image-spec/issues/538","id":276452039,"user":{"login":"vbatts","id":67049,"avatar_url":"https://avatars.githubusercontent.com/u/67049?v=3","gravatar_id":"","url":"https://api.github.com/users/vbatts","html_url":"https://github.com/vbatts","followers_url":"https://api.github.com/users/vbatts/followers","following_url":"https://api.github.com/users/vbatts/following{/other_user}","gists_url":"https://api.github.com/users/vbatts/gists{/gist_id}","starred_url":"https://api.github.com/users/vbatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbatts/subscriptions","organizations_url":"https://api.github.com/users/vbatts/orgs","repos_url":"https://api.github.com/users/vbatts/repos","events_url":"https://api.github.com/users/vbatts/events{/privacy}","received_events_url":"https://api.github.com/users/vbatts/received_events","type":"User","site_admin":false},"created_at":"2017-01-31T18:40:23Z","updated_at":"2017-01-31T18:40:23Z","body":"sorry, it _works_, but when i had tmp files (vim `.*.swp` files) the pattern still built them into the schema-fs."}}
{"actor":{"display_login":"vbatts"}}