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

Automate PlantUML JAR download #43

Open
asgrim opened this issue Mar 17, 2022 · 4 comments
Open

Automate PlantUML JAR download #43

asgrim opened this issue Mar 17, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@asgrim
Copy link
Member

asgrim commented Mar 17, 2022

Since the JAR filenames do not appear to be deterministic, manual update of the bundled JAR is currently needed.

You can download the latest JAR from https://github.com/plantuml/plantuml/releases.

We should figure out a way of automating the download of the JAR.

@ciaranmcnulty
Copy link
Collaborator

The public API has a sensible JSON object representing the latest release

curl https://api.github.com/repos/plantuml/plantuml/releases/latest | grep 'browser_download_url' | awk '{print $2}'

This and some regex may be enough? Or some jq cleverness

@asgrim
Copy link
Member Author

asgrim commented Mar 23, 2022

Hmm, that gets us a little closer sure, but we'd need to find which of the assets is the right one we want (i.e. plantuml-1.2022.2.jar) which is also not deterministic :/

@Ocramius
Copy link
Member

@asgrim
Copy link
Member Author

asgrim commented Mar 23, 2022

https://launchpad.net/ubuntu/+source/plantuml maybe? :|

this one looks way outdated :/

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

No branches or pull requests

3 participants