{"action":"created","issue":{"url":"https://api.github.com/repos/wbond/package_control/issues/1119","repository_url":"https://api.github.com/repos/wbond/package_control","labels_url":"https://api.github.com/repos/wbond/package_control/issues/1119/labels{/name}","comments_url":"https://api.github.com/repos/wbond/package_control/issues/1119/comments","events_url":"https://api.github.com/repos/wbond/package_control/issues/1119/events","html_url":"https://github.com/wbond/package_control/issues/1119","id":158656339,"number":1119,"title":"Satisfy dependencies on package update","user":{"login":"idleberg","id":1504938,"avatar_url":"https://avatars.githubusercontent.com/u/1504938?v=3","gravatar_id":"","url":"https://api.github.com/users/idleberg","html_url":"https://github.com/idleberg","followers_url":"https://api.github.com/users/idleberg/followers","following_url":"https://api.github.com/users/idleberg/following{/other_user}","gists_url":"https://api.github.com/users/idleberg/gists{/gist_id}","starred_url":"https://api.github.com/users/idleberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idleberg/subscriptions","organizations_url":"https://api.github.com/users/idleberg/orgs","repos_url":"https://api.github.com/users/idleberg/repos","events_url":"https://api.github.com/users/idleberg/events{/privacy}","received_events_url":"https://api.github.com/users/idleberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wbond/package_control/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/wbond/package_control/labels/dependencies","name":"dependencies","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-06T11:29:13Z","updated_at":"2016-09-13T02:06:58Z","closed_at":null,"body":"Currently, the only way to update package dependencies seems to be manually running _“Package Control: Satisfy Dependencies”_. Instead, dependencies should be updated whenever a package using them is updated.\r\n\r\nI noticed that package dependencies are usually satisfied automatically. So as an alternative, the update could be performed whenever Package Control checks if dependencies are satisfied."},"comment":{"url":"https://api.github.com/repos/wbond/package_control/issues/comments/246552134","html_url":"https://github.com/wbond/package_control/issues/1119#issuecomment-246552134","issue_url":"https://api.github.com/repos/wbond/package_control/issues/1119","id":246552134,"user":{"login":"wbond","id":41734,"avatar_url":"https://avatars.githubusercontent.com/u/41734?v=3","gravatar_id":"","url":"https://api.github.com/users/wbond","html_url":"https://github.com/wbond","followers_url":"https://api.github.com/users/wbond/followers","following_url":"https://api.github.com/users/wbond/following{/other_user}","gists_url":"https://api.github.com/users/wbond/gists{/gist_id}","starred_url":"https://api.github.com/users/wbond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbond/subscriptions","organizations_url":"https://api.github.com/users/wbond/orgs","repos_url":"https://api.github.com/users/wbond/repos","events_url":"https://api.github.com/users/wbond/events{/privacy}","received_events_url":"https://api.github.com/users/wbond/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T02:06:58Z","updated_at":"2016-09-13T02:06:58Z","body":"Hmm, so I just tested a manually-triggered upgrade of a package after manually setting the version numbers down on the main package and one of its dependencies. This is what I saw:\r\n\r\n```\r\nignored packages updated to: [\"Golang Build\", \"Vintage\"]\r\nunloading plugin Golang Build.golang_build\r\ngenerating syntax summary\r\nreloading settings Packages/User/Package Control.sublime-settings\r\nreloading settings Packages/User/Preferences.sublime-settings\r\nPackage Control: The dependency 'golangconfig' is installed, but out of date; upgrading to latest release 0.9.0 from 0.8.0...\r\nPackage Control: The dependency 'golangconfig' has successfully been installed or updated\r\nignored packages updated to: [\"Vintage\"]\r\nreloading plugin Golang Build.golang_build\r\ngenerating syntax summary\r\nreloading settings Packages/User/Package Control.sublime-settings\r\nreloading settings Packages/User/Preferences.sublime-settings\r\n```\r\n\r\nSo at least in some situations it seems that a dependency will be upgraded if a newer version is available and a newer version of a package using it is installed.\r\n\r\nIf anyone has any steps to reproduce a dependency not being upgraded, I'd love to get this resolved."}}
{"actor":{"display_login":"wbond"}}