{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1646","repository_url":"https://api.github.com/repos/dart-lang/pub","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1646/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1646/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1646/events","html_url":"https://github.com/dart-lang/pub/issues/1646","id":237876234,"number":1646,"title":"Support hooks for adding in custom validation","user":{"login":"mit-mit","id":13644170,"avatar_url":"https://avatars0.githubusercontent.com/u/13644170?v=3","gravatar_id":"","url":"https://api.github.com/users/mit-mit","html_url":"https://github.com/mit-mit","followers_url":"https://api.github.com/users/mit-mit/followers","following_url":"https://api.github.com/users/mit-mit/following{/other_user}","gists_url":"https://api.github.com/users/mit-mit/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-mit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-mit/subscriptions","organizations_url":"https://api.github.com/users/mit-mit/orgs","repos_url":"https://api.github.com/users/mit-mit/repos","events_url":"https://api.github.com/users/mit-mit/events{/privacy}","received_events_url":"https://api.github.com/users/mit-mit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dart-lang/pub/milestones/2","html_url":"https://github.com/dart-lang/pub/milestone/2","labels_url":"https://api.github.com/repos/dart-lang/pub/milestones/2/labels","id":2598665,"number":2,"title":"M3","description":"","creator":{"login":"mit-mit","id":13644170,"avatar_url":"https://avatars0.githubusercontent.com/u/13644170?v=3","gravatar_id":"","url":"https://api.github.com/users/mit-mit","html_url":"https://github.com/mit-mit","followers_url":"https://api.github.com/users/mit-mit/followers","following_url":"https://api.github.com/users/mit-mit/following{/other_user}","gists_url":"https://api.github.com/users/mit-mit/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-mit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-mit/subscriptions","organizations_url":"https://api.github.com/users/mit-mit/orgs","repos_url":"https://api.github.com/users/mit-mit/repos","events_url":"https://api.github.com/users/mit-mit/events{/privacy}","received_events_url":"https://api.github.com/users/mit-mit/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2017-06-22T15:06:57Z","updated_at":"2017-06-29T20:02:50Z","due_on":"2017-12-31T08:00:00Z","closed_at":null},"comments":1,"created_at":"2017-06-22T15:02:24Z","updated_at":"2017-07-04T09:14:55Z","closed_at":null,"body":"Certain Flutter package types require custom validation steps. For example, for a flutter plugin, certain platform-specific artefacts are required to be present. \r\n\r\nTo support these being of high quality, we would like some way of hooking into the pub tool so that we can perform custom validation for these types of packages."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/312827125","html_url":"https://github.com/dart-lang/pub/issues/1646#issuecomment-312827125","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1646","id":312827125,"user":{"login":"mit-mit","id":13644170,"avatar_url":"https://avatars0.githubusercontent.com/u/13644170?v=3","gravatar_id":"","url":"https://api.github.com/users/mit-mit","html_url":"https://github.com/mit-mit","followers_url":"https://api.github.com/users/mit-mit/followers","following_url":"https://api.github.com/users/mit-mit/following{/other_user}","gists_url":"https://api.github.com/users/mit-mit/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-mit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-mit/subscriptions","organizations_url":"https://api.github.com/users/mit-mit/orgs","repos_url":"https://api.github.com/users/mit-mit/repos","events_url":"https://api.github.com/users/mit-mit/events{/privacy}","received_events_url":"https://api.github.com/users/mit-mit/received_events","type":"User","site_admin":false},"created_at":"2017-07-04T09:14:55Z","updated_at":"2017-07-04T09:14:55Z","body":"cc @kevmoo \r\n\r\nI understand that concern, and yes flutter developers are not expected to interact with `pub` directly but rather use the `flutter` tool.\r\n\r\nHowever, currently nothing prevents them from using `pub` directly. So if we were to do the validation in `flutter` I think we need some way of having `pub` bail out if run directly on a flutter package."}}
{"actor":{"display_login":"mit-mit"}}