Skip to content

Commit

Permalink
Update roadmap (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
abogoyavlensky authored Sep 28, 2024
1 parent 7f5be54 commit 8460d9e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
env:
DATABASE_HOST_PORT: "localhost:5555"
run: |
docker-compose up -d test-postgres
docker compose up -d test-postgres
make test-ci
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ test-ci:
@$(INFO) "Running tests..."
@clojure -X:dev:test :fail-fast? true

# Docker-compose
# Docker compose

.PHONY: up # Run db, testing db and db admin web UI locally for development
up:
@$(INFO) "Running db..."
@docker-compose up -d db test-postgres
@docker compose up -d db test-postgres


# Testing commands
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -726,21 +726,19 @@ $ java -jar target/standalone.jar
- [x] Auto-generated backward migration.
- [x] Field level CHECK constraints.
- [x] Leiningen support.
- [ ] Data-migration using Clojure.
- [ ] Support for SQLite.
- [ ] Support for SQLite/MySQL.
- [ ] Model level constraints.
- [ ] Optimized auto-generated SQL queries.
- [ ] Standalone tool using GraalVM.
- [ ] Visual representation of DB schema.
- [ ] Support for MySQL.


### Things still in design

- How to handle common configuration conveniently (separated edn file?)?
- More consistent and helpful messages for users, maybe using `fipp` library.
- Ability to separate models by multiple files.
- Move transformations out of clojure spec conformers.
- Try to replace `spec` with `malli`.
- Move transformations out of clojure spec conformers or replace `spec` with `malli`.
- Simplify model definition just as map with key `:type` instead of vector of 3 items.
- Disable field types validation at all, or add ability to set arbitrary custom type.
- Handle of model/field renaming.
Expand Down Expand Up @@ -779,9 +777,9 @@ mise install
### Run locally

```shell
make up # run docker-compose with databases for development
make up # run docker compose with databases for development
make repl # run builtin repl with dev aliases; also you could use any repl you want
make test # run whole tests locally against testing database started by docker-compose
make test # run whole tests locally against testing database started by docker compose
make fmt # run formatting in action mode
make lint # run linting
make outdated # run checking new versions of deps in force mode
Expand Down
10 changes: 5 additions & 5 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{:paths ["src"]
:deps {org.clojure/spec.alpha {:mvn/version "0.5.238"}
spec-dict/spec-dict {:mvn/version "0.2.1"}
com.github.seancorfield/honeysql {:mvn/version "2.6.1126"}
com.github.seancorfield/honeysql {:mvn/version "2.6.1161"}
com.github.seancorfield/next.jdbc {:mvn/version "1.3.939"}
weavejester/dependency {:mvn/version "0.2.1"}
differ/differ {:mvn/version "0.3.3"}
Expand All @@ -14,10 +14,10 @@

:aliases
{:dev {:extra-paths ["dev"]
:extra-deps {org.clojure/clojure {:mvn/version "1.11.3"}
:extra-deps {org.clojure/clojure {:mvn/version "1.12.0"}
org.clojure/tools.namespace {:mvn/version "1.5.0"}
hashp/hashp {:mvn/version "0.2.2"}
org.postgresql/postgresql {:mvn/version "42.7.3"}}}
org.postgresql/postgresql {:mvn/version "42.7.4"}}}

:test {:extra-paths ["test" "test/resources"]
:extra-deps {eftest/eftest {:mvn/version "0.6.0"}
Expand All @@ -26,9 +26,9 @@
:exec-args {:multithread? false
:test-warn-time 500}}

:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.8.1201"}
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.9.1232"}
; suppress logger output
org.slf4j/slf4j-nop {:mvn/version "2.0.13"}}
org.slf4j/slf4j-nop {:mvn/version "2.0.16"}}
:main-opts ["-m" "antq.core" "--no-diff"
"--exclude=io.github.seancorfield/build-clj"
"--exclude=net.clojars.abogoyavlensky/automigrate"]}
Expand Down

0 comments on commit 8460d9e

Please sign in to comment.