Skip to content

Commit

Permalink
change inferenceql namespace to chisym
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie committed Feb 17, 2025
1 parent 69e9608 commit d691a9c
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{:config-paths ["../resources/clj-kondo.exports/io.github.inferenceql/gen.clj"]}
{:config-paths ["../resources/clj-kondo.exports/io.github.chisym/gen.clj"]}
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
*.class
*.jar
.clj-kondo/.lock
.clj-kondo/inline-configs
.clj-kondo/.cache
.lsp
.clj-kondo
.vscode
public/
.clerk/
.cpcache/
Expand Down
16 changes: 8 additions & 8 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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<the-new-version>`.

Submitting the release will create the new tag and trigger the following
Expand All @@ -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:
Expand All @@ -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")})
```
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ 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"}
```

### Learn

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

Expand All @@ -55,7 +55,7 @@ with the documentation or demos, you'll need to install
Next, clone the repository:

```bash
git clone [email protected]:InferenceQL/gen.clj.git
git clone [email protected]:ChiSym/gen.clj.git
cd gen.clj
```

Expand All @@ -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.
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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://[email protected]/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://[email protected]/ChiSym/gen.clj.git"
:url "https://github.com/ChiSym/gen.clj"}
:basis basis
:src-pom "template/pom.xml"
:src-dirs ["src"]})
Expand Down
2 changes: 1 addition & 1 deletion dev/user.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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! {}))
Expand Down
2 changes: 1 addition & 1 deletion src/gen/dynamic.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
10 changes: 5 additions & 5 deletions template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.inferenceql</groupId>
<groupId>io.github.chisym</groupId>
<artifactId>gen.clj</artifactId>
<name>gen.clj</name>
<description>A general-purpose probabilistic programming system with programmable inference.</description>
<url>https://github.com/InferenceQL/gen.clj</url>
<url>https://github.com/ChiSym/gen.clj</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
Expand All @@ -27,8 +27,8 @@
</developer>
</developers>
<scm>
<url>https://github.com/InferenceQL/gen.clj</url>
<connection>scm:git:git://github.com/InferenceQL/gen.clj.git</connection>
<developerConnection>scm:git:ssh://[email protected]/InferenceQL/gen.clj.git</developerConnection>
<url>https://github.com/ChiSym/gen.clj</url>
<connection>scm:git:git://github.com/ChiSym/gen.clj.git</connection>
<developerConnection>scm:git:ssh://[email protected]/ChiSym/gen.clj.git</developerConnection>
</scm>
</project>

0 comments on commit d691a9c

Please sign in to comment.