{"action":"created","issue":{"url":"https://api.github.com/repos/datalad/datalad/issues/1943","repository_url":"https://api.github.com/repos/datalad/datalad","labels_url":"https://api.github.com/repos/datalad/datalad/issues/1943/labels{/name}","comments_url":"https://api.github.com/repos/datalad/datalad/issues/1943/comments","events_url":"https://api.github.com/repos/datalad/datalad/issues/1943/events","html_url":"https://github.com/datalad/datalad/issues/1943","id":269951711,"number":1943,"title":"Add option(s) to exclude/stub data during export based on meta-data","user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"labels":[{"id":63778592,"url":"https://api.github.com/repos/datalad/datalad/labels/enhancement","name":"enhancement","color":"c5def5","default":true},{"id":736433505,"url":"https://api.github.com/repos/datalad/datalad/labels/wishlist","name":"wishlist","color":"13e504","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/datalad/datalad/milestones/49","html_url":"https://github.com/datalad/datalad/milestone/49","labels_url":"https://api.github.com/repos/datalad/datalad/milestones/49/labels","id":3128837,"number":49,"title":"Release 0.10.1","description":"","creator":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-02-20T06:38:43Z","updated_at":"2018-02-20T06:38:59Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-10-31T13:08:48Z","updated_at":"2018-02-20T06:39:25Z","closed_at":null,"author_association":"OWNER","body":"Not sure if should be done as a part of #1928 and #1942 , probably not.\r\n\r\nMain use-case is to not export (by default) any file with (annex) metadata having `distribution-restrictions` set.\r\nOne way is to make it accept a dictionary (not sure how in command line) with meta-data fields and desired values regex to be excluded, so by default could then be `exclude_meta={'distribution_restrictions': '.*'}`\r\n\r\nAdditional option could be `exclude_method` with choices `stub` and `strip` (I like stub better for the default).  In case of `stub` (trickier I guess, but should be doable since we are instructing filename within archive anyways) we would need to replace those files with content `Content of the file was not included into the export. Contact original owner` or something like that.  Although while thinking about #1944 -- stripping is the easiest, since 'stub' would complicate bringing those files back into git-annex. "},"comment":{"url":"https://api.github.com/repos/datalad/datalad/issues/comments/366881374","html_url":"https://github.com/datalad/datalad/issues/1943#issuecomment-366881374","issue_url":"https://api.github.com/repos/datalad/datalad/issues/1943","id":366881374,"user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T06:39:25Z","updated_at":"2018-02-20T06:39:25Z","author_association":"OWNER","body":"so I could sleep well knowing we haven't forgotten about this one, assigned it to the 0.10.1 release ;)"}}
{"actor":{"display_login":"yarikoptic"}}