{"action":"created","issue":{"url":"https://api.github.com/repos/freeipa/freeipa/issues/2413","repository_url":"https://api.github.com/repos/freeipa/freeipa","labels_url":"https://api.github.com/repos/freeipa/freeipa/issues/2413/labels{/name}","comments_url":"https://api.github.com/repos/freeipa/freeipa/issues/2413/comments","events_url":"https://api.github.com/repos/freeipa/freeipa/issues/2413/events","html_url":"https://github.com/freeipa/freeipa/pull/2413","id":365431405,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MzUyNTc5","number":2413,"title":"Find orphan automember rules","user":{"login":"t-woerner","id":6049493,"node_id":"MDQ6VXNlcjYwNDk0OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/6049493?v=4","gravatar_id":"","url":"https://api.github.com/users/t-woerner","html_url":"https://github.com/t-woerner","followers_url":"https://api.github.com/users/t-woerner/followers","following_url":"https://api.github.com/users/t-woerner/following{/other_user}","gists_url":"https://api.github.com/users/t-woerner/gists{/gist_id}","starred_url":"https://api.github.com/users/t-woerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-woerner/subscriptions","organizations_url":"https://api.github.com/users/t-woerner/orgs","repos_url":"https://api.github.com/users/t-woerner/repos","events_url":"https://api.github.com/users/t-woerner/events{/privacy}","received_events_url":"https://api.github.com/users/t-woerner/received_events","type":"User","site_admin":false},"labels":[{"id":612924333,"node_id":"MDU6TGFiZWw2MTI5MjQzMzM=","url":"https://api.github.com/repos/freeipa/freeipa/labels/WIP","name":"WIP","color":"dddddd","default":false},{"id":990820674,"node_id":"MDU6TGFiZWw5OTA4MjA2NzQ=","url":"https://api.github.com/repos/freeipa/freeipa/labels/future%20releases","name":"future releases","color":"5319e7","default":false},{"id":990694887,"node_id":"MDU6TGFiZWw5OTA2OTQ4ODc=","url":"https://api.github.com/repos/freeipa/freeipa/labels/ipa-4-6","name":"ipa-4-6","color":"fc8523","default":false},{"id":969297832,"node_id":"MDU6TGFiZWw5NjkyOTc4MzI=","url":"https://api.github.com/repos/freeipa/freeipa/labels/ipa-4-7","name":"ipa-4-7","color":"c8f438","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-01T12:09:08Z","updated_at":"2018-10-09T13:16:38Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/freeipa/freeipa/pulls/2413","html_url":"https://github.com/freeipa/freeipa/pull/2413","diff_url":"https://github.com/freeipa/freeipa/pull/2413.diff","patch_url":"https://github.com/freeipa/freeipa/pull/2413.patch"},"body":"If groups or hostgroups have been removed after automember rules have been\r\ncreated using them, then automember-rebuild, automember-add, host-add and\r\nmore commands could fail.\r\n\r\nA new command has been added to the ipa tool:\r\n\r\n  ipa automember-find-orphans --type={hostgroup,group} [--remove]\r\n\r\nThis command retuns the list of orphan automember rules in the same way as\r\nautomember-find. With the --remove option the orphan rules are also removed.\r\n\r\nUsing ideas from a patch by: Rob Crittenden <rcritten@redhat.com>\r\n\r\nSee: https://pagure.io/freeipa/issue/6476\r\nSigned-off-by: Thomas Woerner <twoerner@redhat.com>"},"comment":{"url":"https://api.github.com/repos/freeipa/freeipa/issues/comments/428187490","html_url":"https://github.com/freeipa/freeipa/pull/2413#issuecomment-428187490","issue_url":"https://api.github.com/repos/freeipa/freeipa/issues/2413","id":428187490,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE4NzQ5MA==","user":{"login":"t-woerner","id":6049493,"node_id":"MDQ6VXNlcjYwNDk0OTM=","avatar_url":"https://avatars0.githubusercontent.com/u/6049493?v=4","gravatar_id":"","url":"https://api.github.com/users/t-woerner","html_url":"https://github.com/t-woerner","followers_url":"https://api.github.com/users/t-woerner/followers","following_url":"https://api.github.com/users/t-woerner/following{/other_user}","gists_url":"https://api.github.com/users/t-woerner/gists{/gist_id}","starred_url":"https://api.github.com/users/t-woerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-woerner/subscriptions","organizations_url":"https://api.github.com/users/t-woerner/orgs","repos_url":"https://api.github.com/users/t-woerner/repos","events_url":"https://api.github.com/users/t-woerner/events{/privacy}","received_events_url":"https://api.github.com/users/t-woerner/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T13:16:38Z","updated_at":"2018-10-09T13:16:38Z","author_association":"MEMBER","body":"Hi @flo-renaud \r\nI fixed the typo. The option --pkey-only works also with --all and the output is the same as for automember-find."}}
{"actor":{"display_login":"t-woerner"}}