{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3879","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3879/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3879/comments","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3879/events","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3879","id":88980226,"number":3879,"title":"Add chown command to CLI","user":{"login":"ximenesuk","id":1065145,"avatar_url":"https://avatars.githubusercontent.com/u/1065145?v=3","gravatar_id":"","url":"https://api.github.com/users/ximenesuk","html_url":"https://github.com/ximenesuk","followers_url":"https://api.github.com/users/ximenesuk/followers","following_url":"https://api.github.com/users/ximenesuk/following{/other_user}","gists_url":"https://api.github.com/users/ximenesuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ximenesuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximenesuk/subscriptions","organizations_url":"https://api.github.com/users/ximenesuk/orgs","repos_url":"https://api.github.com/users/ximenesuk/repos","events_url":"https://api.github.com/users/ximenesuk/events{/privacy}","received_events_url":"https://api.github.com/users/ximenesuk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels/develop","name":"develop","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2015-06-17T10:34:35Z","updated_at":"2015-06-30T10:11:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/3879","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3879","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3879.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3879.patch"},"body":"Idly talking with @mtbc in Paris about Chown2 it was clear that a `chown` command would pretty much be a search and replace of the `chgrp` command. So here it is. This is mainly intended to facilitate testing of `Chown2` but is exposed in the CLI. As this is a copy of `chgrp` I may have left some of the old stuff behind, particularly in docstrings and comments.\r\n\r\nThere are some minimal integration tests: two users in the same group - transfer possible, two users in different groups - transfer not possible. There are no admin tests as yet - these need to be added. The argument parsing is not tested here as the same superclass as `chgrp` and `delete` is used and so that is tested sufficiently elsewhere.\r\n\r\nTo test try various `chown` operations between different users, different groups, etc. The `--help` text provides some examples.\r\n"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments/117111035","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3879#issuecomment-117111035","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3879","id":117111035,"user":{"login":"pwalczysko","id":2478303,"avatar_url":"https://avatars.githubusercontent.com/u/2478303?v=3","gravatar_id":"","url":"https://api.github.com/users/pwalczysko","html_url":"https://github.com/pwalczysko","followers_url":"https://api.github.com/users/pwalczysko/followers","following_url":"https://api.github.com/users/pwalczysko/following{/other_user}","gists_url":"https://api.github.com/users/pwalczysko/gists{/gist_id}","starred_url":"https://api.github.com/users/pwalczysko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwalczysko/subscriptions","organizations_url":"https://api.github.com/users/pwalczysko/orgs","repos_url":"https://api.github.com/users/pwalczysko/repos","events_url":"https://api.github.com/users/pwalczysko/events{/privacy}","received_events_url":"https://api.github.com/users/pwalczysko/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T10:11:45Z","updated_at":"2015-06-30T10:11:45Z","body":"Another remark on the --help formulations:\r\nWouldn't it be prudent to use the word ``ownership`` in addition to the word ``transfer`` ? At least at the beginnng of the explanatory header ? "}}