Skip to content

Commit 02bb65e

Browse files
authored
Merge pull request #399 from clj-commons/lread/maint-2025-07-12
maintenance
2 parents 06ac97e + 4bd3b03 commit 02bb65e

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

README.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ Some projects using rewrite-clj v1
5757
* https://github.com/greglook/cljstyle[cljstyle] {canary-tested} - A tool for formatting Clojure code
5858
* https://github.com/clojure-lsp/clojure-lsp[clojure-lsp] {canary-tested} - Language Server (LSP) for Clojure
5959
* https://github.com/bhauman/clojure-mcp[clojure-mcp] {canary-tested} - REPL-Driven Development with AI Assistance
60-
// depot tests are currently broken
61-
* https://github.com/Olical/depot[depot] {not-canary-tested} - Find newer versions of your dependencies in your deps.edn file
60+
* https://github.com/Olical/depot[depot] {canary-tested} - Find newer versions of your dependencies in your deps.edn file
6261
// duck-repled repo is not version tagged:
6362
* https://github.com/mauricioszabo/duck-repled[duck-repled] {not-canary-tested} - Transform your REPL interation into Pathom queries
6463
* https://github.com/jonase/kibit[kibit] {canary-tested} - There's a function for that!

script/test_libs.clj

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,6 @@
136136
:removals #{'rewrite-clj 'rewrite-clj/rewrite-clj}
137137
:additions [['rewrite-clj/rewrite-clj rewrite-clj-version]]}))
138138

139-
;; needed by depot patch, we'll see if it still needed after depot fixes its tests
140-
#_(defn- replace-in-file [fname match replacement]
141-
(let [orig-filename (str fname ".orig")
142-
content (slurp fname)]
143-
(fs/copy fname orig-filename)
144-
(status/line :detail "- hacking %s" fname)
145-
(let [new-content (string/replace content match replacement)]
146-
(if (= new-content content)
147-
(throw (ex-info (format "hacking file failed: %s" fname) {}))
148-
(spit fname new-content)))))
149-
150139
(defn- show-patch-diff [{:keys [home-dir]}]
151140
(let [{:keys [exit]} (shcmd {:dir home-dir :continue true}
152141
"git --no-pager diff --exit-code")]
@@ -175,17 +164,6 @@
175164
(defn clojure-lsp-deps [lib-opts]
176165
(cli-deps-tree (update lib-opts :home-dir #(str (fs/file % "lib")))))
177166

178-
;;
179-
;; depot
180-
;;
181-
;; We'll see if this custom path is needed after next release of depot that fixes its tests
182-
#_(defn depot-patch [{:keys [home-dir] :as lib}]
183-
(deps-edn-v1-patch lib)
184-
(status/line :detail "=> depot uses but does not require rewrite-clj.node, need to adjust for rewrite-clj v1")
185-
(replace-in-file (str (fs/file home-dir "src/depot/zip.clj"))
186-
"[rewrite-clj.zip :as rzip]"
187-
"[rewrite-clj.zip :as rzip] [rewrite-clj.node]"))
188-
189167
;;
190168
;; lein ancient
191169
;;
@@ -338,23 +316,22 @@
338316
:test-cmds ["bb test"]}
339317
{:name "clojure-mcp"
340318
:platforms [:clj]
341-
:version "0.1.6-alpha"
319+
:version "0.1.7-alpha-pre"
342320
:github-release {:repo "bhauman/clojure-mcp"
343321
:via :tag
344322
:version-prefix "v"}
345323
:patch-fn deps-edn-v1-patch
346324
:show-deps-fn cli-deps-tree
347325
:test-cmds ["clojure -M:test"]}
348-
#_{:name "depot"
326+
{:name "depot"
349327
:platforms [:clj]
350-
:note "Depot tests are currently broken, re-enable when they are fixed"
351-
:version "2.4.0"
328+
:version "2.4.1"
352329
:github-release {:repo "Olical/depot"
353330
:via :tag
354331
:version-prefix "v"}
355-
:patch-fn depot-patch
332+
:patch-fn deps-edn-v1-patch
356333
:show-deps-fn cli-deps-tree
357-
:test-cmds ["bin/kaocha --reporter documentation"]}
334+
:test-cmds ["clojure -M:dev:test"]}
358335
{:name "kibit"
359336
:platforms [:clj]
360337
:version "0.1.11"

0 commit comments

Comments
 (0)