tunnel-java-db

module
v0.0.0-...-a10ab7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: Apache-2.0

README

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.

Directories

Path Synopsis
cmd
pkg
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL