From 967b6eea72afc4e2b369f162299ee102097e4b20 Mon Sep 17 00:00:00 2001 From: Sam Ritchie Date: Mon, 24 Feb 2025 21:38:23 -0700 Subject: [PATCH] change inferenceql namespace to chisym (#73) --- .clj-kondo/config.edn | 2 +- .gitignore | 6 +++--- DEVELOPING.md | 16 ++++++++-------- README.md | 22 +++++++++++----------- build.clj | 8 ++++---- dev/user.clj | 2 +- src/gen/dynamic.cljc | 2 +- template/pom.xml | 10 +++++----- 8 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.clj-kondo/config.edn b/.clj-kondo/config.edn index b8597c2..5b9fd8b 100644 --- a/.clj-kondo/config.edn +++ b/.clj-kondo/config.edn @@ -1 +1 @@ -{:config-paths ["../resources/clj-kondo.exports/io.github.inferenceql/gen.clj"]} +{:config-paths ["../resources/clj-kondo.exports/io.github.chisym/gen.clj"]} diff --git a/.gitignore b/.gitignore index 3af6366..538d52e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ *.class *.jar -.clj-kondo/.lock -.clj-kondo/inline-configs -.clj-kondo/.cache +.lsp +.clj-kondo +.vscode public/ .clerk/ .cpcache/ diff --git a/DEVELOPING.md b/DEVELOPING.md index 7465181..bc13b17 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -6,7 +6,7 @@ ## Github Pages, docs notebook -The project's [Github Pages site](https://inferenceql.github.io/gen.clj) hosts +The project's [Github Pages site](https://chisym.github.io/gen.clj) hosts an interactive [Clerk](https://github.com/nextjournal/clerk) notebook demonstrating the library's use. @@ -41,19 +41,19 @@ To build and release to Github Pages: bb release-gh-pages ``` -This will ship the site to https://inferenceql.github.io/gen.clj. +This will ship the site to https://chisym.github.io/gen.clj. ## Publishing to Clojars The template for the project's `pom.xml` lives at -[`template/pom.xml`](https://github.com/InferenceQL/gen.clj/blob/main/template/pom.xml). +[`template/pom.xml`](https://github.com/ChiSym/gen.clj/blob/main/template/pom.xml). To create a new release: - Update the version in - [build.clj](https://github.com/InferenceQL/gen.clj/blob/main/build.clj) + [build.clj](https://github.com/ChiSym/gen.clj/blob/main/build.clj) - Make a new [Github - Release](https://github.com/InferenceQL/gen.clj/releases) with tag + Release](https://github.com/ChiSym/gen.clj/releases) with tag `v`. Submitting the release will create the new tag and trigger the following @@ -68,8 +68,8 @@ The new release will appear on Clojars. ## Publishing JS > **Note** -> To publish `emmy-viewers` JS, you must be part of the [InferenceQL -> GitHub organization](https://github.com/inferenceql). +> To publish `emmy-viewers` JS, you must be part of the [ChiSym +> GitHub organization](https://github.com/chisym). - Create a classic personal access token with `read:org` permissions. - Add a line like this to your bash profile: @@ -85,7 +85,7 @@ Run the following code with the `:nextjournal/clerk` alias activated: (b/release->cas! {:cljs-namespaces '[gen.sci-extensions] - :cas-namespace "inferenceql" + :cas-namespace "chisym" :prefix "gen.clj" :token (System/getenv "GITHUB_TOKEN")}) ``` diff --git a/README.md b/README.md index 51923eb..4c14bba 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ install Gen.clj, add the following entry to your `deps.edn` under the `:deps` key: ``` clojure -io.github.inferenceql/gen.clj {:git/url "https://github.com/inferenceql/gen.clj" +io.github.chisym/gen.clj {:git/url "https://github.com/chisym/gen.clj" :git/sha "3283de82c2b25870b530c22948ac3cdc1b6996d4"} ``` @@ -45,7 +45,7 @@ io.github.inferenceql/gen.clj {:git/url "https://github.com/inferenceql/gen.clj" The project's [interactive documentation][gen-clj-url] was generated from the notebooks in the -[`examples`](https://github.com/InferenceQL/gen.clj/tree/main/examples) +[`examples`](https://github.com/ChiSym/gen.clj/tree/main/examples) directory using Nextjournal's [Clerk][clerk-url]. If you'd like to edit or play with the documentation or demos, you'll need to install @@ -55,7 +55,7 @@ with the documentation or demos, you'll need to install Next, clone the repository: ```bash -git clone git@github.com:InferenceQL/gen.clj.git +git clone git@github.com:ChiSym/gen.clj.git cd gen.clj ``` @@ -67,7 +67,7 @@ bb clerk-watch This will open a browser window to `http://localhost:7777` with the contents of the ["Introduction to Modeling in -Gen.clj"](https://github.com/InferenceQL/gen.clj/blob/main/examples/intro_to_modeling.clj) +Gen.clj"](https://github.com/ChiSym/gen.clj/blob/main/examples/intro_to_modeling.clj) notebook loaded. Any edits you make to `examples/intro_to_modeling.clj` on your filesystem will update this page, and editing any other file in `examples`, like `examples/introduction.clj`, will load that file's namespace into the browser. @@ -109,14 +109,14 @@ If you use Gen in your research, please cite our PLDI paper: Distributed under the [Apache 2.0](LICENSE) license. See [LICENSE](LICENSE). -[build-status-url]: https://github.com/InferenceQL/gen.clj/actions/workflows/tests.yaml?query=branch%3Amain -[build-status]: https://github.com/InferenceQL/gen.clj/workflows/tests/badge.svg?branch=main +[build-status-url]: https://github.com/ChiSym/gen.clj/actions/workflows/tests.yaml?query=branch%3Amain +[build-status]: https://github.com/ChiSym/gen.clj/workflows/tests/badge.svg?branch=main [clerk-url]: https://github.com/nextjournal/clerk -[codecov-url]: https://codecov.io/github/inferenceql/gen.clj -[codecov]: https://img.shields.io/codecov/c/github/inferenceql/gen.clj/main.svg?maxAge=3600 +[codecov-url]: https://codecov.io/github/chisym/gen.clj +[codecov]: https://img.shields.io/codecov/c/github/chisym/gen.clj/main.svg?maxAge=3600 [experimental-badge]: https://img.shields.io/badge/stability-experimental-orange.svg -[gen-clj-url]: https://github.clerk.garden/inferenceql/gen.clj +[gen-clj-url]: https://github.clerk.garden/chisym/gen.clj [license-url]: LICENSE [license]: https://img.shields.io/badge/License-Apache_2.0-brightgreen.svg -[linter-url]: https://github.com/InferenceQL/gen.clj/actions/workflows/linter.yaml?query=branch%3Amain -[linter]: https://github.com/InferenceQL/gen.clj/workflows/linter/badge.svg?branch=main +[linter-url]: https://github.com/ChiSym/gen.clj/actions/workflows/linter.yaml?query=branch%3Amain +[linter]: https://github.com/ChiSym/gen.clj/workflows/linter/badge.svg?branch=main diff --git a/build.clj b/build.clj index c7805d3..34c52b5 100644 --- a/build.clj +++ b/build.clj @@ -22,7 +22,7 @@ ;; ## Variables -(def lib 'io.github.inferenceql/gen.clj) +(def lib 'io.github.chisym/gen.clj) (def version "0.1.0") (def pom-deps @@ -70,9 +70,9 @@ :version version :scm {:tag (str "v" version) - :connection "scm:git:git://github.com/InferenceQL/gen.clj.git" - :developConnection "scm:git:ssh://git@github.com/InferenceQL/gen.clj.git" - :url "https://github.com/InferenceQL/gen.clj"} + :connection "scm:git:git://github.com/ChiSym/gen.clj.git" + :developConnection "scm:git:ssh://git@github.com/ChiSym/gen.clj.git" + :url "https://github.com/ChiSym/gen.clj"} :basis basis :src-pom "template/pom.xml" :src-dirs ["src"]}) diff --git a/dev/user.clj b/dev/user.clj index 7b2d366..9f72d84 100644 --- a/dev/user.clj +++ b/dev/user.clj @@ -26,7 +26,7 @@ (assoc defaults :browse? false :paths notebooks - :git/url "https://github.com/InferenceQL/gen.clj")) + :git/url "https://github.com/ChiSym/gen.clj")) (defn serve! ([] (serve! {})) diff --git a/src/gen/dynamic.cljc b/src/gen/dynamic.cljc index 7658ab4..38ad750 100644 --- a/src/gen/dynamic.cljc +++ b/src/gen/dynamic.cljc @@ -462,7 +462,7 @@ ;; The following two functions use a brittle form of macro-rewriting; we should ;; really look at the namespace and local macro environments to try and see if a ;; particular symbol is bound to `#'gen.dynamic/{trace!,splice!}`. See -;; https://github.com/InferenceQL/gen.clj/issues/42. +;; https://github.com/ChiSym/gen.clj/issues/42. (defn trace-form? "Returns true if `form` is a trace form." diff --git a/template/pom.xml b/template/pom.xml index a421142..d2f03db 100644 --- a/template/pom.xml +++ b/template/pom.xml @@ -3,11 +3,11 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.github.inferenceql + io.github.chisym gen.clj gen.clj A general-purpose probabilistic programming system with programmable inference. - https://github.com/InferenceQL/gen.clj + https://github.com/ChiSym/gen.clj Apache License, Version 2.0 @@ -27,8 +27,8 @@ - https://github.com/InferenceQL/gen.clj - scm:git:git://github.com/InferenceQL/gen.clj.git - scm:git:ssh://git@github.com/InferenceQL/gen.clj.git + https://github.com/ChiSym/gen.clj + scm:git:git://github.com/ChiSym/gen.clj.git + scm:git:ssh://git@github.com/ChiSym/gen.clj.git