{"action":"created","issue":{"url":"https://api.github.com/repos/tbabej/testrepolong/issues/41","repository_url":"https://api.github.com/repos/tbabej/testrepolong","labels_url":"https://api.github.com/repos/tbabej/testrepolong/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/tbabej/testrepolong/issues/41/comments","events_url":"https://api.github.com/repos/tbabej/testrepolong/issues/41/events","html_url":"https://github.com/tbabej/testrepolong/issues/41","id":294174372,"number":41,"title":"[TW-42] \"add\" reports wrong task number when executed after \"done\"","user":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"labels":[{"id":826322091,"url":"https://api.github.com/repos/tbabej/testrepolong/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":826322387,"url":"https://api.github.com/repos/tbabej/testrepolong/labels/fixed","name":"fixed","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tbabej/testrepolong/milestones/17","html_url":"https://github.com/tbabej/testrepolong/milestone/17","labels_url":"https://api.github.com/repos/tbabej/testrepolong/milestones/17/labels","id":3086896,"number":17,"title":"2.4.0","description":null,"creator":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":13,"state":"open","created_at":"2018-02-04T06:18:59Z","updated_at":"2018-02-04T06:27:48Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2018-02-04T06:27:48Z","updated_at":"2018-02-04T06:27:54Z","closed_at":"2018-02-04T06:27:48Z","author_association":"OWNER","body":"_steve rader says:_ \n\n this \"problem\" seems easy to reproduce...\n<pre>\n% task 37 done\nCompleted task 37 'a b c'.\nCompleted 1 task.\n% task add x z y\nCreated task 38.\n% task ls 38\nNo matches.\n% task ls 37\n\nID Proj Prio Age Description\n37            5s x z y\n\n1 task\n</pre>"},"comment":{"url":"https://api.github.com/repos/tbabej/testrepolong/issues/comments/362884503","html_url":"https://github.com/tbabej/testrepolong/issues/41#issuecomment-362884503","issue_url":"https://api.github.com/repos/tbabej/testrepolong/issues/41","id":362884503,"user":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T06:27:54Z","updated_at":"2018-02-04T06:27:54Z","author_association":"OWNER","body":"_Scott Kostyshak says:_ \n\n David Patrick wrote:\n> Scott Kostyshak wrote:\n> > But I think the user has control here. From what I understand (I've never used gc=off), you could put gc=off in your taskrc and then set the alias 'pack' to be task rc.gc:on.\n> \n> cool! would that have other \"side-effects\" besides not changing ID#s?\n\nI haven't tested so I'm not even sure it does what I was suggesting but if it does, then I think the main side effect would be performance.\n\nAnother idea is that if you want a permanent ID make a UDA. Either use a wrapper that will add a UDA with a value incremented by one (be careful with recurring tasks though; maybe just accept that they would all have the same ID), or (if there aren't many) just add IDs individually to tasks for which you want a constant ID."}}
{"actor":{"display_login":"tbabej"}}