-
Couldn't load subscription status.
- Fork 130
Initial support for the 'jena' candidate #615
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| package io.sdkman.changelogs | ||
|
|
||
| import com.github.mongobee.changeset.{ChangeLog, ChangeSet} | ||
| import com.mongodb.client.MongoDatabase | ||
| import org.bson.Document | ||
|
|
||
| @ChangeLog(order = "100") | ||
| class JenaMigrations { | ||
|
|
||
| val CandidateName = "jena" | ||
|
|
||
| @ChangeSet( | ||
| order = "001", | ||
| id = "001-add_jena_candidate", | ||
| author = "berezovskyi" | ||
| ) | ||
| def migration001(implicit db: MongoDatabase): Candidate = { | ||
| Candidate( | ||
| candidate = CandidateName, | ||
| name = "Apache Jena", | ||
|
||
| description = | ||
| "Apache Jena (or Jena in short) is a free and open source Java framework for building semantic web and Linked Data applications. The framework is composed of different APIs and CLI tools interacting together to process RDF data.", | ||
|
||
| websiteUrl = "https://jena.apache.org/" | ||
| ).insert() | ||
| } | ||
| @ChangeSet( | ||
| order = "003", | ||
| id = "003-add_jena_versions", | ||
| author = "berezovskyi" | ||
| ) | ||
| def migration003(implicit db: MongoDatabase): Document = { | ||
| List( | ||
| "2.12.1", | ||
| "2.13.0", | ||
| "3.0.1", | ||
| "3.1.1", | ||
| "3.2.0", | ||
| "3.3.0", | ||
| "3.4.0", | ||
| "3.5.0", | ||
| "3.6.0", | ||
| "3.7.0", | ||
| "3.8.0", | ||
| "3.9.0", | ||
| "3.10.0", | ||
| "3.11.0", | ||
| "3.12.0", | ||
| "3.13.1", | ||
| "3.14.0", | ||
| "3.15.0", | ||
| "3.16.0", | ||
| "3.17.0", | ||
| "4.0.0", | ||
| "4.1.0", | ||
| "4.2.0", | ||
| "4.3.0", | ||
| "4.3.1", | ||
| "4.3.2", | ||
| "4.4.0", | ||
| "4.5.0", | ||
| "4.6.0", | ||
| "4.6.1" | ||
| ).map( | ||
| version => | ||
| Version( | ||
| candidate = CandidateName, | ||
| version = version, | ||
| url = | ||
| s"http://archive.apache.org/dist/jena/binaries/apache-jena-$version.zip" | ||
| ) | ||
| ) | ||
| .validate() | ||
| .insert() | ||
| setCandidateDefault(CandidateName, "4.6.1") | ||
| } | ||
|
|
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When last I counted, we only had 73.