marklogic-community / RunDMC

MarkLogic application for running a developer site
http://developer.marklogic.com/code/rundmc
Other
17 stars 18 forks source link

Provide full command line for curl downloads #499

Open dmcassel opened 9 years ago

dmcassel commented 9 years ago

When using the curl download, it's easy to forget to wrap the URL in quotes. Failing to do so on Linux results in errors, because the ampersand splits the URL and sends an incomplete command to the background.

Resolution: instead of just giving the URL, provide the complete curl command.

Need to check how cross-platform friendly this will be. If needed, might offer complete Windows-friendly command line when downloading .msi, Linux-friendly when downloading .rpm, and Mac-friendly when downloading .dmg.

dsokolsky commented 9 years ago

I think @kcoleman-marklogic has done some of this is our REST examples, maybe she has some suggestions?

djdman2000 commented 8 years ago

+1 Updating to something like the following, would be very helpful. curl -o MarkLogic-RHEL6-8.0-5.4.x86_64.rpm 'https://developer.marklogic.com/download/binaries/8.0/MarkLogic-RHEL6-8.0-5.4.x86_64.rpm?t=uniqueCode&email=emailAddress' Don't think many people use curl on non-Linux platforms.