Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.01 KB

tunnel-java-db

Overview

tunnel-java-db parses all indexes from maven repository and stores ArtifactID, GroupID, Version and sha1 for jar files to SQlite DB.

The DB is used in Tunnel to discover information about jars without GAV inside them.

Update interval

Every Thursday in 00:00

Download the java indexes database

You can download the actual compiled database via Tunnel or Oras CLI.

Tunnel:

TUNNEL_TEMP_DIR=$(mktemp -d)
tunnel --cache-dir $TUNNEL_TEMP_DIR image --download-java-db-only
tar -cf ./javadb.tar.gz -C $TUNNEL_TEMP_DIR/java-db metadata.json tunnel-java.db
rm -rf $TUNNEL_TEMP_DIR

oras >= v0.13.0:

$ oras pull ghcr.io/khulnasoft-lab/tunnel-java-db:1

oras < v0.13.0:

$ oras pull -a ghcr.io/khulnasoft-lab/tunnel-java-db:1

The database can be used for Air-Gapped Environment.