{"action":"created","issue":{"url":"https://api.github.com/repos/dignifiedquire/randor/issues/1","repository_url":"https://api.github.com/repos/dignifiedquire/randor","labels_url":"https://api.github.com/repos/dignifiedquire/randor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dignifiedquire/randor/issues/1/comments","events_url":"https://api.github.com/repos/dignifiedquire/randor/issues/1/events","html_url":"https://github.com/dignifiedquire/randor/issues/1","id":135843937,"number":1,"title":"things to test","user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dignifiedquire/randor/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"dignifiedquire","id":790842,"avatar_url":"https://avatars.githubusercontent.com/u/790842?v=3","gravatar_id":"","url":"https://api.github.com/users/dignifiedquire","html_url":"https://github.com/dignifiedquire","followers_url":"https://api.github.com/users/dignifiedquire/followers","following_url":"https://api.github.com/users/dignifiedquire/following{/other_user}","gists_url":"https://api.github.com/users/dignifiedquire/gists{/gist_id}","starred_url":"https://api.github.com/users/dignifiedquire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dignifiedquire/subscriptions","organizations_url":"https://api.github.com/users/dignifiedquire/orgs","repos_url":"https://api.github.com/users/dignifiedquire/repos","events_url":"https://api.github.com/users/dignifiedquire/events{/privacy}","received_events_url":"https://api.github.com/users/dignifiedquire/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-23T19:45:29Z","updated_at":"2016-02-26T16:00:24Z","closed_at":null,"body":"- add\r\n  - make sure to vary file size\r\n  - checks:\r\n    - hash data before adding with a different function, make sure data looks the same coming out\r\n    - ensure file is still pinned\r\n\r\n- add -r\r\n  - create a directory of configurable depth, with 0 to N files in each directory\r\n  - add the directory\r\n  - checks:\r\n    - `refs -r` to ensure all things are still local\r\n    - check to make sure pin is still there\r\n\r\n- object patch\r\n  - get a file hash through some method (object new, ipfs add, etc)\r\n  - create a new object with that object as a child, perhaps multiple children?\r\n  - either pin it, or dont\r\n  - checks:\r\n    - if this one was pinned, ensure its all still there\r\n    - if it wasnt pinned, check to see that it was removed by a GC (see GC note)\r\n\r\n- pin rm\r\n  - add a file, unpin it\r\n  - checks:\r\n    - file no longer shows up in pin list\r\n    - content no longer accessible after a GC (see GC note)\r\n\r\n- pin add direct\r\n  - add a file (greater than 256k)\r\n  - run a refs -r to get all hashes\r\n  - unpin it, and add a direct pin (ipfs pin add -r=false)\r\n  - checks:\r\n    - hash shows up in pin list as a direct pin, and not as a recursive one\r\n    - after a GC, child hashes are no longer accessible (see GC note)\r\n\r\nNote about GC:\r\nsome operations cant be run concurrently with a GC, the object commands, and the pin direct one both should not be run at the same time as a garbage collection run, or they risk being removed mid-operation."},"comment":{"url":"https://api.github.com/repos/dignifiedquire/randor/issues/comments/189339484","html_url":"https://github.com/dignifiedquire/randor/issues/1#issuecomment-189339484","issue_url":"https://api.github.com/repos/dignifiedquire/randor/issues/1","id":189339484,"user":{"login":"dignifiedquire","id":790842,"avatar_url":"https://avatars.githubusercontent.com/u/790842?v=3","gravatar_id":"","url":"https://api.github.com/users/dignifiedquire","html_url":"https://github.com/dignifiedquire","followers_url":"https://api.github.com/users/dignifiedquire/followers","following_url":"https://api.github.com/users/dignifiedquire/following{/other_user}","gists_url":"https://api.github.com/users/dignifiedquire/gists{/gist_id}","starred_url":"https://api.github.com/users/dignifiedquire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dignifiedquire/subscriptions","organizations_url":"https://api.github.com/users/dignifiedquire/orgs","repos_url":"https://api.github.com/users/dignifiedquire/repos","events_url":"https://api.github.com/users/dignifiedquire/events{/privacy}","received_events_url":"https://api.github.com/users/dignifiedquire/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T16:00:24Z","updated_at":"2016-02-26T16:00:24Z","body":"Partially done, partially moved to other issues."}}