{"action":"created","comment":{"url":"https://api.github.com/repos/liqd/thentos/pulls/comments/42347620","id":42347620,"diff_hunk":"@@ -38,11 +41,58 @@ build-packunused:\n \n packunused: thentos-core.packunused thentos-tests.packunused thentos-adhocracy.packunused\n \n+\n+# hlint\n+\n %.hlint:\n \tcd $* && make hlint\n \n hlint: thentos-core.hlint thentos-tests.hlint thentos-adhocracy.hlint\n \n+\n+# sensei / seito\n+\n+# ABSTRACT: a ghcid-based method for running the test suite blindingly\n+# fast rather than just the type checker painfully slowly.\n+#\n+# QUICK INTRO: you need to install https://github.com/hspec/sensei\n+# first.  run 'make sensei' in a new terminal at the beginning of your\n+# session and keep it running.  it will re-run the test suite every\n+# time something changes, or if you hit 'return'.  you can also run\n+# 'make seito' to print the last test run to stdout.  (this is most\n+# useful if you want to integrate sensei into your editor/ide.)\n+#\n+# OTHER PACKAGES: sensei does not watch other packages (for deeper\n+# reasons).  in order to be able to react to changes to the core from\n+# the test suite, these make rules drop thentos-core and thentos-test\n+# from the package database and add their source trees to the list of\n+# watched files.\n+#\n+# NOTE: if you want to work with package thentos-adhocracy, these\n+# rules need to be updated!\n+#\n+# OPTIMIZATION: for optimal results, you will want to invoke sensei\n+# with the '--match' argument.  hspec arguments can be passed to 'make\n+# sensei' via the SENSEI_ARGS shell variable.  see sensei and hspec\n+# docs for details.\n+\n+sensei:\n+\tcabal sandbox hc-pkg -- unregister --force thentos-tests || true\n+\tcabal sandbox hc-pkg -- unregister --force thentos-core || true\n+\tcd thentos-tests && cabal clean\n+\tcd thentos-core && cabal clean\n+\tcabal exec -- sensei \\\n+\t  -i./thentos-core/src/ \\\n+\t  -i./thentos-core/src-devel/ \\\n+\t  -i./thentos-tests/src/ \\\n+\t  -i./thentos-tests/tests/ ./thentos-tests/tests/Spec.hs $(SENSEI_ARGS)","path":"Makefile","position":58,"original_position":58,"commit_id":"556ae6c116cad6d674041ff5133db30044c99904","original_commit_id":"556ae6c116cad6d674041ff5133db30044c99904","user":{"login":"jkarni","id":1657498,"avatar_url":"https://avatars.githubusercontent.com/u/1657498?v=3","gravatar_id":"","url":"https://api.github.com/users/jkarni","html_url":"https://github.com/jkarni","followers_url":"https://api.github.com/users/jkarni/followers","following_url":"https://api.github.com/users/jkarni/following{/other_user}","gists_url":"https://api.github.com/users/jkarni/gists{/gist_id}","starred_url":"https://api.github.com/users/jkarni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkarni/subscriptions","organizations_url":"https://api.github.com/users/jkarni/orgs","repos_url":"https://api.github.com/users/jkarni/repos","events_url":"https://api.github.com/users/jkarni/events{/privacy}","received_events_url":"https://api.github.com/users/jkarni/received_events","type":"User","site_admin":false},"body":"Without including `autogen/cabal_macros.h`, I don't think CPP will work (though we don't yet use it).","created_at":"2015-10-19T08:44:39Z","updated_at":"2015-10-19T08:44:39Z","html_url":"https://github.com/liqd/thentos/pull/342#discussion_r42347620","pull_request_url":"https://api.github.com/repos/liqd/thentos/pulls/342","_links":{"self":{"href":"https://api.github.com/repos/liqd/thentos/pulls/comments/42347620"},"html":{"href":"https://github.com/liqd/thentos/pull/342#discussion_r42347620"},"pull_request":{"href":"https://api.github.com/repos/liqd/thentos/pulls/342"}}},"pull_request":{"url":"https://api.github.com/repos/liqd/thentos/pulls/342","id":47987546,"html_url":"https://github.com/liqd/thentos/pull/342","diff_url":"https://github.com/liqd/thentos/pull/342.diff","patch_url":"https://github.com/liqd/thentos/pull/342.patch","issue_url":"https://api.github.com/repos/liqd/thentos/issues/342","number":342,"state":"open","locked":false,"title":"Makefile rules for sensei","user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-17T14:35:54Z","updated_at":"2015-10-19T08:44:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10fa2a65f71c78522ac8d7ca44a97d7ef6ca926e","assignee":{"login":"jkarni","id":1657498,"avatar_url":"https://avatars.githubusercontent.com/u/1657498?v=3","gravatar_id":"","url":"https://api.github.com/users/jkarni","html_url":"https://github.com/jkarni","followers_url":"https://api.github.com/users/jkarni/followers","following_url":"https://api.github.com/users/jkarni/following{/other_user}","gists_url":"https://api.github.com/users/jkarni/gists{/gist_id}","starred_url":"https://api.github.com/users/jkarni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkarni/subscriptions","organizations_url":"https://api.github.com/users/jkarni/orgs","repos_url":"https://api.github.com/users/jkarni/repos","events_url":"https://api.github.com/users/jkarni/events{/privacy}","received_events_url":"https://api.github.com/users/jkarni/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/liqd/thentos/pulls/342/commits","review_comments_url":"https://api.github.com/repos/liqd/thentos/pulls/342/comments","review_comment_url":"https://api.github.com/repos/liqd/thentos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/liqd/thentos/issues/342/comments","statuses_url":"https://api.github.com/repos/liqd/thentos/statuses/556ae6c116cad6d674041ff5133db30044c99904","head":{"label":"liqd:2015-10-17-mf-sensei-make-rules","ref":"2015-10-17-mf-sensei-make-rules","sha":"556ae6c116cad6d674041ff5133db30044c99904","user":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"repo":{"id":31423016,"name":"thentos","full_name":"liqd/thentos","owner":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liqd/thentos","description":"The swiss army knife of privacy-preserving identity management","fork":false,"url":"https://api.github.com/repos/liqd/thentos","forks_url":"https://api.github.com/repos/liqd/thentos/forks","keys_url":"https://api.github.com/repos/liqd/thentos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liqd/thentos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liqd/thentos/teams","hooks_url":"https://api.github.com/repos/liqd/thentos/hooks","issue_events_url":"https://api.github.com/repos/liqd/thentos/issues/events{/number}","events_url":"https://api.github.com/repos/liqd/thentos/events","assignees_url":"https://api.github.com/repos/liqd/thentos/assignees{/user}","branches_url":"https://api.github.com/repos/liqd/thentos/branches{/branch}","tags_url":"https://api.github.com/repos/liqd/thentos/tags","blobs_url":"https://api.github.com/repos/liqd/thentos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liqd/thentos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liqd/thentos/git/refs{/sha}","trees_url":"https://api.github.com/repos/liqd/thentos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liqd/thentos/statuses/{sha}","languages_url":"https://api.github.com/repos/liqd/thentos/languages","stargazers_url":"https://api.github.com/repos/liqd/thentos/stargazers","contributors_url":"https://api.github.com/repos/liqd/thentos/contributors","subscribers_url":"https://api.github.com/repos/liqd/thentos/subscribers","subscription_url":"https://api.github.com/repos/liqd/thentos/subscription","commits_url":"https://api.github.com/repos/liqd/thentos/commits{/sha}","git_commits_url":"https://api.github.com/repos/liqd/thentos/git/commits{/sha}","comments_url":"https://api.github.com/repos/liqd/thentos/comments{/number}","issue_comment_url":"https://api.github.com/repos/liqd/thentos/issues/comments{/number}","contents_url":"https://api.github.com/repos/liqd/thentos/contents/{+path}","compare_url":"https://api.github.com/repos/liqd/thentos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liqd/thentos/merges","archive_url":"https://api.github.com/repos/liqd/thentos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liqd/thentos/downloads","issues_url":"https://api.github.com/repos/liqd/thentos/issues{/number}","pulls_url":"https://api.github.com/repos/liqd/thentos/pulls{/number}","milestones_url":"https://api.github.com/repos/liqd/thentos/milestones{/number}","notifications_url":"https://api.github.com/repos/liqd/thentos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liqd/thentos/labels{/name}","releases_url":"https://api.github.com/repos/liqd/thentos/releases{/id}","created_at":"2015-02-27T14:31:39Z","updated_at":"2015-10-17T11:25:30Z","pushed_at":"2015-10-17T15:14:24Z","git_url":"git://github.com/liqd/thentos.git","ssh_url":"git@github.com:liqd/thentos.git","clone_url":"https://github.com/liqd/thentos.git","svn_url":"https://github.com/liqd/thentos","homepage":null,"size":12068,"stargazers_count":12,"watchers_count":12,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":37,"forks":2,"open_issues":37,"watchers":12,"default_branch":"master"}},"base":{"label":"liqd:master","ref":"master","sha":"97b7b86377f95d92a24c0b1a0317b713f10f0340","user":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"repo":{"id":31423016,"name":"thentos","full_name":"liqd/thentos","owner":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liqd/thentos","description":"The swiss army knife of privacy-preserving identity management","fork":false,"url":"https://api.github.com/repos/liqd/thentos","forks_url":"https://api.github.com/repos/liqd/thentos/forks","keys_url":"https://api.github.com/repos/liqd/thentos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liqd/thentos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liqd/thentos/teams","hooks_url":"https://api.github.com/repos/liqd/thentos/hooks","issue_events_url":"https://api.github.com/repos/liqd/thentos/issues/events{/number}","events_url":"https://api.github.com/repos/liqd/thentos/events","assignees_url":"https://api.github.com/repos/liqd/thentos/assignees{/user}","branches_url":"https://api.github.com/repos/liqd/thentos/branches{/branch}","tags_url":"https://api.github.com/repos/liqd/thentos/tags","blobs_url":"https://api.github.com/repos/liqd/thentos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liqd/thentos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liqd/thentos/git/refs{/sha}","trees_url":"https://api.github.com/repos/liqd/thentos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liqd/thentos/statuses/{sha}","languages_url":"https://api.github.com/repos/liqd/thentos/languages","stargazers_url":"https://api.github.com/repos/liqd/thentos/stargazers","contributors_url":"https://api.github.com/repos/liqd/thentos/contributors","subscribers_url":"https://api.github.com/repos/liqd/thentos/subscribers","subscription_url":"https://api.github.com/repos/liqd/thentos/subscription","commits_url":"https://api.github.com/repos/liqd/thentos/commits{/sha}","git_commits_url":"https://api.github.com/repos/liqd/thentos/git/commits{/sha}","comments_url":"https://api.github.com/repos/liqd/thentos/comments{/number}","issue_comment_url":"https://api.github.com/repos/liqd/thentos/issues/comments{/number}","contents_url":"https://api.github.com/repos/liqd/thentos/contents/{+path}","compare_url":"https://api.github.com/repos/liqd/thentos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liqd/thentos/merges","archive_url":"https://api.github.com/repos/liqd/thentos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liqd/thentos/downloads","issues_url":"https://api.github.com/repos/liqd/thentos/issues{/number}","pulls_url":"https://api.github.com/repos/liqd/thentos/pulls{/number}","milestones_url":"https://api.github.com/repos/liqd/thentos/milestones{/number}","notifications_url":"https://api.github.com/repos/liqd/thentos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liqd/thentos/labels{/name}","releases_url":"https://api.github.com/repos/liqd/thentos/releases{/id}","created_at":"2015-02-27T14:31:39Z","updated_at":"2015-10-17T11:25:30Z","pushed_at":"2015-10-17T15:14:24Z","git_url":"git://github.com/liqd/thentos.git","ssh_url":"git@github.com:liqd/thentos.git","clone_url":"https://github.com/liqd/thentos.git","svn_url":"https://github.com/liqd/thentos","homepage":null,"size":12068,"stargazers_count":12,"watchers_count":12,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":37,"forks":2,"open_issues":37,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/liqd/thentos/pulls/342"},"html":{"href":"https://github.com/liqd/thentos/pull/342"},"issue":{"href":"https://api.github.com/repos/liqd/thentos/issues/342"},"comments":{"href":"https://api.github.com/repos/liqd/thentos/issues/342/comments"},"review_comments":{"href":"https://api.github.com/repos/liqd/thentos/pulls/342/comments"},"review_comment":{"href":"https://api.github.com/repos/liqd/thentos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/liqd/thentos/pulls/342/commits"},"statuses":{"href":"https://api.github.com/repos/liqd/thentos/statuses/556ae6c116cad6d674041ff5133db30044c99904"}}}}