Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download links on the web page should point to the binaries #18

Open
mardukbp opened this issue Aug 20, 2018 · 5 comments
Open

Download links on the web page should point to the binaries #18

mardukbp opened this issue Aug 20, 2018 · 5 comments
Assignees

Comments

@mardukbp
Copy link

Currently they point to the source code, but my guess is that most people will want to use SSJ, not hack on it.

@chwyean
Copy link
Member

chwyean commented Aug 20, 2018

Hi @mardukbp
Which download links are you referring to?
The links to the binaries are in the "releases" tab: https://github.com/umontreal-simul/ssj/releases

If you're referring to the green button "Clone or download", then it is normal. It is to download the git repository.

@mardukbp
Copy link
Author

I mean the links in the header of the website http://umontreal-simul.github.io/ssj/

I believe that is the entry point for users, as opposed to GitHub, which is the entry point for devs.

I installed SSJ from the releases tab, but I believe one should be able to download the release directly from the front page.

@chwyean
Copy link
Member

chwyean commented Aug 20, 2018

I see what you mean. And the download buttons are not descriptive enough (is it the source or jar?).
Thanks for your feedback.

@pierrelecuyer : What do you think?
We could link the buttons directly to the zip and tar.bz2 files (but need to update the link at each new version).
Or we can replace them by a button "Download binary files" that opens https://github.com/umontreal-simul/ssj/releases

@mardukbp
Copy link
Author

The link for the latest release can be obtained programatically using the GitHub API:

`which curl` --silent https://api.github.com/repos/umontreal-simul/ssj/releases/latest | `which awk` '/browser_download_url/ { print $2 }' | `which sed` 's/"//g'

Returns

https://github.com/umontreal-simul/ssj/releases/download/v3.2.1/ssj-3.2.1.tar.bz2
https://github.com/umontreal-simul/ssj/releases/download/v3.2.1/ssj-3.2.1.zip

@pierrelecuyer
Copy link
Member

pierrelecuyer commented Aug 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants