Request for advice: packaging

111 views
Skip to first unread message

dmiller2718

unread,
Jul 4, 2020, 6:44:01 PM7/4/20
to clojure-clr
I'm at the final stage of preparing for a release of ClojureCLR version 1.10 targeting .Net Framework 4.6.1 and .Net Core 3.1.

I could use some community input on packaging.

To date, I've been delivering ClojureCLR two ways:
  • a nuget package
  • zipfiles on sourceforge
The nuget package is best for those doing 'traditional' development on .net, using ClojureCLR as a library.  However, I've overpackaged it (all referenced libraries are included) and put Clojure.Main.exe and Clojure.Compile.exe in the tools\ folder.  That way one can grab the package, dump the executable of choice in with the DLLs in lib\ and run Clojure.

The zipfiles have all you need to run the Clojure REPL straight up -- extract and go.

Are these serving the purpose, or should I supply other modes of distribution.
For example, I could build an installer app.  I could register it with one of the many Windows package managers. (Scoop, Chocolaty, OneGet, AppGet,  the preview Winget, -- how deep do you want go down this rabbit hole?)
Of course, that would be of use for the Windows crowd?  What about Mac/Linux users?

What do you use now?
What would work better for you?


(In the long run, I'd like to replicate clj and deps.edn, but that's a long-term project.)

-David


Pankaj Doharey

unread,
Jul 4, 2020, 11:12:44 PM7/4/20
to clojure-clr
I have used both and zip file releases on GitHub is most preferable. I rarely use sourceforge now. 

Ryan Riley

unread,
Jul 5, 2020, 9:08:11 AM7/5/20
to dmiller2718, clojure-clr
A dotnet tool would be useful. https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create

It is packaged similar to the NuGet package but with a few differences in the project file. I’ve done this in the past by just creating another project file with the differences and generating the package separately. This will allow users on any platform to use the netcore version.

Sent from my iPhone

On Jul 4, 2020, at 17:44, dmiller2718 <dmill...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "clojure-clr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-clr/31f2befc-c8a5-445f-a1ef-6a67e908cb6fo%40googlegroups.com.

dmiller2718

unread,
Jul 9, 2020, 10:08:34 PM7/9/20
to clojure-clr
I was not aware this had opened up to non-MS folks.
This looks like a great addition.
On it.
Thx.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr+unsubscribe@googlegroups.com.

Steve Suehs

unread,
Jul 20, 2020, 5:21:39 PM7/20/20
to clojure-clr
I reach for nuget on reflex now.

Thank you for all of your hard work on ClojureCLR.

The directories and paths problem (load path? compile path? no, the other path...) has stymied my use of ClojureCLR.  I am looking forward to pointing at some dependencies and generating wrapper code.  

dmiller2718

unread,
Jul 20, 2020, 6:34:56 PM7/20/20
to clojure-clr
I think I have this problem solved on the working branch (newframework).
Hope to have something out for testing by the end of the week.
Specifics on your scenario would be helpful.
Reply all
Reply to author
Forward
0 new messages