Tool that provides convenient version management webapp. It is based on Play framework, akka and Scala.
It provides 5 views:
- Main view: list of the repositories
- Repository Details: all the versions and plugins of a given repository
- Dependencies: list of the dependencies
- Dependency Details: all the repositories using the dependency
- Plugin Details: all the repositories using the plugin
JDK 17 is required.
First, you have to add a set of env variables:
Variable name | description | example |
---|---|---|
GITLAB_URL | url of the gitlab | "https://gitlab.ekino.com" |
GITLAB_USER | gitlab user | "philippe.agra" |
GITLAB_TOKEN | gitlab api token | "XxXxXxXxXxXxXxXxXxXx" |
GITLAB_GROUP_IDS | gitlab group ids | "1524,626" |
GITHUB_USER | github user | "philippeagra" |
GITHUB_TOKEN | github api token | "XxXxXxXxXxXxXxXxXxXx" |
GITHUB_USERS | github users | "ekino,philippeagra" |
LOCAL_REPOSITORY_URL | nexus url | "https://nexus.ekino.com/repository/public-mfg/" |
LOCAL_REPOSITORY_USER | nexus user | "philippe.agra" |
LOCAL_REPOSITORY_PASSWORD | nexus password | "XxXxXxXx" |
Then run the application with Gradle
./gradlew -t runPlay
Test the application on url http://localhost:9000/
$ ./gradlew build
$ unzip build/distributions/ekino-tools-version.zip -d build/distributions
$ ./build/distributions/ekino-tools-version/bin/main
Test the application on url http://localhost:9000/
$ ./gradlew build
$ docker build . -t ekino-tools-version
$ docker run -ti --env-file credentials-docker --rm -p "8080:8080" -v "/tmp/versions:/tmp/versions" ekino-tools-version
Test the application on url http://localhost:8080/
You can also use sbt instead of gradle. It offers a better integration with intelliJ and allows debug.
If you do not want to clone the repositories with git you can also specify the local paths of the repositories :
project {
repositories{
local-paths = ["/path/to/repo1", "/path/to/repo2"]
}
}