SteveParson / xubuntu-18.04-dev-box

Provision a fresh install of Xubuntu for a developer
MIT License
9 stars 3 forks source link

FEATURE: Automatically download the latest versions of IntelliJ IDEA and Pycharm #5

Closed SteveParson closed 5 years ago

SteveParson commented 5 years ago

Is your feature request related to a problem? Please describe. Currently, IntelliJ IDEA and Pycharm are being downloaded from fixed URLs.

Describe the solution you'd like I would like this link to be scraped for the correct download link to the latest version. Ditto for Pycharm. They could be extracted to static names in /usr/local/bin, such as:

Describe alternatives you've considered This is just nice-to-have, but would be easy to implement.

SteveParson commented 5 years ago

Unfortunately, the product website uses some Javascript to create the links. You could use Selenium to get the latest links, but there is an easier way.

Use whatever you want to parse the JSON from the links below

Pass the results of your script to Ansible, so that it can download the IDEs. Consider extracting to a static directory name like idea instead of ideaIC-2019.1, since we intend to add shortcuts to the desktop for both of these IDEs. In that case, the directory names won't change, so the shortcuts can be a static file.

raunaqness commented 5 years ago

@SteveParson I'm interested in this. Can i contribute?

SteveParson commented 5 years ago

One of the PRs (which I haven't finished reviewing) have changed this to use the snap package instead, which is a pretty good solution. I will most likely go with that, but if you have any other ideas I'd be happy to hear them.

raunaqness commented 5 years ago

I was thinking of going with apt (or something similar). Let me know If the PR does not work out for you or If I can help out some other way. Thanks!

SteveParson commented 5 years ago

Fixed in https://github.com/SteveParson/xubuntu-18.04-dev-box/pull/9