Fork me on GitHub
#clojure-europe
<
2021-11-23
>
kardan11:11:36

Good afternoon

otfrom11:11:00

What are the reasons for releasing to clojars rather than just something like GitHub?

borkdude11:11:18

you mean mvn deps vs git deps?

borkdude11:11:49

I don't think there's really a need to release as mvn dep anymore if your lib is purely source based, you can mark a git dep as stable using a tag

borkdude11:11:34

But if your lib contains .class files for example, you typically don't check these into source control (but some do)

javahippie11:11:51

From the maintainers side I tend to agree, but what about immutability and trust? GitHub Repos can be deleted, Tags can be moved :thinking_face:

javahippie11:11:44

Commit Hashes are fixed, of course

borkdude11:11:03

If you don't trust, fork.

pez12:11:12

Forks are deleted with their upstream repos, aren’t they?

borkdude12:11:21

Uuuuh, I hope not?

borkdude12:11:05

> When you delete a public repository, one of the existing public forks is chosen to be the new parent repository. All other repositories are forked off of this new parent and subsequent pull requests go to this new parent.

pez12:11:10

Ah, yes, it’s for private repos where the forks are also deleted.

mpenet11:11:50

that'd exclude all the lein users (the majority of clojure users), I personally always deploy to clojars

☝️ 2
3
mpenet11:11:14

in some context there are also super strict vetting rules, ex: can't pull anything from the outside world unless it's audited. Very often process exist for mvn hosted artifacts (ex mirroring), with git based deps it requires a bit more work to setup, it's not that bad but you end up having to maintain both

otfrom13:11:58

Those are good reasons

otfrom13:11:15

And gives me a good way to think about the options

otfrom13:11:57

I think most of my stuff will work from git deps.

otfrom13:11:10

Can artefacts be deleted from clojars?

otfrom13:11:26

It must be possible for IP law reasons

otfrom13:11:37

Even if that is manual and painful

borkdude13:11:10

they can, by request.

👍 1
slipset16:11:49

As a publisher of quite a few libs I publish to clojars as a service to lein users.

lread16:11:30

Good morning

borkdude17:11:56

^:good #{:morning :afternoon :evening}

pez17:11:13

date -u +'%H:%M' | bb -i -e '(str "The time is " (first *input*) ". Good morning!")'

babashka 3
pez17:11:27

Am I the only one who would want to use -ie as a combo for the options?

2