{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/36895","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/36895/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/36895/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/36895/events","html_url":"https://github.com/saltstack/salt/issues/36895","id":182103878,"number":36895,"title":"Simplifying the win_reg execution module interface","user":{"login":"lorengordon","id":8457307,"avatar_url":"https://avatars.githubusercontent.com/u/8457307?v=3","gravatar_id":"","url":"https://api.github.com/users/lorengordon","html_url":"https://github.com/lorengordon","followers_url":"https://api.github.com/users/lorengordon/followers","following_url":"https://api.github.com/users/lorengordon/following{/other_user}","gists_url":"https://api.github.com/users/lorengordon/gists{/gist_id}","starred_url":"https://api.github.com/users/lorengordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorengordon/subscriptions","organizations_url":"https://api.github.com/users/lorengordon/orgs","repos_url":"https://api.github.com/users/lorengordon/repos","events_url":"https://api.github.com/users/lorengordon/events{/privacy}","received_events_url":"https://api.github.com/users/lorengordon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T20:10:39Z","updated_at":"2016-10-10T20:10:39Z","closed_at":null,"body":"The win_reg function names introduced in  2015.5 are overly wordy, and the explicit functionality can largely (entirely?) be inferred to simplify the function names and the interface. I propose three public functions:\r\n\r\n* `reg.get`\r\n* `reg.set`\r\n* `reg.delete`\r\n\r\nAll functions would accept `name`. Whether `name` represents a key or a value can be inferred through registry calls, or a secondary parameter. Or, perhaps these functions could be a simpler interface wrapping the more explicit current functions.\r\n\r\nI'd also propose simplifying the return structure, with an option to get the complex structure that was introduced with the 2015.5 functions. Maybe kind of like the wrappers around `cmd.run_all()`."}}
{"actor":{"display_login":"lorengordon"}}