{"action":"created","issue":{"url":"https://api.github.com/repos/egoist/maid/issues/7","repository_url":"https://api.github.com/repos/egoist/maid","labels_url":"https://api.github.com/repos/egoist/maid/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/egoist/maid/issues/7/comments","events_url":"https://api.github.com/repos/egoist/maid/issues/7/events","html_url":"https://github.com/egoist/maid/issues/7","id":328178296,"node_id":"MDU6SXNzdWUzMjgxNzgyOTY=","number":7,"title":"rename `beforeAll/afterAll` to `pre/post`?","user":{"login":"ianstormtaylor","id":311752,"node_id":"MDQ6VXNlcjMxMTc1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/311752?v=4","gravatar_id":"","url":"https://api.github.com/users/ianstormtaylor","html_url":"https://github.com/ianstormtaylor","followers_url":"https://api.github.com/users/ianstormtaylor/followers","following_url":"https://api.github.com/users/ianstormtaylor/following{/other_user}","gists_url":"https://api.github.com/users/ianstormtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ianstormtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianstormtaylor/subscriptions","organizations_url":"https://api.github.com/users/ianstormtaylor/orgs","repos_url":"https://api.github.com/users/ianstormtaylor/repos","events_url":"https://api.github.com/users/ianstormtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ianstormtaylor/received_events","type":"User","site_admin":false},"labels":[{"id":950598478,"node_id":"MDU6TGFiZWw5NTA1OTg0Nzg=","url":"https://api.github.com/repos/egoist/maid/labels/%F0%9F%92%ACdiscussion","name":"💬discussion","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-31T15:07:24Z","updated_at":"2018-06-04T13:31:50Z","closed_at":null,"author_association":"NONE","body":"Hey, thanks for the interesting tool!\r\n\r\nI was just gonna make a suggestion. Right now you can have things like `postbuild` and `prebuild` which run automatically. But the automatic before/after everything is confusingly named `afterAll` and `beforeAll`, which isn't consistent.\r\n\r\nIt might be nice to allow `pre` and `post` tasks that run before/after everything instead, to stay consistent. It feels natural that `pre` without `pre{task}` would count for everything."},"comment":{"url":"https://api.github.com/repos/egoist/maid/issues/comments/394355485","html_url":"https://github.com/egoist/maid/issues/7#issuecomment-394355485","issue_url":"https://api.github.com/repos/egoist/maid/issues/7","id":394355485,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM1NTQ4NQ==","user":{"login":"ianstormtaylor","id":311752,"node_id":"MDQ6VXNlcjMxMTc1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/311752?v=4","gravatar_id":"","url":"https://api.github.com/users/ianstormtaylor","html_url":"https://github.com/ianstormtaylor","followers_url":"https://api.github.com/users/ianstormtaylor/followers","following_url":"https://api.github.com/users/ianstormtaylor/following{/other_user}","gists_url":"https://api.github.com/users/ianstormtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ianstormtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianstormtaylor/subscriptions","organizations_url":"https://api.github.com/users/ianstormtaylor/orgs","repos_url":"https://api.github.com/users/ianstormtaylor/repos","events_url":"https://api.github.com/users/ianstormtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ianstormtaylor/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T13:31:50Z","updated_at":"2018-06-04T13:31:50Z","author_association":"NONE","body":"@zephraph I'm not sure I totally understand. I think \"before anything else runs\" and \"pre all tasks\" are kind of synonymous. I'd personally avoid any of the plain english stuff, since I think it makes the API really hard to remember."}}
{"actor":{"display_login":"ianstormtaylor"}}