{"action":"opened","issue":{"url":"https://api.github.com/repos/pantsbuild/pants/issues/4854","repository_url":"https://api.github.com/repos/pantsbuild/pants","labels_url":"https://api.github.com/repos/pantsbuild/pants/issues/4854/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/4854/comments","events_url":"https://api.github.com/repos/pantsbuild/pants/issues/4854/events","html_url":"https://github.com/pantsbuild/pants/issues/4854","id":256302223,"number":4854,"title":"Engine supports using a single string as a source, but v1 doesn't","user":{"login":"baroquebobcat","id":7378,"avatar_url":"https://avatars0.githubusercontent.com/u/7378?v=4","gravatar_id":"","url":"https://api.github.com/users/baroquebobcat","html_url":"https://github.com/baroquebobcat","followers_url":"https://api.github.com/users/baroquebobcat/followers","following_url":"https://api.github.com/users/baroquebobcat/following{/other_user}","gists_url":"https://api.github.com/users/baroquebobcat/gists{/gist_id}","starred_url":"https://api.github.com/users/baroquebobcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baroquebobcat/subscriptions","organizations_url":"https://api.github.com/users/baroquebobcat/orgs","repos_url":"https://api.github.com/users/baroquebobcat/repos","events_url":"https://api.github.com/users/baroquebobcat/events{/privacy}","received_events_url":"https://api.github.com/users/baroquebobcat/received_events","type":"User","site_admin":false},"labels":[{"id":22426646,"url":"https://api.github.com/repos/pantsbuild/pants/labels/bug","name":"bug","color":"fc2929","default":true},{"id":268094252,"url":"https://api.github.com/repos/pantsbuild/pants/labels/engine","name":"engine","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-08T16:10:54Z","updated_at":"2017-09-08T16:10:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\r\n```\r\n$ cat xxxxxxx/BUILD\r\nscala_library(name='a', sources='AFile.scala')\r\n$ ./pants list xxxxxxx:\r\nxxxxxxx:a\r\n$ ./pants -no-enable-v2-engine list xxxxxxx:\r\nException caught: (<class 'pants.base.exceptions.TargetDefinitionException'>)\r\n\r\nException message: Invalid target ScalaLibrary(BuildFileAddress(xxxxxxx/BUILD, a)): Expected 'sources' to be a glob, an address or a list, but was <type 'str'>\r\n```"}}
{"actor":{"display_login":"baroquebobcat"}}