Which one is the sourcecode of the bash clojure command?

I wanted to see the commit history of the clojure script to understand it better but I found 3 versions of the same file in 3 different repositories looking for the text JAVA_CMD:

So, which one is the one will be installed in my machine if I follow the installing instructions for Linux?

A slightly massaged version of https://github.com/clojure/brew-install/blob/1.10.1/src/main/resources/clojure that has PREFIX and ${project.version} replaced by actual values.

The *-api-doc projects are just how the API docs get built and they both happen to have older versions of clojure installed (which have already had those variables replaced).

2 Likes

BTW, I was expecting the brew-install repository to be exclusively of Mac, because the ā€œbrewā€ and it’s README.

As they said, naming is the hardest part of programming. Probably nobody was thinking those scripts to be used outside of Mac.

How can I submit an Issue in that repository for suggesting a modification in the README?

If you don’t already have a JIRA account, you can submit a ticket for any Clojure/Contrib project through the ā€œClojure Help Deskā€ and see also https://clojure.org/dev/creating_tickets (the third para is incorrect: you don’t need a JIRA account to create a ticket but the first para is correct).

That said, the core team know the repo has a misleading name :slight_smile:

2 Likes

You can just tell me here and I’ll change if that’s easier. :slight_smile:

Eventually I will probably get around to renaming the brew-install repo - originally things were split up differently and that ended up being where the work happened. Changing the name will break the build and release infrastructure so I’m not eagerly looking forward to that.

Regarding the ticket process, I’ll correct Sean a bit here (that page is out of date though and I’ll update).

The preferred mechanism to discuss a problem is to ask a question on the https://ask.clojure.org site and tag it with ā€˜problem’ tag. We will assess and, if necessary, a dev will file a jira for you.

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.