Fork me on GitHub
#clojure-dev
<
2018-02-28
>
bhauman16:02:24

Question should I add a group-id of "com.bhauman" to rebel-readline?

dpsutton16:02:58

why not just bhauman?

bhauman16:02:41

just to follow the owning the domain convention

gfredericks16:02:55

definitely buy the bhauman TLD

bhauman16:02:22

Oh I'm not gonna buy that garbage

arrdem17:02:32

so I follow the reverse dns convention for naming maven artifacts, and then name my namespace whatever I want.

arrdem17:02:41

just as a data point

gfredericks17:02:33

@arrdem reasoning that maven group-ids have wider exposure than clojure namespaces?

arrdem17:02:02

yeah and I frequently fork stuff into my own address space

bhauman17:02:12

do you have an example? so I can get the gist of what you're saying @arrdem

bronsa17:02:32

@bhauman take clojure, it’s released as org.clojure/clojure but the ns segment is just clojure.

arrdem17:02:37

@bhauman my maven artifact is me.arrdem/foo which contains foo.core

gfredericks17:02:59

arguably clojure is a special case in the context of clojure

gfredericks17:02:36

I guess it does leak into java packages?

arrdem17:02:49

technically all namespaces do

gfredericks17:02:58

it's at least a whole language though, rather than a library

bhauman17:02:00

OK this is what I'll do

ghadi17:02:42

namespaces do not correspond to packages

ghadi17:02:59

at a bytecode level at least

ghadi17:02:06

Semantically sorta

gfredericks17:02:59

my point was that if you make a namespaced called jello, you will be putting things into the jello package

gfredericks17:02:30

so you couldn't say that only clojure users notice the use the of the clojure name

danielcompton20:02:46

@bhauman I'd say yes to your original question of adding a group-id to rebel-readline

bhauman20:02:11

well thats encouraging

alexmiller20:02:32

for sure. everyone should always use groupIds imo

hiredman20:02:59

I know a lot of clojure tools would have trouble with it, but I wonder if maven would allow a tag uri for a group-id

alexmiller20:02:05

they expect it to follow the java package name rules

hiredman20:02:10

the other great thing about always using group-ids is, if you use lein, it gets rid of the ubiquitous *.core namespace

hiredman20:02:53

lein new foo/bar creates a project with a group id of foo and an artifact id of bar, and the starter namespace it generates is foo.bar