{"action":"created","issue":{"url":"https://api.github.com/repos/vatlab/SoS/issues/1110","repository_url":"https://api.github.com/repos/vatlab/SoS","labels_url":"https://api.github.com/repos/vatlab/SoS/issues/1110/labels{/name}","comments_url":"https://api.github.com/repos/vatlab/SoS/issues/1110/comments","events_url":"https://api.github.com/repos/vatlab/SoS/issues/1110/events","html_url":"https://github.com/vatlab/SoS/issues/1110","id":391933938,"node_id":"MDU6SXNzdWUzOTE5MzM5Mzg=","number":1110,"title":"Deprecate `paired_with` and `group_with`","user":{"login":"gaow","id":917985,"node_id":"MDQ6VXNlcjkxNzk4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/917985?v=4","gravatar_id":"","url":"https://api.github.com/users/gaow","html_url":"https://github.com/gaow","followers_url":"https://api.github.com/users/gaow/followers","following_url":"https://api.github.com/users/gaow/following{/other_user}","gists_url":"https://api.github.com/users/gaow/gists{/gist_id}","starred_url":"https://api.github.com/users/gaow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaow/subscriptions","organizations_url":"https://api.github.com/users/gaow/orgs","repos_url":"https://api.github.com/users/gaow/repos","events_url":"https://api.github.com/users/gaow/events{/privacy}","received_events_url":"https://api.github.com/users/gaow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2018-12-17T23:32:36Z","updated_at":"2018-12-22T03:15:24Z","closed_at":null,"author_association":"MEMBER","body":"With implementation of `sos_groups`, I wonder if we want to make `paired_with` and `group_with` be `sos_groups()` parameter instead?"},"comment":{"url":"https://api.github.com/repos/vatlab/SoS/issues/comments/449541168","html_url":"https://github.com/vatlab/SoS/issues/1110#issuecomment-449541168","issue_url":"https://api.github.com/repos/vatlab/SoS/issues/1110","id":449541168,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTU0MTE2OA==","user":{"login":"BoPeng","id":9889312,"node_id":"MDQ6VXNlcjk4ODkzMTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9889312?v=4","gravatar_id":"","url":"https://api.github.com/users/BoPeng","html_url":"https://github.com/BoPeng","followers_url":"https://api.github.com/users/BoPeng/followers","following_url":"https://api.github.com/users/BoPeng/following{/other_user}","gists_url":"https://api.github.com/users/BoPeng/gists{/gist_id}","starred_url":"https://api.github.com/users/BoPeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoPeng/subscriptions","organizations_url":"https://api.github.com/users/BoPeng/orgs","repos_url":"https://api.github.com/users/BoPeng/repos","events_url":"https://api.github.com/users/BoPeng/events{/privacy}","received_events_url":"https://api.github.com/users/BoPeng/received_events","type":"User","site_admin":false},"created_at":"2018-12-22T03:15:24Z","updated_at":"2018-12-22T03:15:24Z","author_association":"CONTRIBUTOR","body":"The \"problem\" I am trying to solve is \"local\" paired_with and alike. That is to say, when `output_from` etc carry their own dictionary, have their own groups, when we put them together, global `paired_with` etc no longer works. The solution has been implemented `output_from( ).paired_with()`, but perhaps `output_from( paired_with)` is more natural as it needs one less thing for users to remember.\r\n\r\nSwitching all to `sos_target.paired_with` is possible but we will need to deprecate `paired_with=`, and \r\n\r\n```\r\ninput: sos_targets('a.txt', 'b.txt').paired_with('name', value)\r\n```\r\nis a lot more troublesome to use than\r\n```\r\ninput: 'a.txt', 'b.txt', paired_with=dict(name=value)\r\n```"}}
{"actor":{"display_login":"BoPeng"}}