{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127","labels_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127/comments","events_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127/events","html_url":"https://github.com/clojure-emacs/refactor-nrepl/issues/127","id":114850175,"number":127,"title":"Mr Anderson and \"circular dependencies\" clj/cljs","user":{"login":"magnars","id":265785,"avatar_url":"https://avatars.githubusercontent.com/u/265785?v=3","gravatar_id":"","url":"https://api.github.com/users/magnars","html_url":"https://github.com/magnars","followers_url":"https://api.github.com/users/magnars/followers","following_url":"https://api.github.com/users/magnars/following{/other_user}","gists_url":"https://api.github.com/users/magnars/gists{/gist_id}","starred_url":"https://api.github.com/users/magnars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnars/subscriptions","organizations_url":"https://api.github.com/users/magnars/orgs","repos_url":"https://api.github.com/users/magnars/repos","events_url":"https://api.github.com/users/magnars/events{/privacy}","received_events_url":"https://api.github.com/users/magnars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-03T16:09:36Z","updated_at":"2015-11-08T12:46:36Z","closed_at":null,"body":"Here's a new one for me:\r\n\r\n```\r\nclojure.lang.ExceptionInfo: Circular dependency between quiescent.core and quiescent.core\r\n at clojure.core$ex_info.invoke (core.clj:4593)\r\n    mranderson046.toolsnamespace.v0v3v0_alpha1.clojure.tools.namespace.dependency.MapDependencyGraph.depend (dependency.cljc:89)\r\n    mranderson046.toolsnamespace.v0v3v0_alpha1.clojure.tools.namespace.track$add_deps$fn__50653$fn__50655.invoke (track.cljc:26)\r\n```\r\n\r\nFull stack: https://gist.github.com/magnars/43702192d9d8108f98eb\r\n\r\nThe namespace for `quiescent.core` in clj is simply:\r\n\r\n```clj\r\n(ns quiescent.core)\r\n```\r\n\r\nThe namespace for `quiescent.core` in cljs is:\r\n\r\n```clj\r\n(ns quiescent.core\r\n  (:require [cljsjs.react])\r\n  (:require-macros [quiescent.core :refer [react-method]]))\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/comments/154823695","html_url":"https://github.com/clojure-emacs/refactor-nrepl/issues/127#issuecomment-154823695","issue_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127","id":154823695,"user":{"login":"expez","id":1006557,"avatar_url":"https://avatars.githubusercontent.com/u/1006557?v=3","gravatar_id":"","url":"https://api.github.com/users/expez","html_url":"https://github.com/expez","followers_url":"https://api.github.com/users/expez/followers","following_url":"https://api.github.com/users/expez/following{/other_user}","gists_url":"https://api.github.com/users/expez/gists{/gist_id}","starred_url":"https://api.github.com/users/expez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expez/subscriptions","organizations_url":"https://api.github.com/users/expez/orgs","repos_url":"https://api.github.com/users/expez/repos","events_url":"https://api.github.com/users/expez/events{/privacy}","received_events_url":"https://api.github.com/users/expez/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T12:46:36Z","updated_at":"2015-11-08T12:46:36Z","body":"@stuartsierra We use the tracker, among other things, in `rename-file-or-dir` to find the dependent namespaces which need to be updated after a source file is moved.  The only way to get this to work, in the general case, is to put all variants of source files in the tracker.\r\n\r\nIt would be great if this could be made to work reliably.  For now, I'll limit the scope of the tracker we're building to only `clj` files whenever possible.\r\n"}}