{"action":"created","issue":{"url":"https://api.github.com/repos/ninenines/erlang.mk/issues/309","labels_url":"https://api.github.com/repos/ninenines/erlang.mk/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/ninenines/erlang.mk/issues/309/comments","events_url":"https://api.github.com/repos/ninenines/erlang.mk/issues/309/events","html_url":"https://github.com/ninenines/erlang.mk/issues/309","id":95387125,"number":309,"title":"Github dependency updates on branch change","user":{"login":"jhw","id":8852,"avatar_url":"https://avatars.githubusercontent.com/u/8852?v=3","gravatar_id":"","url":"https://api.github.com/users/jhw","html_url":"https://github.com/jhw","followers_url":"https://api.github.com/users/jhw/followers","following_url":"https://api.github.com/users/jhw/following{/other_user}","gists_url":"https://api.github.com/users/jhw/gists{/gist_id}","starred_url":"https://api.github.com/users/jhw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhw/subscriptions","organizations_url":"https://api.github.com/users/jhw/orgs","repos_url":"https://api.github.com/users/jhw/repos","events_url":"https://api.github.com/users/jhw/events{/privacy}","received_events_url":"https://api.github.com/users/jhw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ninenines/erlang.mk/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-16T09:08:22Z","updated_at":"2015-09-05T23:43:30Z","closed_at":null,"body":"If I have a Makefile with a Github dependency and I change the branch from (eg) 'master' to 'dev', should the deps code be automatically updated on 'make' ? Or is there another command to do this ? I find right now I have to run 'sudo rm -r deps/my_dep' prior to 'make' which I'm guessing isn't the One True Way :-(\r\n\r\nTIA"},"comment":{"url":"https://api.github.com/repos/ninenines/erlang.mk/issues/comments/138010087","html_url":"https://github.com/ninenines/erlang.mk/issues/309#issuecomment-138010087","issue_url":"https://api.github.com/repos/ninenines/erlang.mk/issues/309","id":138010087,"user":{"login":"essen","id":141739,"avatar_url":"https://avatars.githubusercontent.com/u/141739?v=3","gravatar_id":"","url":"https://api.github.com/users/essen","html_url":"https://github.com/essen","followers_url":"https://api.github.com/users/essen/followers","following_url":"https://api.github.com/users/essen/following{/other_user}","gists_url":"https://api.github.com/users/essen/gists{/gist_id}","starred_url":"https://api.github.com/users/essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essen/subscriptions","organizations_url":"https://api.github.com/users/essen/orgs","repos_url":"https://api.github.com/users/essen/repos","events_url":"https://api.github.com/users/essen/events{/privacy}","received_events_url":"https://api.github.com/users/essen/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T23:43:30Z","updated_at":"2015-09-05T23:43:30Z","body":"Here's my thoughts on this subject:\r\n\r\n* make update: lists all deps, their fetch method/url/version, whether the local copy is dirty (uncommitted changes), whether the local copy is not synchronized with version in Makefile and finally whether a new version is available upstream\r\n* make update dep=cowlib: the info above for cowlib + the list of tags/commits available upstream since the current version; if tags: try to only show tags more recent; if following a branch then compare commits; if commits then by default count the number of commits and give hash of most recent, optionally display a shortlog of more recent commits and optionally print a diff of everything that has changed upstream\r\n* make update dep=cowlib to=VERSION: update cowlib to VERSION, update the locks file (#241) if we choose to go that way, otherwise update the Makefile's dep_cowlib line perhaps\r\n"}}