@atomist/clj-editors
Version:
editor functions that use rewrite-clj and other important things from the clojurescript ecosystem
1 lines • 13.3 kB
JSON
["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$goog",["^ ","~$string",["^ ","~$StringBuffer",["^ ","~$prototype",["^ ","~$append",["^ "]]]]],"~$Object",["^ "]],"~:use-macros",["^ ","~$testing","~$cljs.test","~$async","^;","~$go","~$cljs.core.async.macros","~$is","^;","~$deftest","^;","~$run-tests","^;"],"~:excludes",["~#set",[]],"~:name","~$atomist.goals","~:imports",null,"~:requires",["^ ","~$json","~$atomist.json","~$gstring","~$goog.string","~$log","~$atomist.cljs-log","~$deps","~$atomist.deps","^O","^O","^M","^M","^K","^K","^;","^;","~$cljs.core.async","^P","~$atomist.promise","^Q","~$cljs.pprint","^R","~$goog.string.format","^S","~$clojure.data","^T","^I","^I"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$pprint","^R","~$<!","^P","~$get-current-env","^;","~$chan","^P","~$report","^;","~$empty-env","^;","~$testing-vars-str","^;","~$>!","^P","~$from-promise","^Q"],"~:defs",["^ ","~$pretty-log",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","~:line",26,"~:column",8,"~:end-line",26,"~:end-column",18,"~:private",true,"~:arglists",["~#list",["~$quote",["^1?",[["~$t","~$o"]]]]]],"^1=",true,"^D","~$atomist.goals/pretty-log","~:variadic",false,"^18","src/atomist/goals.cljs","^1<",18,"~:method-params",["^1?",[["~$t","~$o"]]],"~:protocol-impl",null,"~:arglists-meta",["^1?",[null,null]],"^1:",1,"^19",26,"^1;",26,"~:max-fixed-arity",2,"~:fn-var",true,"^1>",["^1?",["^1@",["^1?",[["~$t","~$o"]]]]]],"~$options",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",58,"^1:",8,"^1;",58,"^1<",15,"^1=",true,"^1>",["^1?",["^1@",["^1?",[["~$preferences","~$project-path"]]]]]],"^1=",true,"^D","~$atomist.goals/options","^1B",false,"^18","src/atomist/goals.cljs","^1<",15,"^1C",["^1?",[["^1I","^1J"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",58,"^1;",58,"^1F",2,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1I","^1J"]]]]]],"~$with-new-goal",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",99,"^1:",7,"^1;",99,"^1<",20,"^1>",["^1?",["^1@",["^1?",[["~$query-prefs","~$mutate-prefs","~$parameters"]]]]],"~:doc","update a goal in the current project\n choose a new library target and set it in the team wide preferences\n\n params\n query-refs - ()=>Promise\n mutate-prefs - (team json)=>Promise\n parameters - {:keys [name version]} | string"],"^D","~$atomist.goals/with-new-goal","^1B",false,"^18","src/atomist/goals.cljs","^1<",20,"^1C",["^1?",[["^1M","^1N","^1O"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",99,"^1;",99,"^1F",3,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1M","^1N","^1O"]]]]],"^1P","update a goal in the current project\n choose a new library target and set it in the team wide preferences\n\n params\n query-refs - ()=>Promise\n mutate-prefs - (team json)=>Promise\n parameters - {:keys [name version]} | string"],"~$get-options",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",29,"^1:",8,"^1;",29,"^1<",19,"^1=",true,"^1>",["^1?",["^1@",["^1?",[["~$libs","~$goals"]]]]],"^1P","libs - set of lib dependencies in the current project [[name version ...] ...]\n goals - current set of library goals {name version}"],"^1=",true,"^D","~$atomist.goals/get-options","^1B",false,"^18","src/atomist/goals.cljs","^1<",19,"^1C",["^1?",[["^1S","^1T"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",29,"^1;",29,"^1F",2,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1S","^1T"]]]]],"^1P","libs - set of lib dependencies in the current project [[name version ...] ...]\n goals - current set of library goals {name version}"],"~$prefs->options",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",65,"^1:",8,"^1;",65,"^1<",22,"^1=",true,"^1>",["^1?",["^1@",["^1?",[["^1I"]]]]]],"^1=",true,"^D","~$atomist.goals/prefs->options","^1B",false,"^18","src/atomist/goals.cljs","^1<",22,"^1C",["^1?",[["^1I"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",65,"^1;",65,"^1F",1,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1I"]]]]]],"~$message",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",40,"^1:",7,"^1;",40,"^1<",14,"^1>",["^1?",["^1@",["^1?",[["^1T"]]]]]],"^D","~$atomist.goals/message","^1B",false,"^18","src/atomist/goals.cljs","^1<",14,"^1C",["^1?",[["^1T"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",40,"^1;",40,"^1F",1,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1T"]]]]]],"~$check-library-goals",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",169,"^1:",7,"^1;",169,"^1<",26,"^1>",["^1?",["^1@",["^1?",[["^1M","~$send-message","~$event"]]]]],"^1P","check a project for whether it's dependencies are aligned with the current goals\n send a message if any libraries in the updated project are not the target versions\n\n params\n query-prefs\n send-message\n event\n\n returns channel "],"^D","~$atomist.goals/check-library-goals","^1B",false,"^18","src/atomist/goals.cljs","^1<",26,"^1C",["^1?",[["^1M","^1[","^20"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",169,"^1;",169,"^1F",3,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1M","^1[","^20"]]]]],"^1P","check a project for whether it's dependencies are aligned with the current goals\n send a message if any libraries in the updated project are not the target versions\n\n params\n query-prefs\n send-message\n event\n\n returns channel "],"~$with-project-goals",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",81,"^1:",7,"^1;",81,"^1<",25,"^1>",["^1?",["^1@",["^1?",[["^1M","^1J","^1["]]]]],"^1P","send a message about adding new library goals from the current project\n sendMessage about library targets from project which may contain lib dependencies\n\n params\n query-prefs - ()=>Promise\n project-path - basedir of current project\n send-message - callback to send a bot message"],"^D","~$atomist.goals/with-project-goals","^1B",false,"^18","src/atomist/goals.cljs","^1<",25,"^1C",["^1?",[["^1M","^1J","^1["]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",81,"^1;",81,"^1F",3,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1M","^1J","^1["]]]]],"^1P","send a message about adding new library goals from the current project\n sendMessage about library targets from project which may contain lib dependencies\n\n params\n query-prefs - ()=>Promise\n project-path - basedir of current project\n send-message - callback to send a bot message"],"~$broadcast",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",189,"^1:",7,"^1;",189,"^1<",16,"^1>",["^1?",["^1@",["^1?",[["~$complete-callback","~$graph-promise",["^ ","~:keys",["~$name","~$version"]],"~$callback"]]]]],"^1P","use fingerprints to scan for projects that could be impacted by this new lib version\n fire callbacks for all project consuming a library when a new library target is set\n\n params\n complete-callback - zero-arg callback which fulfills a Promise\n graph-promise - get repos with a particular fingerprint\n target-library - here's the target library that projects might want to use\n callback - this is the callback to use when we find a project to notify\n\n returns channel with result\n but the complete-callback might complete the outside promise chain and should be the last thing called"],"^D","~$atomist.goals/broadcast","^1B",false,"^18","src/atomist/goals.cljs","^1<",16,"^1C",["^1?",[["^25","^26","~$p__23355","^2:"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",189,"^1;",189,"^1F",4,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^25","^26",["^ ","^27",["^28","^29"]],"^2:"]]]]],"^1P","use fingerprints to scan for projects that could be impacted by this new lib version\n fire callbacks for all project consuming a library when a new library target is set\n\n params\n complete-callback - zero-arg callback which fulfills a Promise\n graph-promise - get repos with a particular fingerprint\n target-library - here's the target library that projects might want to use\n callback - this is the callback to use when we find a project to notify\n\n returns channel with result\n but the complete-callback might complete the outside promise chain and should be the last thing called"],"~$check-library",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",147,"^1:",8,"^1;",147,"^1<",21,"^1=",true,"^1>",["^1?",["^1@",["^1?",[["^1T","~$&",["~$n","~$v","~$&","~$args"]]]]]],"^1P","check goals against lib versions extracted from file\n return goal library version and current version locally","~:top-fn",["^ ","^1B",true,"^1F",1,"^1C",[["^1?",["^1T",["~$n","~$v","~$&","^2>"]]]],"^1>",["^1?",[["^1T","~$&",["~$n","~$v","~$&","^2>"]]]],"^1E",["^1?",[null]]]],"^1=",true,"^D","~$atomist.goals/check-library","^1B",true,"^18","src/atomist/goals.cljs","^1<",21,"^2?",["^ ","^1B",true,"^1F",1,"^1C",[["^1?",["^1T",["~$n","~$v","~$&","^2>"]]]],"^1>",["^1?",[["^1T","~$&",["~$n","~$v","~$&","^2>"]]]],"^1E",["^1?",[null]]],"^1C",[["^1?",["^1T",["~$n","~$v","~$&","^2>"]]]],"^1D",null,"^1E",["^1?",[null]],"^1:",1,"^19",147,"^1;",147,"^1F",1,"^1G",true,"^1>",["^1?",[["^1T","~$&",["~$n","~$v","~$&","^2>"]]]],"^1P","check goals against lib versions extracted from file\n return goal library version and current version locally"],"~$with-preferences",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",71,"^1:",7,"^1;",71,"^1<",23,"^1>",["^1?",["^1@",["^1?",[["^1M","^2:"]]]]],"^1P",""],"^D","~$atomist.goals/with-preferences","^1B",false,"^18","src/atomist/goals.cljs","^1<",23,"^1C",["^1?",[["^1M","^2:"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",71,"^1;",71,"^1F",2,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1M","^2:"]]]]],"^1P",""],"~$has-goal?",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",144,"^1:",7,"^1;",144,"^1<",16,"^1>",["^1?",["^1@",["^1?",[["^1T","~$k"]]]]]],"^D","~$atomist.goals/has-goal?","^1B",false,"^18","src/atomist/goals.cljs","^1<",16,"^1C",["^1?",[["^1T","~$k"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",144,"^1;",144,"^1F",2,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1T","~$k"]]]]]],"~$check-libraries",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",161,"^1:",8,"^1;",161,"^1<",23,"^1=",true,"^1>",["^1?",["^1@",["^1?",[["^1T",["~#cmap",[["^ ","~$to-data","~:data"],"~:to","~:as","^20"]],"~$f2"]]]]]],"^1=",true,"^D","~$atomist.goals/check-libraries","^1B",false,"^18","src/atomist/goals.cljs","^1<",23,"^1C",["^1?",[["^1T","~$p__23250","^2K"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",161,"^1;",161,"^1F",3,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1T",["^2F",[["^ ","^2G","^2H"],"^2I","^2J","^20"]],"^2K"]]]]]],"~$preferences->goals",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",48,"^1:",8,"^1;",48,"^1<",26,"^1=",true,"^1>",["^1?",["^1@",["^1?",[["^1I"]]]]]],"^1=",true,"^D","~$atomist.goals/preferences->goals","^1B",false,"^18","src/atomist/goals.cljs","^1<",26,"^1C",["^1?",[["^1I"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",48,"^1;",48,"^1F",1,"^1G",true,"^1>",["^1?",["^1@",["^1?",[["^1I"]]]]]],"~$create-library-editor-choice",["^ ","^16",null,"^17",["^ ","^18","/Users/slim/atomist_root/atomisthq/clj-editors/src/atomist/goals.cljs","^19",126,"^1:",7,"^1;",126,"^1<",35,"^1>",["^1?",["^1@",["^1?",[[["^ ","^27",["~$owner","~$repo","~$channel-name"],"^2J","^20"],"^1[",["^2F",[["^ ","^27",["^28","^29"],"^2J","~$library"],"~:library","^2J","~$action"]]]]]]],"^1P","send a message if any libraries in the updated project are not the target versions\n event\n send-message\n action"],"^D","~$atomist.goals/create-library-editor-choice","^1B",false,"^18","src/atomist/goals.cljs","^1<",35,"^1C",["^1?",[["~$p__23212","^1[","~$p__23213"]]],"^1D",null,"^1E",["^1?",[null,null]],"^1:",1,"^19",126,"^1;",126,"^1F",3,"^1G",true,"^1>",["^1?",["^1@",["^1?",[[["^ ","^27",["^2Q","^2R","^2S"],"^2J","^20"],"^1[",["^2F",[["^ ","^27",["^28","^29"],"^2J","^2T"],"^2U","^2J","^2V"]]]]]]],"^1P","send a message if any libraries in the updated project are not the target versions\n event\n send-message\n action"]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^>","^>","^R","^R","^;","^;"],"~:cljs.analyzer/constants",["^ ","~:seen",["^C",["~:ChatTeam","~:done","~:channels","~:else","^D","~:value","~:branches","~:recur","~:preferences","~:channel-name","^2U","~:id","~:commit","~:current","~:fingerprints","~:repo","~:version","~:owner","~:Repo","~:text","^2I","^2H"]],"~:order",["^3C","^36","^32","^39","^D","^38","^35","^3@","^3;","^3A","^3?","^3:","^2U","^3=","^2I","^2H","^33","^34","^37","^3<","^3>","^3B"]],"^1P",null]