{"action":"closed","issue":{"url":"https://api.github.com/repos/xsc/lein-ancient/issues/66","labels_url":"https://api.github.com/repos/xsc/lein-ancient/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/xsc/lein-ancient/issues/66/comments","events_url":"https://api.github.com/repos/xsc/lein-ancient/issues/66/events","html_url":"https://github.com/xsc/lein-ancient/issues/66","id":108468426,"number":66,"title":"lein-ancient 0.6.8-SNAPSHOT doesn't play well with lein do, AKA find dependencies and plugins at the same time","user":{"login":"belucid","id":12163,"avatar_url":"https://avatars.githubusercontent.com/u/12163?v=3","gravatar_id":"","url":"https://api.github.com/users/belucid","html_url":"https://github.com/belucid","followers_url":"https://api.github.com/users/belucid/followers","following_url":"https://api.github.com/users/belucid/following{/other_user}","gists_url":"https://api.github.com/users/belucid/gists{/gist_id}","starred_url":"https://api.github.com/users/belucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belucid/subscriptions","organizations_url":"https://api.github.com/users/belucid/orgs","repos_url":"https://api.github.com/users/belucid/repos","events_url":"https://api.github.com/users/belucid/events{/privacy}","received_events_url":"https://api.github.com/users/belucid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xsc/lein-ancient/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-26T14:15:56Z","updated_at":"2015-09-26T15:18:57Z","closed_at":"2015-09-26T15:18:57Z","body":"This is great:\r\n\r\n```console\r\nlein ancient\r\n```\r\n\r\nAnd this is too:\r\n\r\n```console\r\nlein ancient :plugins\r\n```\r\n\r\nBut what I'd really like is 1 command that will find out of date dependencies and plugins. It's unfortunate that you can't do both with 1 command (as far as I can tell), and maybe you should be able to. So that's one issue.\r\n\r\nA separate but somewhat related issue, is that it seems our possible work around, `lein do`, doesn't work with lein-ancient 0.6.8-SNAPSHOT.\r\n\r\nThis works as expected, both these tasks run:\r\n\r\n```console\r\nlein do version, ancient\r\nLeiningen 2.5.3 on Java 1.8.0_60 Java HotSpot(TM) 64-Bit Server VM\r\nWARNING: update already refers to: #'clojure.core/update in namespace: clj-http.client, being replaced by: #'clj-http.client/update\r\n[midje \"1.7.0\"] is available but we use \"1.6.0\"\r\n[ring-mock \"0.1.5\"] is available but we use \"0.1.3\"\r\n```\r\n\r\nAnd on lein-ancient 0.6.7, this works fine too:\r\n\r\n```console\r\nlein do ancient, version\r\nWARNING: update already refers to: #'clojure.core/update in namespace: clj-http.client, being replaced by: #'clj-http.client/update\r\n[midje \"1.7.0\"] is available but we use \"1.6.0\"\r\n[ring-mock \"0.1.5\"] is available but we use \"0.1.3\"\r\nLeiningen 2.5.3 on Java 1.8.0_60 Java HotSpot(TM) 64-Bit Server VM\r\n```\r\n\r\nBut on 0.6.8-SNAPSHOT, the 2nd task, `version`, never runs:\r\n\r\n```console\r\nlein do ancient, version\r\nWARNING: update already refers to: #'clojure.core/update in namespace: clj-http.client, being replaced by: #'clj-http.client/update\r\n[aprint \"0.1.3\"] is available but we use \"0.1.0\"\r\n[midje \"1.7.0\"] is available but we use \"1.6.0\"\r\n[ring-mock \"0.1.5\"] is available but we use \"0.1.3\"\r\n```\r\n\r\nThe downside of this regression, in particular, is it makes this work around on 0.6.7:\r\n\r\n```console\r\nlein do ancient, ancient :plugins\r\nWARNING: update already refers to: #'clojure.core/update in namespace: clj-http.client, being replaced by: #'clj-http.client/update\r\n[midje \"1.7.0\"] is available but we use \"1.6.0\"\r\n[ring-mock \"0.1.5\"] is available but we use \"0.1.3\"\r\n[lein-ring \"0.9.6\"] is available but we use \"0.9.5\"\r\n[lein-cljsbuild \"1.1.0\"] is available but we use \"1.0.0\"\r\n```\r\n\r\nNo longer work on 0.6.8:\r\n\r\n```console\r\nlein do ancient, ancient :plugins\r\nWARNING: update already refers to: #'clojure.core/update in namespace: clj-http.client, being replaced by: #'clj-http.client/update\r\n[aprint \"0.1.3\"] is available but we use \"0.1.0\"\r\n[midje \"1.7.0\"] is available but we use \"1.6.0\"\r\n[ring-mock \"0.1.5\"] is available but we use \"0.1.3\"\r\n```\r\n"}}