From ccc2b5636ead697abf828a5d031be41335a866c6 Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Mon, 28 Aug 2023 17:37:17 +0300 Subject: [PATCH 1/4] move all libs metosin/reitit => fi.metosin/reitit metosin/ is a clojars legacy group, and new modules like fi.metosin/openapi can't be created under it. Let's move everything under fi.metosin --- examples/buddy-auth/project.clj | 2 +- examples/frontend-auth/project.clj | 6 ++-- examples/frontend-controllers/project.clj | 6 ++-- examples/frontend-links/project.clj | 6 ++-- examples/frontend-prompt/project.clj | 6 ++-- examples/frontend-re-frame/project.clj | 2 +- examples/frontend/project.clj | 6 ++-- examples/http-swagger/project.clj | 2 +- examples/http/project.clj | 2 +- examples/just-coercion-with-ring/project.clj | 2 +- examples/openapi/project.clj | 2 +- examples/pedestal-malli-swagger/project.clj | 6 ++-- examples/pedestal-swagger/project.clj | 4 +-- examples/pedestal/project.clj | 4 +-- examples/ring-example/project.clj | 2 +- examples/ring-integrant/project.clj | 2 +- examples/ring-malli-lite-swagger/project.clj | 2 +- examples/ring-malli-swagger/project.clj | 2 +- examples/ring-spec-swagger/project.clj | 2 +- examples/ring-swagger/.lein-failures | 1 - modules/reitit-core/project.clj | 2 +- modules/reitit-dev/project.clj | 4 +-- modules/reitit-frontend/project.clj | 4 +-- modules/reitit-http/project.clj | 6 ++-- modules/reitit-interceptors/project.clj | 4 +-- modules/reitit-malli/project.clj | 4 +-- modules/reitit-middleware/project.clj | 4 +-- modules/reitit-openapi/project.clj | 2 +- modules/reitit-pedestal/project.clj | 4 +-- modules/reitit-ring/project.clj | 4 +-- modules/reitit-schema/project.clj | 4 +-- modules/reitit-sieppari/project.clj | 4 +-- modules/reitit-spec/project.clj | 4 +-- modules/reitit-swagger-ui/project.clj | 4 +-- modules/reitit-swagger/project.clj | 4 +-- modules/reitit/project.clj | 28 ++++++++--------- project.clj | 32 ++++++++++---------- 37 files changed, 92 insertions(+), 93 deletions(-) delete mode 100644 examples/ring-swagger/.lein-failures diff --git a/examples/buddy-auth/project.clj b/examples/buddy-auth/project.clj index 9be472d72..a5dd7f71b 100644 --- a/examples/buddy-auth/project.clj +++ b/examples/buddy-auth/project.clj @@ -2,6 +2,6 @@ :description "Reitit Buddy Auth App" :dependencies [[org.clojure/clojure "1.10.1"] [ring/ring-jetty-adapter "1.8.1"] - [metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] [buddy "2.0.0"]] :repl-options {:init-ns example.server}) diff --git a/examples/frontend-auth/project.clj b/examples/frontend-auth/project.clj index 22c81fde2..6db668667 100644 --- a/examples/frontend-auth/project.clj +++ b/examples/frontend-auth/project.clj @@ -10,9 +10,9 @@ [ring "1.7.1"] [hiccup "1.0.5"] [org.clojure/clojurescript "1.10.439"] - [metosin/reitit "0.7.0-alpha5"] - [metosin/reitit-schema "0.7.0-alpha5"] - [metosin/reitit-frontend "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit-schema "0.7.0-alpha5"] + [fi.metosin/reitit-frontend "0.7.0-alpha5"] ;; Just for pretty printting the match [fipp "0.6.14"]] diff --git a/examples/frontend-controllers/project.clj b/examples/frontend-controllers/project.clj index 22c81fde2..6db668667 100644 --- a/examples/frontend-controllers/project.clj +++ b/examples/frontend-controllers/project.clj @@ -10,9 +10,9 @@ [ring "1.7.1"] [hiccup "1.0.5"] [org.clojure/clojurescript "1.10.439"] - [metosin/reitit "0.7.0-alpha5"] - [metosin/reitit-schema "0.7.0-alpha5"] - [metosin/reitit-frontend "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit-schema "0.7.0-alpha5"] + [fi.metosin/reitit-frontend "0.7.0-alpha5"] ;; Just for pretty printting the match [fipp "0.6.14"]] diff --git a/examples/frontend-links/project.clj b/examples/frontend-links/project.clj index 9b054a1e6..af91f08c1 100644 --- a/examples/frontend-links/project.clj +++ b/examples/frontend-links/project.clj @@ -10,9 +10,9 @@ [ring "1.7.1"] [hiccup "1.0.5"] [org.clojure/clojurescript "1.10.520"] - [metosin/reitit "0.7.0-alpha5"] - [metosin/reitit-spec "0.7.0-alpha5"] - [metosin/reitit-frontend "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit-spec "0.7.0-alpha5"] + [fi.metosin/reitit-frontend "0.7.0-alpha5"] ;; Just for pretty printting the match [fipp "0.6.14"]] diff --git a/examples/frontend-prompt/project.clj b/examples/frontend-prompt/project.clj index 9b054a1e6..af91f08c1 100644 --- a/examples/frontend-prompt/project.clj +++ b/examples/frontend-prompt/project.clj @@ -10,9 +10,9 @@ [ring "1.7.1"] [hiccup "1.0.5"] [org.clojure/clojurescript "1.10.520"] - [metosin/reitit "0.7.0-alpha5"] - [metosin/reitit-spec "0.7.0-alpha5"] - [metosin/reitit-frontend "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit-spec "0.7.0-alpha5"] + [fi.metosin/reitit-frontend "0.7.0-alpha5"] ;; Just for pretty printting the match [fipp "0.6.14"]] diff --git a/examples/frontend-re-frame/project.clj b/examples/frontend-re-frame/project.clj index b7e3f404c..0b884a8d8 100644 --- a/examples/frontend-re-frame/project.clj +++ b/examples/frontend-re-frame/project.clj @@ -1,7 +1,7 @@ (defproject frontend-re-frame "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.0"] [org.clojure/clojurescript "1.10.520"] - [metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] [reagent "0.8.1"] [re-frame "0.10.6"]] diff --git a/examples/frontend/project.clj b/examples/frontend/project.clj index 188f954f3..9842cf135 100644 --- a/examples/frontend/project.clj +++ b/examples/frontend/project.clj @@ -10,9 +10,9 @@ [ring "1.8.1"] [hiccup "1.0.5"] [org.clojure/clojurescript "1.10.773"] - [metosin/reitit "0.7.0-alpha5"] - [metosin/reitit-spec "0.7.0-alpha5"] - [metosin/reitit-frontend "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit-spec "0.7.0-alpha5"] + [fi.metosin/reitit-frontend "0.7.0-alpha5"] ;; Just for pretty printting the match [fipp "0.6.23"]] diff --git a/examples/http-swagger/project.clj b/examples/http-swagger/project.clj index d34040da0..7363621ed 100644 --- a/examples/http-swagger/project.clj +++ b/examples/http-swagger/project.clj @@ -3,6 +3,6 @@ :dependencies [[org.clojure/clojure "1.10.0"] [ring/ring-jetty-adapter "1.7.1"] [aleph "0.4.7-alpha5"] - [metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] [metosin/ring-swagger-ui "5.0.0-alpha.0"]] :repl-options {:init-ns example.server}) diff --git a/examples/http/project.clj b/examples/http/project.clj index aa919bf5a..eac1f30f2 100644 --- a/examples/http/project.clj +++ b/examples/http/project.clj @@ -5,5 +5,5 @@ [funcool/promesa "1.9.0"] [manifold "0.1.8"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"]] + [fi.metosin/reitit "0.7.0-alpha5"]] :repl-options {:init-ns example.server}) diff --git a/examples/just-coercion-with-ring/project.clj b/examples/just-coercion-with-ring/project.clj index cf6e00384..1addac60b 100644 --- a/examples/just-coercion-with-ring/project.clj +++ b/examples/just-coercion-with-ring/project.clj @@ -2,4 +2,4 @@ :description "Reitit coercion with vanilla ring" :dependencies [[org.clojure/clojure "1.10.0"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"]]) + [fi.metosin/reitit "0.7.0-alpha5"]]) diff --git a/examples/openapi/project.clj b/examples/openapi/project.clj index b9750867e..5c29ee827 100644 --- a/examples/openapi/project.clj +++ b/examples/openapi/project.clj @@ -3,7 +3,7 @@ :dependencies [[org.clojure/clojure "1.10.0"] [metosin/jsonista "0.2.6"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] [metosin/ring-swagger-ui "5.0.0-alpha.0"]] :repl-options {:init-ns example.server} :profiles {:dev {:dependencies [[ring/ring-mock "0.3.2"]]}}) diff --git a/examples/pedestal-malli-swagger/project.clj b/examples/pedestal-malli-swagger/project.clj index fd0547f37..af39dd8f4 100644 --- a/examples/pedestal-malli-swagger/project.clj +++ b/examples/pedestal-malli-swagger/project.clj @@ -3,7 +3,7 @@ :dependencies [[org.clojure/clojure "1.10.0"] [io.pedestal/pedestal.service "0.5.5"] [io.pedestal/pedestal.jetty "0.5.5"] - [metosin/reitit-malli "0.7.0-alpha5"] - [metosin/reitit-pedestal "0.7.0-alpha5"] - [metosin/reitit "0.7.0-alpha5"]] + [fi.metosin/reitit-malli "0.7.0-alpha5"] + [fi.metosin/reitit-pedestal "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"]] :repl-options {:init-ns server}) diff --git a/examples/pedestal-swagger/project.clj b/examples/pedestal-swagger/project.clj index 0ca087f6c..1f24ddb34 100644 --- a/examples/pedestal-swagger/project.clj +++ b/examples/pedestal-swagger/project.clj @@ -3,6 +3,6 @@ :dependencies [[org.clojure/clojure "1.10.0"] [io.pedestal/pedestal.service "0.5.5"] [io.pedestal/pedestal.jetty "0.5.5"] - [metosin/reitit-pedestal "0.7.0-alpha5"] - [metosin/reitit "0.7.0-alpha5"]] + [fi.metosin/reitit-pedestal "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"]] :repl-options {:init-ns example.server}) diff --git a/examples/pedestal/project.clj b/examples/pedestal/project.clj index 0ca087f6c..1f24ddb34 100644 --- a/examples/pedestal/project.clj +++ b/examples/pedestal/project.clj @@ -3,6 +3,6 @@ :dependencies [[org.clojure/clojure "1.10.0"] [io.pedestal/pedestal.service "0.5.5"] [io.pedestal/pedestal.jetty "0.5.5"] - [metosin/reitit-pedestal "0.7.0-alpha5"] - [metosin/reitit "0.7.0-alpha5"]] + [fi.metosin/reitit-pedestal "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"]] :repl-options {:init-ns example.server}) diff --git a/examples/ring-example/project.clj b/examples/ring-example/project.clj index e47d51130..043de6e56 100644 --- a/examples/ring-example/project.clj +++ b/examples/ring-example/project.clj @@ -2,5 +2,5 @@ :description "Reitit Ring App" :dependencies [[org.clojure/clojure "1.10.0"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"]] + [fi.metosin/reitit "0.7.0-alpha5"]] :repl-options {:init-ns example.server}) diff --git a/examples/ring-integrant/project.clj b/examples/ring-integrant/project.clj index 3a876f2be..e22d40b4f 100644 --- a/examples/ring-integrant/project.clj +++ b/examples/ring-integrant/project.clj @@ -2,7 +2,7 @@ :description "Reitit Ring App with Integrant" :dependencies [[org.clojure/clojure "1.10.1"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] [integrant "0.7.0"]] :main example.server :repl-options {:init-ns user} diff --git a/examples/ring-malli-lite-swagger/project.clj b/examples/ring-malli-lite-swagger/project.clj index 9750eb53d..b44b97211 100644 --- a/examples/ring-malli-lite-swagger/project.clj +++ b/examples/ring-malli-lite-swagger/project.clj @@ -3,6 +3,6 @@ :dependencies [[org.clojure/clojure "1.10.0"] [metosin/jsonista "0.2.6"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"]] + [fi.metosin/reitit "0.7.0-alpha5"]] :repl-options {:init-ns example.server} :profiles {:dev {:dependencies [[ring/ring-mock "0.3.2"]]}}) diff --git a/examples/ring-malli-swagger/project.clj b/examples/ring-malli-swagger/project.clj index 193c75966..a08247138 100644 --- a/examples/ring-malli-swagger/project.clj +++ b/examples/ring-malli-swagger/project.clj @@ -3,7 +3,7 @@ :dependencies [[org.clojure/clojure "1.10.0"] [metosin/jsonista "0.2.6"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] [metosin/ring-swagger-ui "5.0.0-alpha.0"]] :repl-options {:init-ns example.server} :profiles {:dev {:dependencies [[ring/ring-mock "0.3.2"]]}}) diff --git a/examples/ring-spec-swagger/project.clj b/examples/ring-spec-swagger/project.clj index cba176553..d9ea5997d 100644 --- a/examples/ring-spec-swagger/project.clj +++ b/examples/ring-spec-swagger/project.clj @@ -2,7 +2,7 @@ :description "Reitit Ring App with Swagger" :dependencies [[org.clojure/clojure "1.10.0"] [ring/ring-jetty-adapter "1.7.1"] - [metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit "0.7.0-alpha5"] [metosin/ring-swagger-ui "5.0.0-alpha.0"]] :repl-options {:init-ns example.server} :profiles {:dev {:dependencies [[ring/ring-mock "0.3.2"]]}}) diff --git a/examples/ring-swagger/.lein-failures b/examples/ring-swagger/.lein-failures deleted file mode 100644 index 9e26dfeeb..000000000 --- a/examples/ring-swagger/.lein-failures +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/modules/reitit-core/project.clj b/modules/reitit-core/project.clj index 2b015eea4..9c40ffc1f 100644 --- a/modules/reitit-core/project.clj +++ b/modules/reitit-core/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-core "0.7.0-alpha5" +(defproject fi.metosin/reitit-core "0.7.0-alpha5" :description "Snappy data-driven router for Clojure(Script)" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" diff --git a/modules/reitit-dev/project.clj b/modules/reitit-dev/project.clj index 112fc0249..b24311488 100644 --- a/modules/reitit-dev/project.clj +++ b/modules/reitit-dev/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-dev "0.7.0-alpha5" +(defproject fi.metosin/reitit-dev "0.7.0-alpha5" :description "Snappy data-driven router for Clojure(Script)" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -8,7 +8,7 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] + :dependencies [[fi.metosin/reitit-core] [com.bhauman/spell-spec] [expound] [fipp] diff --git a/modules/reitit-frontend/project.clj b/modules/reitit-frontend/project.clj index 06c4de15d..a3eb04863 100644 --- a/modules/reitit-frontend/project.clj +++ b/modules/reitit-frontend/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-frontend "0.7.0-alpha5" +(defproject fi.metosin/reitit-frontend "0.7.0-alpha5" :description "Reitit: Clojurescript frontend routing core" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,4 +9,4 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core]]) + :dependencies [[fi.metosin/reitit-core]]) diff --git a/modules/reitit-http/project.clj b/modules/reitit-http/project.clj index 00225a285..0d9d5f937 100644 --- a/modules/reitit-http/project.clj +++ b/modules/reitit-http/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-http "0.7.0-alpha5" +(defproject fi.metosin/reitit-http "0.7.0-alpha5" :description "Reitit: HTTP routing with interceptors" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,5 +9,5 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] - [metosin/reitit-ring]]) + :dependencies [[fi.metosin/reitit-core] + [fi.metosin/reitit-ring]]) diff --git a/modules/reitit-interceptors/project.clj b/modules/reitit-interceptors/project.clj index 744963688..84041fdee 100644 --- a/modules/reitit-interceptors/project.clj +++ b/modules/reitit-interceptors/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-interceptors "0.7.0-alpha5" +(defproject fi.metosin/reitit-interceptors "0.7.0-alpha5" :description "Reitit, common interceptors bundled" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,7 +9,7 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-ring] + :dependencies [[fi.metosin/reitit-ring] [lambdaisland/deep-diff] [metosin/muuntaja] [metosin/spec-tools]]) diff --git a/modules/reitit-malli/project.clj b/modules/reitit-malli/project.clj index a2b24039e..f7a2c4ae8 100644 --- a/modules/reitit-malli/project.clj +++ b/modules/reitit-malli/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-malli "0.7.0-alpha5" +(defproject fi.metosin/reitit-malli "0.7.0-alpha5" :description "Reitit: Malli coercion" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,5 +9,5 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] + :dependencies [[fi.metosin/reitit-core] [metosin/malli]]) diff --git a/modules/reitit-middleware/project.clj b/modules/reitit-middleware/project.clj index 3d1d9105c..2886ce51e 100644 --- a/modules/reitit-middleware/project.clj +++ b/modules/reitit-middleware/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-middleware "0.7.0-alpha5" +(defproject fi.metosin/reitit-middleware "0.7.0-alpha5" :description "Reitit, common middleware bundled" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,7 +9,7 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-ring] + :dependencies [[fi.metosin/reitit-ring] [lambdaisland/deep-diff] [metosin/muuntaja] [metosin/spec-tools]]) diff --git a/modules/reitit-openapi/project.clj b/modules/reitit-openapi/project.clj index 947e2e03a..9ca73bff9 100644 --- a/modules/reitit-openapi/project.clj +++ b/modules/reitit-openapi/project.clj @@ -9,4 +9,4 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core]]) + :dependencies [[fi.metosin/reitit-core]]) diff --git a/modules/reitit-pedestal/project.clj b/modules/reitit-pedestal/project.clj index 7f3108f7f..dbfd7210b 100644 --- a/modules/reitit-pedestal/project.clj +++ b/modules/reitit-pedestal/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-pedestal "0.7.0-alpha5" +(defproject fi.metosin/reitit-pedestal "0.7.0-alpha5" :description "Reitit + Pedestal Integration" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -10,4 +10,4 @@ :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} :dependencies [[io.pedestal/pedestal.service] - [metosin/reitit-http]]) + [fi.metosin/reitit-http]]) diff --git a/modules/reitit-ring/project.clj b/modules/reitit-ring/project.clj index 2c7fe9aac..38842ce13 100644 --- a/modules/reitit-ring/project.clj +++ b/modules/reitit-ring/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-ring "0.7.0-alpha5" +(defproject fi.metosin/reitit-ring "0.7.0-alpha5" :description "Reitit: Ring routing" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,5 +9,5 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] + :dependencies [[fi.metosin/reitit-core] [ring/ring-core]]) diff --git a/modules/reitit-schema/project.clj b/modules/reitit-schema/project.clj index 7034f9626..b9064e05a 100644 --- a/modules/reitit-schema/project.clj +++ b/modules/reitit-schema/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-schema "0.7.0-alpha5" +(defproject fi.metosin/reitit-schema "0.7.0-alpha5" :description "Reitit: Plumatic Schema coercion" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,5 +9,5 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] + :dependencies [[fi.metosin/reitit-core] [metosin/schema-tools]]) diff --git a/modules/reitit-sieppari/project.clj b/modules/reitit-sieppari/project.clj index 2909224ca..9fa5f0c3b 100644 --- a/modules/reitit-sieppari/project.clj +++ b/modules/reitit-sieppari/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-sieppari "0.7.0-alpha5" +(defproject fi.metosin/reitit-sieppari "0.7.0-alpha5" :description "Reitit: Sieppari Interceptors" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,5 +9,5 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] + :dependencies [[fi.metosin/reitit-core] [metosin/sieppari]]) diff --git a/modules/reitit-spec/project.clj b/modules/reitit-spec/project.clj index c63626479..3f67fa329 100644 --- a/modules/reitit-spec/project.clj +++ b/modules/reitit-spec/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-spec "0.7.0-alpha5" +(defproject fi.metosin/reitit-spec "0.7.0-alpha5" :description "Reitit: clojure.spec coercion" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,5 +9,5 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] + :dependencies [[fi.metosin/reitit-core] [metosin/spec-tools]]) diff --git a/modules/reitit-swagger-ui/project.clj b/modules/reitit-swagger-ui/project.clj index e15a76411..65cb035d7 100644 --- a/modules/reitit-swagger-ui/project.clj +++ b/modules/reitit-swagger-ui/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-swagger-ui "0.7.0-alpha5" +(defproject fi.metosin/reitit-swagger-ui "0.7.0-alpha5" :description "Reitit: Swagger-ui support" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,6 +9,6 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-ring] + :dependencies [[fi.metosin/reitit-ring] [metosin/jsonista] [metosin/ring-swagger-ui]]) diff --git a/modules/reitit-swagger/project.clj b/modules/reitit-swagger/project.clj index 86366ef34..a831f6c3b 100644 --- a/modules/reitit-swagger/project.clj +++ b/modules/reitit-swagger/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-swagger "0.7.0-alpha5" +(defproject fi.metosin/reitit-swagger "0.7.0-alpha5" :description "Reitit: Swagger-support" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,4 +9,4 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core]]) + :dependencies [[fi.metosin/reitit-core]]) diff --git a/modules/reitit/project.clj b/modules/reitit/project.clj index bba1362fe..2513bfb5d 100644 --- a/modules/reitit/project.clj +++ b/modules/reitit/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit "0.7.0-alpha5" +(defproject fi.metosin/reitit "0.7.0-alpha5" :description "Snappy data-driven router for Clojure(Script)" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -9,20 +9,20 @@ :plugins [[lein-parent "0.3.9"]] :parent-project {:path "../../project.clj" :inherit [:deploy-repositories :managed-dependencies]} - :dependencies [[metosin/reitit-core] - [metosin/reitit-dev] - [metosin/reitit-spec] - [metosin/reitit-malli] - [metosin/reitit-schema] - [metosin/reitit-ring] - [metosin/reitit-middleware] - [metosin/reitit-http] - [metosin/reitit-interceptors] - [metosin/reitit-swagger] + :dependencies [[fi.metosin/reitit-core] + [fi.metosin/reitit-dev] + [fi.metosin/reitit-spec] + [fi.metosin/reitit-malli] + [fi.metosin/reitit-schema] + [fi.metosin/reitit-ring] + [fi.metosin/reitit-middleware] + [fi.metosin/reitit-http] + [fi.metosin/reitit-interceptors] + [fi.metosin/reitit-swagger] [fi.metosin/reitit-openapi] - [metosin/reitit-swagger-ui] - [metosin/reitit-frontend] - [metosin/reitit-sieppari] + [fi.metosin/reitit-swagger-ui] + [fi.metosin/reitit-frontend] + [fi.metosin/reitit-sieppari] ;; https://clojureverse.org/t/depending-on-the-right-versions-of-jackson-libraries/5111 [com.fasterxml.jackson.core/jackson-core] diff --git a/project.clj b/project.clj index ca3ae3cc1..929a09733 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject metosin/reitit-parent "0.7.0-alpha5" +(defproject fi.metosin/reitit-parent "0.7.0-alpha5" :description "Snappy data-driven router for Clojure(Script)" :url "https://github.com/metosin/reitit" :license {:name "Eclipse Public License" @@ -15,22 +15,22 @@ :url "https://github.com/metosin/reitit"} ;; TODO: need to verify that the code actually worked with Java1.8, see #242 :javac-options ["-Xlint:unchecked" "-target" "1.8" "-source" "1.8"] - :managed-dependencies [[metosin/reitit "0.7.0-alpha5"] - [metosin/reitit-core "0.7.0-alpha5"] - [metosin/reitit-dev "0.7.0-alpha5"] - [metosin/reitit-spec "0.7.0-alpha5"] - [metosin/reitit-malli "0.7.0-alpha5"] - [metosin/reitit-schema "0.7.0-alpha5"] - [metosin/reitit-ring "0.7.0-alpha5"] - [metosin/reitit-middleware "0.7.0-alpha5"] - [metosin/reitit-http "0.7.0-alpha5"] - [metosin/reitit-interceptors "0.7.0-alpha5"] - [metosin/reitit-swagger "0.7.0-alpha5"] + :managed-dependencies [[fi.metosin/reitit "0.7.0-alpha5"] + [fi.metosin/reitit-core "0.7.0-alpha5"] + [fi.metosin/reitit-dev "0.7.0-alpha5"] + [fi.metosin/reitit-spec "0.7.0-alpha5"] + [fi.metosin/reitit-malli "0.7.0-alpha5"] + [fi.metosin/reitit-schema "0.7.0-alpha5"] + [fi.metosin/reitit-ring "0.7.0-alpha5"] + [fi.metosin/reitit-middleware "0.7.0-alpha5"] + [fi.metosin/reitit-http "0.7.0-alpha5"] + [fi.metosin/reitit-interceptors "0.7.0-alpha5"] + [fi.metosin/reitit-swagger "0.7.0-alpha5"] [fi.metosin/reitit-openapi "0.7.0-alpha5"] - [metosin/reitit-swagger-ui "0.7.0-alpha5"] - [metosin/reitit-frontend "0.7.0-alpha5"] - [metosin/reitit-sieppari "0.7.0-alpha5"] - [metosin/reitit-pedestal "0.7.0-alpha5"] + [fi.metosin/reitit-swagger-ui "0.7.0-alpha5"] + [fi.metosin/reitit-frontend "0.7.0-alpha5"] + [fi.metosin/reitit-sieppari "0.7.0-alpha5"] + [fi.metosin/reitit-pedestal "0.7.0-alpha5"] [metosin/ring-swagger-ui "4.18.1"] [metosin/spec-tools "0.10.5"] [metosin/schema-tools "0.13.1"] From 35264dc130c916e98484acce6e156c95db487569 Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Mon, 28 Aug 2023 17:42:46 +0300 Subject: [PATCH 2/4] doc: update all references metosin/reitit => fi.metosin/reitit --- README.md | 2 +- doc/README.md | 2 +- doc/basics/error_messages.md | 2 +- doc/cljdoc.edn | 28 +++++++++++----------- doc/http/default_interceptors.md | 4 ++-- doc/http/interceptors.md | 2 +- doc/http/pedestal.md | 6 ++--- doc/http/sieppari.md | 2 +- doc/http/transforming_interceptor_chain.md | 2 +- doc/ring/default_middleware.md | 2 +- doc/ring/exceptions.md | 2 +- doc/ring/ring.md | 2 +- doc/ring/swagger.md | 4 ++-- doc/ring/transforming_middleware_chain.md | 2 +- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 32e0bb98d..223d96c07 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ There is [#reitit](https://clojurians.slack.com/messages/reitit/) in [Clojurians All main modules bundled: ```clj -[metosin/reitit "0.7.0-alpha5"] +[fi.metosin/reitit "0.7.0-alpha5"] ``` Optionally, the parts can be required separately. diff --git a/doc/README.md b/doc/README.md index bd862406a..df085f955 100644 --- a/doc/README.md +++ b/doc/README.md @@ -41,7 +41,7 @@ There is [#reitit](https://clojurians.slack.com/messages/reitit/) in [Clojurians All bundled: ```clj -[metosin/reitit "0.7.0-alpha5"] +[fi.metosin/reitit "0.7.0-alpha5"] ``` Optionally, the parts can be required separately. diff --git a/doc/basics/error_messages.md b/doc/basics/error_messages.md index 3545c27ad..81fe1f82c 100644 --- a/doc/basics/error_messages.md +++ b/doc/basics/error_messages.md @@ -22,7 +22,7 @@ The default exception formatting uses `reitit.exception/exception`. It produces ## Pretty Errors ```clj -[metosin/reitit-dev "0.7.0-alpha5"] +[fi.metosin/reitit-dev "0.7.0-alpha5"] ``` For human-readable and developer-friendly exception messages, there is `reitit.dev.pretty/exception` (in the `reitit-dev` module). It is inspired by the lovely errors messages of [ELM](https://elm-lang.org/blog/compiler-errors-for-humans) and [ETA](https://twitter.com/jyothsnasrin/status/1037703436043603968) and uses [fipp](https://github.com/brandonbloom/fipp), [expound](https://github.com/bhb/expound) and [spell-spec](https://github.com/bhauman/spell-spec) for most of heavy lifting. diff --git a/doc/cljdoc.edn b/doc/cljdoc.edn index 5a8cfdc5c..54a29ddc6 100644 --- a/doc/cljdoc.edn +++ b/doc/cljdoc.edn @@ -1,18 +1,18 @@ {:cljdoc/include-namespaces-from-dependencies - [metosin/reitit - metosin/reitit-core - metosin/reitit-dev - metosin/reitit-ring - metosin/reitit-http - metosin/reitit-middleware - metosin/reitit-interceptors - metosin/reitit-spec - metosin/reitit-schema - metosin/reitit-swagger - metosin/reitit-swagger-ui - metosin/reitit-frontend - metosin/reitit-sieppari - metosin/reitit-pedestal + [fi.metosin/reitit + fi.metosin/reitit-core + fi.metosin/reitit-dev + fi.metosin/reitit-ring + fi.metosin/reitit-http + fi.metosin/reitit-middleware + fi.metosin/reitit-interceptors + fi.metosin/reitit-spec + fi.metosin/reitit-schema + fi.metosin/reitit-swagger + fi.metosin/reitit-swagger-ui + fi.metosin/reitit-frontend + fi.metosin/reitit-sieppari + fi.metosin/reitit-pedestal fi.metosin/reitit-openapi] :cljdoc.doc/tree [["Introduction" {:file "doc/README.md"}] diff --git a/doc/http/default_interceptors.md b/doc/http/default_interceptors.md index 946b8d244..546d06381 100644 --- a/doc/http/default_interceptors.md +++ b/doc/http/default_interceptors.md @@ -1,13 +1,13 @@ # Default Interceptors ```clj -[metosin/reitit-interceptors "0.7.0-alpha5"] +[fi.metosin/reitit-interceptors "0.7.0-alpha5"] ``` Just like the [ring default middleware](../ring/default_middleware.md), but for interceptors. ### Parameters handling -* `reitit.http.interceptors.parameters/parameters-interceptor` +* `reitit.http.interceptors.parameters/parameters-interceptor` ### Exception handling * `reitit.http.interceptors.exception/exception-interceptor` diff --git a/doc/http/interceptors.md b/doc/http/interceptors.md index aeca65bcf..f03048b18 100644 --- a/doc/http/interceptors.md +++ b/doc/http/interceptors.md @@ -5,7 +5,7 @@ Reitit has also support for [interceptors](http://pedestal.io/reference/intercep ## Reitit-http ```clj -[metosin/reitit-http "0.7.0-alpha5"] +[fi.metosin/reitit-http "0.7.0-alpha5"] ``` A module for http-routing using interceptors instead of middleware. Builds on top of the [`reitit-ring`](../ring/ring.md) module having all the same features. diff --git a/doc/http/pedestal.md b/doc/http/pedestal.md index 3c21b5bdb..7f268928d 100644 --- a/doc/http/pedestal.md +++ b/doc/http/pedestal.md @@ -3,7 +3,7 @@ [Pedestal](http://pedestal.io/) is a backend web framework for Clojure. `reitit-pedestal` provides an alternative routing engine for Pedestal. ```clj -[metosin/reitit-pedestal "0.7.0-alpha5"] +[fi.metosin/reitit-pedestal "0.7.0-alpha5"] ``` Why should one use reitit instead of the Pedestal [default routing](http://pedestal.io/reference/routing-quick-reference)? @@ -26,8 +26,8 @@ A minimalistic example on how to to swap the default-router with a reitit router ```clj ; [io.pedestal/pedestal.service "0.5.5"] ; [io.pedestal/pedestal.jetty "0.5.5"] -; [metosin/reitit-pedestal "0.7.0-alpha5"] -; [metosin/reitit "0.7.0-alpha5"] +; [fi.metosin/reitit-pedestal "0.7.0-alpha5"] +; [fi.metosin/reitit "0.7.0-alpha5"] (require '[io.pedestal.http :as server]) (require '[reitit.pedestal :as pedestal]) diff --git a/doc/http/sieppari.md b/doc/http/sieppari.md index 9f7e341ed..2a7683abc 100644 --- a/doc/http/sieppari.md +++ b/doc/http/sieppari.md @@ -1,7 +1,7 @@ # Sieppari ```clj -[metosin/reitit-sieppari "0.7.0-alpha5"] +[fi.metosin/reitit-sieppari "0.7.0-alpha5"] ``` [Sieppari](https://github.com/metosin/sieppari) is a new and fast interceptor implementation for Clojure, with pluggable async supporting [core.async](https://github.com/clojure/core.async), [Manifold](https://github.com/ztellman/manifold) and [Promesa](http://funcool.github.io/promesa/latest). diff --git a/doc/http/transforming_interceptor_chain.md b/doc/http/transforming_interceptor_chain.md index 1ca869b94..d232daf1b 100644 --- a/doc/http/transforming_interceptor_chain.md +++ b/doc/http/transforming_interceptor_chain.md @@ -65,7 +65,7 @@ There is an extra option in http-router (actually, in the underlying interceptor ### Printing Context Diffs ```clj -[metosin/reitit-interceptors "0.7.0-alpha5"] +[fi.metosin/reitit-interceptors "0.7.0-alpha5"] ``` Using `reitit.http.interceptors.dev/print-context-diffs` transformation, the context diffs between each interceptor are printed out to the console. To use it, add the following router option: diff --git a/doc/ring/default_middleware.md b/doc/ring/default_middleware.md index 2f501d2cb..51f35fb1d 100644 --- a/doc/ring/default_middleware.md +++ b/doc/ring/default_middleware.md @@ -1,7 +1,7 @@ # Default Middleware ```clj -[metosin/reitit-middleware "0.7.0-alpha5"] +[fi.metosin/reitit-middleware "0.7.0-alpha5"] ``` Any Ring middleware can be used with `reitit-ring`, but using data-driven middleware is preferred as they are easier to manage and in many cases yield better performance. `reitit-middleware` contains a set of common ring middleware, lifted into data-driven middleware. diff --git a/doc/ring/exceptions.md b/doc/ring/exceptions.md index a4376a5a7..bd4865b0d 100644 --- a/doc/ring/exceptions.md +++ b/doc/ring/exceptions.md @@ -1,7 +1,7 @@ # Exception Handling with Ring ```clj -[metosin/reitit-middleware "0.7.0-alpha5"] +[fi.metosin/reitit-middleware "0.7.0-alpha5"] ``` Exceptions thrown in router creation can be [handled with custom exception handler](../basics/error_messages.md). By default, exceptions thrown at runtime from a handler or a middleware are not caught by the `reitit.ring/ring-handler`. A good practice is to have a top-level exception handler to log and format errors for clients. diff --git a/doc/ring/ring.md b/doc/ring/ring.md index f94db5f75..52c6e5cab 100644 --- a/doc/ring/ring.md +++ b/doc/ring/ring.md @@ -5,7 +5,7 @@ Read more about the [Ring Concepts](https://github.com/ring-clojure/ring/wiki/Concepts). ```clj -[metosin/reitit-ring "0.7.0-alpha5"] +[fi.metosin/reitit-ring "0.7.0-alpha5"] ``` ## `reitit.ring/router` diff --git a/doc/ring/swagger.md b/doc/ring/swagger.md index d9bdad0bc..fcd0bc24c 100644 --- a/doc/ring/swagger.md +++ b/doc/ring/swagger.md @@ -1,7 +1,7 @@ # Swagger Support ``` -[metosin/reitit-swagger "0.7.0-alpha5"] +[fi.metosin/reitit-swagger "0.7.0-alpha5"] ``` Reitit supports [Swagger2](https://swagger.io/) documentation, thanks to [schema-tools](https://github.com/metosin/schema-tools) and [spec-tools](https://github.com/metosin/spec-tools). Documentation is extracted from route definitions, coercion `:parameters` and `:responses` and from a set of new documentation keys. @@ -47,7 +47,7 @@ If you need to post-process the generated spec, just wrap the handler with a cus [Swagger-ui](https://github.com/swagger-api/swagger-ui) is a user interface to visualize and interact with the Swagger specification. To make things easy, there is a pre-integrated version of the swagger-ui as a separate module. ``` -[metosin/reitit-swagger-ui "0.7.0-alpha5"] +[fi.metosin/reitit-swagger-ui "0.7.0-alpha5"] ``` `reitit.swagger-ui/create-swagger-ui-handler` can be used to create a ring-handler to serve the swagger-ui. It accepts the following options: diff --git a/doc/ring/transforming_middleware_chain.md b/doc/ring/transforming_middleware_chain.md index ff742c801..f8a018592 100644 --- a/doc/ring/transforming_middleware_chain.md +++ b/doc/ring/transforming_middleware_chain.md @@ -59,7 +59,7 @@ There is an extra option in the Ring router (actually, in the underlying middlew ### Printing Request Diffs ```clj -[metosin/reitit-middleware "0.7.0-alpha5"] +[fi.metosin/reitit-middleware "0.7.0-alpha5"] ``` Using `reitit.ring.middleware.dev/print-request-diffs` transformation, the request diffs between each middleware are printed out to the console. To use it, add the following router option: From f0f19c2dae3dbfa414cfdd352e88ce647672855b Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Mon, 11 Sep 2023 11:06:18 +0300 Subject: [PATCH 3/4] doc: mention group change in CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1f8084b9..9f839c24d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ We use [Break Versioning][breakver]. The version numbers follow a `. Date: Mon, 11 Sep 2023 11:08:41 +0300 Subject: [PATCH 4/4] doc: update cljdoc badge with new group --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 223d96c07..ccc31c486 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# reitit [![Build Status](https://github.com/metosin/reitit/workflows/testsuite/badge.svg)](https://github.com/metosin/reitit/actions?query=workflow%3Atestsuite) [![cljdoc badge](https://cljdoc.org/badge/metosin/reitit)](https://cljdoc.org/jump/release/metosin/reitit) [![Slack](https://img.shields.io/badge/clojurians-reitit-blue.svg?logo=slack)](https://clojurians.slack.com/messages/reitit/) +# reitit [![Build Status](https://github.com/metosin/reitit/workflows/testsuite/badge.svg)](https://github.com/metosin/reitit/actions?query=workflow%3Atestsuite) [![cljdoc badge](https://cljdoc.org/badge/metosin.fi/reitit)](https://cljdoc.org/jump/release/metosin.fi/reitit) [![Slack](https://img.shields.io/badge/clojurians-reitit-blue.svg?logo=slack)](https://clojurians.slack.com/messages/reitit/) A fast data-driven router for Clojure(Script).