https://github.com/pmonks/clj-2253
A workaround for https://clojure.atlassian.net/browse/CLJ-2253
https://github.com/pmonks/clj-2253
clj-2253 clojure hack workaround
Last synced: 7 months ago
JSON representation
A workaround for https://clojure.atlassian.net/browse/CLJ-2253
- Host: GitHub
- URL: https://github.com/pmonks/clj-2253
- Owner: pmonks
- License: apache-2.0
- Created: 2018-06-28T05:05:59.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T19:21:12.000Z (over 2 years ago)
- Last Synced: 2025-02-17T02:46:35.882Z (over 1 year ago)
- Topics: clj-2253, clojure, hack, workaround
- Language: Clojure
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
| | | |
|---:|:---:|:---:|
| [**main**](https://github.com/pmonks/CLJ-2253/tree/main) | [](https://github.com/pmonks/CLJ-2253/actions?query=workflow%3Aci) | [](https://github.com/pmonks/CLJ-2253/actions?query=workflow%3Adependencies) |
| [**dev**](https://github.com/pmonks/CLJ-2253/tree/dev) | [](https://github.com/pmonks/CLJ-2253/actions?query=workflow%3ACI) | [](https://github.com/pmonks/CLJ-2253/actions?query=workflow%3Adependencies) |
[](https://clojars.org/com.github.pmonks/clj-2253/) [](https://github.com/pmonks/CLJ-2253/issues) [](https://github.com/pmonks/CLJ-2253/blob/main/LICENSE)
# CLJ-2253
This library implements a workaround for [CLJ-2253](https://clojure.atlassian.net/browse/CLJ-2253). Simply require (or use) this namespace before using `slurp` and you're done.
## Installation
CLJ-2253 is available as a Maven artifact from [Clojars](https://clojars.org/com.github.pmonks/clj-2253).
### Trying it Out
If you use the Clojure CLI tools:
```shell
$ clj -Sdeps '{:deps {com.github.pmonks/clj-2253 {:mvn/version "#.#.#"}}}' # Where #.#.# is replaced with an actual version number
```
If you use Leiningen:
```shell
$ lein try com.github.pmonks/clj-2253
```
Either way, you will be dropped in a REPL with the library downloaded and ready for use.
## Usage
The functionality is provided by a single namespace, `CLJ-2253`, that will work its hacky magic as soon as it's `require`d.
Require it in the REPL:
```clojure
(require '[CLJ-2253])
```
Require it in your project:
```clojure
(ns my-app.core
(:require [CLJ-2253]))
```
## Contributor Information
[Contributing Guidelines](https://github.com/pmonks/CLJ-2253/blob/main/.github/CONTRIBUTING.md)
[GitHub project](https://github.com/pmonks/CLJ-2253)
[Bug Tracker](https://github.com/pmonks/CLJ-2253/issues)
### Developer Workflow
This project uses the [git-flow branching strategy](https://nvie.com/posts/a-successful-git-branching-model/), with the caveat that the permanent branches are called `main` and `dev`, and any changes to the `main` branch are considered a release and auto-deployed (JARs to Clojars, API docs to GitHub Pages, etc.).
For this reason, **all development must occur either in branch `dev`, or (preferably) in temporary branches off of `dev`.** All PRs from forked repos must also be submitted against `dev`; the `main` branch is **only** updated from `dev` via PRs created by the core development team. All other changes submitted to `main` will be rejected.
### Why are there so many different groupIds on Clojars for this project?
The project was originally developed under my personal GitHub account. In 2018 it was transferred to the `clj-commons` GitHub organisation, but then, as that group refined their scope and mission, it was determined that it no longer belonged there, and the project were transferred back in late 2021. During this time the build tooling for the project also changed from Leiningen to tools.build, which created further groupId churn (tools.build introduced special, useful semantics for `com.github.username` groupIds that don't exist with Leiningen or Clojars).
## License
Copyright 2018 Peter Monks
Distributed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
SPDX-License-Identifier: [Apache-2.0](https://spdx.org/licenses/Apache-2.0)
### Dependency Licenses
To see the licenses for all dependencies used by this project, please run:
```shell
$ clj -T:build licenses
```
To see each dependency and its license(s) in detail, run:
```shell
$ clj -T:build licenses :output :detailed
```