practicalli / practicalli/clojure

Hot loading of dependencies - Clojure CLI tools

Open
#26 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clojure cli
Dominant language
Makefile
Stars
117
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Example of a work around for conflicts with Jackson library

clj -A:deps -Sdeps '{:deps {com.fasterxml.jackson.core/jackson-core {:mvn/version "2.7.5"}}}'

Clojure 1.10.1
user=> (require '[clojure.tools.deps.alpha.repl :refer [add-lib]])
nil
user=> (add-lib 'cheshire {:mvn/version "5.6.3"})
true
user=> (require 'cheshire.core)
nil
user=> 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the clj -A:deps -Sdeps example and the Clojure REPL calls to add-lib and require cheshire.core. Define the expected hot-loading behavior for Clojure CLI tools and verify it against the Jackson conflict example; the issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.