{"action":"created","issue":{"url":"https://api.github.com/repos/getnikola/nikola/issues/1562","labels_url":"https://api.github.com/repos/getnikola/nikola/issues/1562/labels{/name}","comments_url":"https://api.github.com/repos/getnikola/nikola/issues/1562/comments","events_url":"https://api.github.com/repos/getnikola/nikola/issues/1562/events","html_url":"https://github.com/getnikola/nikola/issues/1562","id":53193618,"number":1562,"title":"```EarlyTask``` plugins","user":{"login":"felixfontein","id":5781356,"avatar_url":"https://avatars.githubusercontent.com/u/5781356?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfontein","html_url":"https://github.com/felixfontein","followers_url":"https://api.github.com/users/felixfontein/followers","following_url":"https://api.github.com/users/felixfontein/following{/other_user}","gists_url":"https://api.github.com/users/felixfontein/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfontein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfontein/subscriptions","organizations_url":"https://api.github.com/users/felixfontein/orgs","repos_url":"https://api.github.com/users/felixfontein/repos","events_url":"https://api.github.com/users/felixfontein/events{/privacy}","received_events_url":"https://api.github.com/users/felixfontein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getnikola/nikola/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/getnikola/nikola/labels/idea","name":"idea","color":"bfdadc"},{"url":"https://api.github.com/repos/getnikola/nikola/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"felixfontein","id":5781356,"avatar_url":"https://avatars.githubusercontent.com/u/5781356?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfontein","html_url":"https://github.com/felixfontein","followers_url":"https://api.github.com/users/felixfontein/followers","following_url":"https://api.github.com/users/felixfontein/following{/other_user}","gists_url":"https://api.github.com/users/felixfontein/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfontein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfontein/subscriptions","organizations_url":"https://api.github.com/users/felixfontein/orgs","repos_url":"https://api.github.com/users/felixfontein/repos","events_url":"https://api.github.com/users/felixfontein/events{/privacy}","received_events_url":"https://api.github.com/users/felixfontein/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/getnikola/nikola/milestones/16","labels_url":"https://api.github.com/repos/getnikola/nikola/milestones/16/labels","id":662414,"number":16,"title":"v8.0.0","description":null,"creator":{"login":"Kwpolska","id":327323,"avatar_url":"https://avatars.githubusercontent.com/u/327323?v=3","gravatar_id":"","url":"https://api.github.com/users/Kwpolska","html_url":"https://github.com/Kwpolska","followers_url":"https://api.github.com/users/Kwpolska/followers","following_url":"https://api.github.com/users/Kwpolska/following{/other_user}","gists_url":"https://api.github.com/users/Kwpolska/gists{/gist_id}","starred_url":"https://api.github.com/users/Kwpolska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kwpolska/subscriptions","organizations_url":"https://api.github.com/users/Kwpolska/orgs","repos_url":"https://api.github.com/users/Kwpolska/repos","events_url":"https://api.github.com/users/Kwpolska/events{/privacy}","received_events_url":"https://api.github.com/users/Kwpolska/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":0,"state":"open","created_at":"2014-05-18T14:37:40Z","updated_at":"2015-01-17T08:54:08Z","due_on":null,"closed_at":null},"comments":45,"created_at":"2014-12-31T17:20:56Z","updated_at":"2015-01-20T22:05:18Z","closed_at":null,"body":"Hi,\r\n\r\nI'd like to have a plugin category ```EarlyTask```, for tasks which are executed before the site is rendered (i.e. an analogue to ```LateTask```). I personally need that for a plugin (or better, combination of plugins) I wrote, currently I used the ```Task``` plugin class but it happens that some tasks are run after page compiling, while my page compiling plugin needs their result -- and so it fails.\r\n\r\nDoes anyone mind if I add something like that? Or would it be better to have a general priority system, so you can assign a task a priority (usual tasks could get 10, and late tasks 100, so you could add a task with priority 2 and one with priority 7 to ensure that the one with priority 2 appears in the task list before the one with priority 7 and before all regular rendering tasks and late tasks)?\r\n\r\n(I have the vague feeling that I already read something about ```EarlyTask```s somewhere here, but I cannot remember where. So it's probably not my own idea :) )\r\n\r\nCheers,\r\nFelix\r\n"},"comment":{"url":"https://api.github.com/repos/getnikola/nikola/issues/comments/70743764","html_url":"https://github.com/getnikola/nikola/issues/1562#issuecomment-70743764","issue_url":"https://api.github.com/repos/getnikola/nikola/issues/1562","id":70743764,"user":{"login":"felixfontein","id":5781356,"avatar_url":"https://avatars.githubusercontent.com/u/5781356?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfontein","html_url":"https://github.com/felixfontein","followers_url":"https://api.github.com/users/felixfontein/followers","following_url":"https://api.github.com/users/felixfontein/following{/other_user}","gists_url":"https://api.github.com/users/felixfontein/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfontein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfontein/subscriptions","organizations_url":"https://api.github.com/users/felixfontein/orgs","repos_url":"https://api.github.com/users/felixfontein/repos","events_url":"https://api.github.com/users/felixfontein/events{/privacy}","received_events_url":"https://api.github.com/users/felixfontein/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T22:05:18Z","updated_at":"2015-01-20T22:05:18Z","body":"For ```initialized```: what about having a signal for every stage? I.e. when the tasks for stage _n_ have been created, emit the signal ```initialized_n``` (with nicer names for special _n_, like -10, 1, 10, 100, corresponding to the phases _early_, _post scanning_, _site rendering_, and _late_). The classic ```initialized``` signal could be emitted for _n_ = 10, i.e. after generation of the usual site rendering tasks.\r\n\r\nIs anyone actually using that signal at the moment?"}}