artifactweave

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT

README

artifactweave

An open source, self-hosted artifact repository written in Go, implementing Artifactory-compatible APIs for packages and container images.

  • Local repositories for Docker/OCI, npm, Go modules, Maven, PyPI, NuGet, classic and OCI Helm, and Terraform modules and providers. Terraform state uses a separate terraformbackend repository type with the native remote backend.
  • One static binary with metadata in SQLite or PostgreSQL and blobs on local disk, S3-compatible storage, Google Cloud Storage, Azure Blob Storage or mirrored backends.
  • Native clients and automation. Acceptance tests exercise the JFrog CLI, native package clients and the implemented resources of JFrog's Terraform providers. The client connection recipes list endpoints, authentication, client versions and supported publish/install commands.
  • Repository management and security. REST and supported YAML descriptor sections manage repositories; users, groups, permission targets, access/reference tokens and OIDC exchange control access. AQL, searches, build-info, trash restore and reindex are implemented.
  • Cloud deployment and delivery. Terraform references cover AWS, GCP, Azure and multicloud blob mirroring, with signed download redirects and CDN delivery.

Status

Phases P0–P8 are complete as of 2026-10-21, including the cloud-storage and deployment phases P2b and P4b. The P9 remote feature set is implemented: shared transport, security and cache controls; generic and native-format retrieval; cache maintenance; Smart Remote; permission-safe browsing and search; NuGet v2, symbols and cached-package reindex; and transitive AQL. The complete public run passed all 15 families on merged main. P9 is complete: #708 merged its sign-off record, and the merged-main full gate passed. This status describes the code on main; published releases reflect their own tags. The implementation plan records client evidence and remaining scope. P9b registered five package types omitted from the original inventory: LuaRocks, NVIDIA NIM, Skills, Agent Plugins and Agent Packages. LuaRocks local, remote, virtual and federated handling, Skills local publishing and native installs, Agent Plugins local publishing and client installs, and Agent Packages APM v1 local/federated handling and NVIDIA NIM's documented remote model API with a separate Docker remote are implemented. P9b qualification evidence is tracked in #693. See the P9b contract report and qualification ledger. P9c's 28 additional formats and their implementation follow-ups are merged. The versioned package-format matrix records their supported classes, native protocols and client evidence. This includes Git LFS locking, Hugging Face Xet and legacy-layout migration, private Bower Git registration, and legacy VCS providers. The Phase 9c qualification ledger records successful merged-main and current-release qualification for #792, alongside #810's CI evidence. Federated client evidence covers one node; cross-peer convergence remains P13.

Capability Current implementation
Local package protocols Implemented for the native format families listed above; NuGet includes v2/v3 and PDB symbol serving, and Terraform includes signed provider downloads and the state backend
Generic remote proxying Implemented: authorized HTTP(S) cold fetch, validated cache, cache aliases, ranges/conditions and signed delivery; operations guide
Remote cache maintenance Implemented: metadata-only zap, atomic deletion/restore fencing and persistent unused-cache cleanup; maintenance guide
npm remote retrieval Implemented: full/abbreviated metadata, version documents, dist-tags, filtered search and validated scoped/unscoped tarballs; operations guide
Maven-family remote retrieval Implemented: native Maven cold/outage proof, authoritative metadata, checksum/admission policies, layouts and durable companions; operations and client gaps
Upstream version search Implemented: authoritative Maven metadata and bounded layout listings, current visibility, cache-only aliases and specific GAVC; operations guide
Go upstream source Implemented below HTTP routing; source contract and P10 native virtual handoff
Python remote retrieval Implemented: HTML/JSON indexes, Warehouse metadata, validated wheels/sdists, metadata sidecars and advertised signatures; native pip/uv cold and offline installs; operations guide
Docker/OCI/Helm OCI remote retrieval Implemented: authenticated manifests/indexes, verified blobs, tags/referrers, foreign-layer policy and offline cache reads; operations guide
NuGet remote retrieval Implemented: v3 resources and signed packages, bounded v2 feeds with custom contexts, upstream PDB GET/HEAD/range, remote prerelease retention and queue-backed reindex of cached packages; operations guide
Classic Helm remote retrieval Implemented: authoritative upstream indexes, constrained rewritten chart URLs, validated archives and preserved provenance; operations guide
Terraform module remote retrieval Implemented: authoritative versions, validated original archives, resolved subdirectories and credential-bound signed downloads; operations guide
Smart Remote synchronization Implemented: authenticated discovery, initial/TTL user properties, bounded durable download statistics and confirmed origin absence; operations and qualification limits
Remote folder browsing Implemented: opt-in, bounded HTML and Smart Remote folder listings, lossless differing-layout discovery, current canonical permission filtering and no artifact prefetch; operations guide
Terraform provider remote retrieval Implemented: upstream registry signatures, complete package bundles, controlled mirrors and offline reuse; operations guide
Smart Remote transitive AQL Implemented: bounded direct/virtual items.find(...).transitive(), current permission filtering and transient normal-key discovery; native CLI usage and limits
P9 exit and virtual resolution The full public-upstream run passed all 15 families and the merged-main full gate passed after #708. P10 owns virtual package resolution, including native Go virtual proof; P9 sign-off ledger
Newly identified Artifactory package types P9b registers LuaRocks, NVIDIA NIM, Skills, Agent Plugins and Agent Packages for their documented repository classes. LuaRocks local/remote/virtual/federated, Skills local publish/discovery/install, Agent Plugins local publish/install/update, Agent Packages APM v1 local/federated, and NVIDIA NIM remote metadata/model reads with a paired Docker pull are implemented. See the class/client matrix and qualification evidence
P9c native package formats All 28 format implementations are merged across their approved classes; the class/client matrix, connection recipes and qualification ledger record the passing native matrix, final gates and retained runtime evidence
Project workflows, webhooks, cleanup policies and replication Planned for P11; some supporting models and APIs already exist
Full system descriptor and LDAP Planned for P12; the currently applied descriptor sections are listed in the configuration reference
Peer federation, Access Federation, Distribution, cold-storage workflows and Workers Planned for P13–P17
Initial hardening and live Artifactory comparison Planned for P18 and P19; inferred compatibility details remain tracked in #216
Enterprise authentication and SCIM Planned for P21/P22, including SAML, human OIDC/OAuth, Crowd, HTTP-SSO and browser approval
Evidence, Lifecycle/release bundles v2, AppTrust and security scanning Planned for P23–P27, including Xray, Catalog, Advanced Security and Curation
Remaining protocol gaps and additional package ecosystems P28 owns the remaining original-family gaps. The 28 formats formerly assigned to P29–P33 are implemented under P9c; combined qualification is recorded in #792. The five newly identified types belong to P9b
MySQL, HA, migration/recovery, advanced replication and operations integrations Planned for P34–P38
Web console and estate/hosted-service integrations Planned for P39/P40; the expanded platform is qualified in P41

The capability roadmap keeps every identified capability in scope unless a newer capability supersedes it, with a documented replacement and migration path. P20 adds operation-level coverage tracking. A current 404/501 or a missing client test is a delivery gap with an owner, not a permanent exclusion.

The P8 exit gate passed with tests on Linux, macOS and Windows and 97.1% merged coverage. The Linux native acceptance job completed in 755 seconds within its 900-second budget. The plan records client-specific limits and deferred features, including browser approval login and npm package signatures. API schemas also cover later phases; a published schema is not a claim of runtime support.

Documentation

Path What
docs/research/ Endpoint inventories, package protocols, Terraform and CLI compatibility, scope tiers, reference materials, open questions
docs/research/decisions/ Decision records
docs/implementation/ Phases, milestones, definition of done, repository layout
Capability roadmap Scope ownership, remaining gaps, supersession evidence and P20–P41 commitments
docs/operations/ Configuration, reverse proxy, backup and restore
docs/security/threat-model.md Threat model

Development

Target What
make gate Local aggregate: vet, lint, test, cover, vuln, build; CI also runs the acceptance and integration jobs below
make test Unit tests with -race -shuffle=on, coverage to cover/unit
make accept Acceptance features against the real binary (needs Docker)
make terraform TERRAFORM_MODE=apply Applies, plans clean and destroys the JFrog provider fixtures
make oci-conformance OCI distribution-spec conformance checks
make cover Merges every cover/* directory and enforces .testcoverage.yml
make generate Regenerates the API servers and clients from api/*.openapi.yaml
make verify-generate Fails if regeneration changes committed generated code
make build Cross-compiles artifactweave for six platforms, CGO disabled

The quality gate requires 95% merged coverage and 90% per package, blocking lint with .golangci.yml, govulncheck and a cross-compile. Commits and PR titles follow Conventional Commits; release-please derives versions and the changelog.

Client pins, integration prerequisites, deployment checks and coverage inputs are documented in the CI guide.

Releases

Merging the release pull request that release-please keeps open tags the version and creates the GitHub release. The release workflow then builds artifactweave for Linux, macOS and Windows on amd64 and arm64 with GoReleaser and attaches:

  • an archive per platform, holding the static binary, this README and the licence;
  • artifactweave_<version>_checksums.txt, the SHA-256 of every archive and SBOM;
  • an SPDX SBOM per archive;
  • artifactweave_<version>_checksums.txt.sigstore.json, a keyless cosign signature over the checksum file, bound to this repository's release workflow.

Verify a download, for example v0.1.0:

cosign verify-blob \
  --bundle artifactweave_0.1.0_checksums.txt.sigstore.json \
  --certificate-identity 'https://github.com/weaveplatform/artifactweave/.github/workflows/release.yml@refs/tags/v0.1.0' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  artifactweave_0.1.0_checksums.txt

shasum -a 256 -c artifactweave_0.1.0_checksums.txt --ignore-missing

The first command proves the checksum file came from this repository's release workflow for that tag; the second proves each archive you downloaded matches it.

The same release publishes the container image ghcr.io/weaveplatform/artifactweave for linux/amd64 and linux/arm64, tagged with the version (and, for releases that are not pre-releases, <major>.<minor> and latest). It is built from the same binaries on a distroless base, runs as a non-root user with /data as its working directory and port 8081, and carries an SBOM and a provenance attestation. Verify it:

cosign verify ghcr.io/weaveplatform/artifactweave:0.1.0 \
  --certificate-identity 'https://github.com/weaveplatform/artifactweave/.github/workflows/release.yml@refs/tags/v0.1.0' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

docker run --rm -p 8081:8081 -v artifactweave-data:/data \
  -v "$PWD/artifactweave.yaml:/etc/artifactweave/artifactweave.yaml:ro" \
  ghcr.io/weaveplatform/artifactweave:0.1.0

Licence

MIT. JFrog's API definitions are proprietary and are cited, not vendored; this project implements the documented wire behaviour independently.

Directories

Path Synopsis
Package api holds the authored OpenAPI documents (decision record 0002) and the parity test that checks them against the gitignored cache of JFrog's published definitions.
Package api holds the authored OpenAPI documents (decision record 0002) and the parity test that checks them against the gitignored cache of JFrog's published definitions.
cmd
artifactweave command
Command artifactweave is the registry server and its operator commands.
Command artifactweave is the registry server and its operator commands.
internal
app
Package app wires configuration, the stores and the HTTP server together.
Package app wires configuration, the stores and the HTTP server together.
archive
Package archive reads zip, tar and tar.gz archives: the walker the item service explodes and serves archive entries with, and a bounded walker and reader the format handlers (decision 0032) read packages with, such as an npm tarball's package.json and file count, a Go module zip's go.mod or a jar's POM.
Package archive reads zip, tar and tar.gz archives: the walker the item service explodes and serves archive entries with, and a bounded walker and reader the format handlers (decision 0032) read packages with, such as an npm tarball's package.json and file count, a Go module zip's go.mod or a jar's POM.
archivecheck
Package archivecheck validates bounded archive structure before native-client extraction.
Package archivecheck validates bounded archive structure before native-client extraction.
auth
Package auth authenticates requests and seeds the built-in principals (decision 0005).
Package auth authenticates requests and seeds the built-in principals (decision 0005).
auth/idtoken
Package idtoken verifies ID tokens that an external OpenID Connect provider, typically a CI system, signed: the subject tokens of the Access OIDC token exchange (POST /access/api/v1/oidc/token, research 21).
Package idtoken verifies ID tokens that an external OpenID Connect provider, typically a CI system, signed: the subject tokens of the Access OIDC token exchange (POST /access/api/v1/oidc/token, research 21).
auth/idtoken/idtokentest
Package idtokentest is a fake OpenID Connect provider for tests: it serves a discovery document and a JWKS, as GitHub Actions, GitLab and other CI systems do, and mints ID tokens signed with its current key.
Package idtokentest is a fake OpenID Connect provider for tests: it serves a discovery document and a JWKS, as GitHub Actions, GitLab and other CI systems do, and mints ID tokens signed with its current key.
auth/token
Package token issues and verifies Access tokens (decision 0005): RS256 JWTs signed with a per-instance key, reference tokens and refresh tokens.
Package token issues and verifies Access tokens (decision 0005): RS256 JWTs signed with a per-instance key, reference tokens and refresh tokens.
authz
Package authz evaluates Artifactory's permission model (decision 0006): the admin flag, the union of grants to a user and their groups, permission targets with Ant include and exclude patterns, the anonymous user, and token scopes, which only ever remove actions but for applied-permissions/admin, an administrator's token whatever its subject.
Package authz evaluates Artifactory's permission model (decision 0006): the admin flag, the union of grants to a user and their groups, permission targets with Ant include and exclude patterns, the anonymous user, and token scopes, which only ever remove actions but for applied-permissions/admin, an administrator's token whatever its subject.
buildinfo
Package buildinfo carries version metadata injected with -ldflags -X (see LDFLAGS in the Makefile).
Package buildinfo carries version metadata injected with -ldflags -X (see LDFLAGS in the Makefile).
config
Package config loads the application configuration described in docs/operations/configuration-reference.md and decision record 0009.
Package config loads the application configuration described in docs/operations/configuration-reference.md and decision record 0009.
crypt
Package crypt seals secret columns at rest (decision record 0017): remote repository and proxy passwords, LDAP and mail credentials, webhook secrets, key pair private keys, OIDC secrets and the token signing key.
Package crypt seals secret columns at rest (decision record 0017): remote repository and proxy passwords, LDAP and mail credentials, webhook secrets, key pair private keys, OIDC secrets and the token signing key.
descriptor
Package descriptor reads Artifactory's YAML configuration descriptor and applies it (decision 0009): the body of PATCH /api/system/configuration, `artifactweave config apply` and the bootstrap descriptor.
Package descriptor reads Artifactory's YAML configuration descriptor and applies it (decision 0009): the body of PATCH /api/system/configuration, `artifactweave config apply` and the bootstrap descriptor.
fakeupstream
Package fakeupstream provides deterministic, loopback-only HTTP fixtures for remote repository tests.
Package fakeupstream provides deterministic, loopback-only HTTP fixtures for remote repository tests.
format
Package format is the contract between the item service and the package formats (decision 0032): the hooks every format implements, the optional interfaces a format adds for what it needs, the environment they run in, and the RejectionError a format refuses a request with.
Package format is the contract between the item service and the package formats (decision 0032): the hooks every format implements, the optional interfaces a format adds for what it needs, the environment they run in, and the RejectionError a format refuses a request with.
format/agentpackages
Package agentpackages validates and indexes APM Agent Packages ZIP archives.
Package agentpackages validates and indexes APM Agent Packages ZIP archives.
format/agentplugins
Package agentplugins validates and indexes local Agent Plugin ZIP bundles.
Package agentplugins validates and indexes local Agent Plugin ZIP bundles.
format/aieditorextensions
Package aieditorextensions owns VS Code gallery identities and cache paths.
Package aieditorextensions owns VS Code gallery identities and cache paths.
format/alpine
Package alpine implements Alpine APK v2 package and index metadata.
Package alpine implements Alpine APK v2 package and index metadata.
format/bazelmodules
Package bazelmodules validates Bazel module registry uploads.
Package bazelmodules validates Bazel module registry uploads.
format/bower
Package bower validates Bower package trees and indexes versions from their bower.json manifest.
Package bower validates Bower package trees and indexes versions from their bower.json manifest.
format/cargo
Package cargo validates crates and supplies Cargo sparse-index records.
Package cargo validates crates and supplies Cargo sparse-index records.
format/chef
Package chef validates Chef cookbook archives and maintains their native index.
Package chef validates Chef cookbook archives and maintains their native index.
format/composer
Package composer validates hosted Composer archives and their package identity.
Package composer validates hosted Composer archives and their package identity.
format/conan
Package conan owns Conan's on-disk revision layout and write policy.
Package conan owns Conan's on-disk revision layout and write policy.
format/debian
Package debian implements Debian package and repository metadata.
Package debian implements Debian package and repository metadata.
format/docker
Package docker is the storage layout of Docker and OCI images in a repository's item tree (decision 0031), which the JFrog CLI reads with AQL and the storage API: an image is a folder, each tag a folder of its own below it and each manifest pushed by digest a folder named sha256:<hex>, and every blob a file named sha256__<hex> in the folders of the images that use it.
Package docker is the storage layout of Docker and OCI images in a repository's item tree (decision 0031), which the JFrog CLI reads with AQL and the storage API: an image is a folder, each tag a folder of its own below it and each manifest pushed by digest a folder named sha256:<hex>, and every blob a file named sha256__<hex> in the folders of the images that use it.
format/formats
Package formats picks the format of a package type.
Package formats picks the format of a package type.
format/formattest
Package formattest is the contract suite for package formats (decision 0032).
Package formattest is the contract suite for package formats (decision 0032).
format/generic
Package generic is the format of generic repositories: files without package metadata, so nothing is indexed.
Package generic is the format of generic repositories: files without package metadata, so nothing is indexed.
format/gitlfs
Package gitlfs owns the content-addressed object layout of Git LFS repositories.
Package gitlfs owns the content-addressed object layout of Git LFS repositories.
format/golang
Package golang is the format of Go module repositories (decision 0035).
Package golang is the format of Go module repositories (decision 0035).
format/helm
Package helm is the format of classic Helm chart repositories (decision 0039); Helm OCI repositories are the Docker format's.
Package helm is the format of classic Helm chart repositories (decision 0039); Helm OCI repositories are the Docker format's.
format/hex
Package hex validates Hex tarballs and extracts metadata needed by the signed registry v2 protocol.
Package hex validates Hex tarballs and extracts metadata needed by the signed registry v2 protocol.
format/huggingface
Package huggingface owns the current Machine Learning layout used by Hugging Face model and dataset repositories.
Package huggingface owns the current Machine Learning layout used by Hugging Face model and dataset repositories.
format/huggingface/xet
Package xet validates the public Hugging Face Xet chunk and shard wire formats.
Package xet validates the public Hugging Face Xet chunk and shard wire formats.
format/luarocks
Package luarocks indexes root-level rockspecs and rocks and derives the LuaRocks manifest consumed by the native client.
Package luarocks indexes root-level rockspecs and rocks and derives the LuaRocks manifest consumed by the native client.
format/machinelearning
Package machinelearning owns FrogML's versioned model layout and publication invariants.
Package machinelearning owns FrogML's versioned model layout and publication invariants.
format/maven
Package maven is the format of maven, gradle, ivy and sbt repositories (decision 0036): Maven's naming predicates, the coordinates a repository's layout reads from a path, and the package index of decision 0018, kept by the hooks on every write path and rebuilt by Reindex.
Package maven is the format of maven, gradle, ivy and sbt repositories (decision 0036): Maven's naming predicates, the coordinates a repository's layout reads from a path, and the package index of decision 0018, kept by the hooks on every write path and rebuilt by Reindex.
format/nix
Package nix validates Nix binary-cache metadata and archive integrity.
Package nix validates Nix binary-cache metadata and archive integrity.
format/npm
Package npm is the format of npm repositories (decision 0034).
Package npm is the format of npm repositories (decision 0034).
format/nuget
Package nuget is the format of NuGet repositories (decision 0038).
Package nuget is the format of NuGet repositories (decision 0038).
format/opkg
Package opkg reads bounded IPK archives and their control metadata.
Package opkg reads bounded IPK archives and their control metadata.
format/p2
Package p2 validates Eclipse p2 update-site paths and bounded metadata.
Package p2 validates Eclipse p2 update-site paths and bounded metadata.
format/pub
Package pub validates Dart pub archives and maintains their native index.
Package pub validates Dart pub archives and maintains their native index.
format/puppet
Package puppet validates Puppet module archives and maintains their native index.
Package puppet validates Puppet module archives and maintains their native index.
format/pypi
Package pypi is the format of PyPI repositories (decision 0037).
Package pypi is the format of PyPI repositories (decision 0037).
format/rpm
Package rpm reads bounded RPM v4 headers for native repository metadata.
Package rpm reads bounded RPM v4 headers for native repository metadata.
format/skills
Package skills indexes the canonical ZIP bundles of local Skills repositories.
Package skills indexes the canonical ZIP bundles of local Skills repositories.
format/swift
Package swift implements the Swift package registry's stored archive format.
Package swift implements the Swift package registry's stored archive format.
format/terraform
Package terraform is the format of Terraform registry repositories (decision 0040): the modules and Terraform provider packages that users store in terraform repositories, which the module registry, the provider registry and the network mirror serve.
Package terraform is the format of Terraform registry repositories (decision 0040): the modules and Terraform provider packages that users store in terraform repositories, which the module registry, the provider registry and the network mirror serve.
format/terraform/terraformtest
Package terraformtest builds Terraform registry content for tests (role 2 of epic #526: Terraform modules and Terraform provider packages that artifactweave stores): GPG key pairs, the files of a Terraform provider package's release laid out and signed as HashiCorp publishes them, and module zips.
Package terraformtest builds Terraform registry content for tests (role 2 of epic #526: Terraform modules and Terraform provider packages that artifactweave stores): GPG key pairs, the files of a Terraform provider package's release laid out and signed as HashiCorp publishes them, and module zips.
format/terraformbackend
Package terraformbackend is the format of Terraform backend repositories (decision 0041): the workspaces and states of Terraform's remote backend, kept as items under workspaces/<ws>/ as 7.x keeps them.
Package terraformbackend is the format of Terraform backend repositories (decision 0041): the workspaces and states of Terraform's remote backend, kept as items under workspaces/<ws>/ as 7.x keeps them.
format/vagrant
Package vagrant validates Vagrant boxes and indexes their deployment properties.
Package vagrant validates Vagrant boxes and indexes their deployment properties.
keymaterial
Package keymaterial checks the key material the security API stores: that the private and public halves of an RSA or GPG key pair belong together, and that a client certificate bundle carries its own private key.
Package keymaterial checks the key material the security API stores: that the private and public halves of an RSA or GPG key pair belong together, and that a client certificate bundle carries its own private key.
openapibundle
Package openapibundle merges the per-family spec fragments under api/src/<service>/ into the one document oapi-codegen and the parity test read.
Package openapibundle merges the per-family spec fragments under api/src/<service>/ into the one document oapi-codegen and the parity test read.
remote
Package remote owns outbound HTTP for remote repositories.
Package remote owns outbound HTTP for remote repositories.
repos
Package repos holds the repository operations that more than one entry point performs: the repositories API, the configuration descriptor (PATCH /api/system/configuration, config apply and the bootstrap descriptor).
Package repos holds the repository operations that more than one entry point performs: the repositories API, the configuration descriptor (PATCH /api/system/configuration, config apply and the bootstrap descriptor).
server
Package server builds the single chi router that serves every JFrog path prefix: /artifactory, /access, /event, /router, /jfconnect and /v2.
Package server builds the single chi router that serves every JFrog path prefix: /artifactory, /access, /event, /router, /jfconnect and /v2.
server/agentpackages
Package agentpackages serves the APM v1 registry protocol on Agent Packages local and federated repositories.
Package agentpackages serves the APM v1 registry protocol on Agent Packages local and federated repositories.
server/aieditorextensions
Package aieditorextensions serves the VS Code gallery API for read-only remote extension repositories.
Package aieditorextensions serves the VS Code gallery API for read-only remote extension repositories.
server/ansible
Package ansible serves Galaxy v3 collection requests through the shared package protocol, source and item boundaries.
Package ansible serves Galaxy v3 collection requests through the shared package protocol, source and item boundaries.
server/apierror
Package apierror renders errors with the response profile each client expects.
Package apierror renders errors with the response profile each client expects.
server/baseurl
Package baseurl resolves the public base URL a response must embed.
Package baseurl resolves the public base URL a response must embed.
server/bazelmodules
Package bazelmodules serves the Bazel index registry protocol.
Package bazelmodules serves the Bazel index registry protocol.
server/bower
Package bower serves the Bower registry and bower-art-resolver 2.0 protocol.
Package bower serves the Bower registry and bower-art-resolver 2.0 protocol.
server/cargo
Package cargo serves the HTTP sparse registry and Cargo web API.
Package cargo serves the HTTP sparse registry and Cargo web API.
server/chef
Package chef serves the Chef Supermarket cookbook protocol.
Package chef serves the Chef Supermarket cookbook protocol.
server/cocoapods
Package cocoapods serves the current CocoaPods CDN protocol through /artifactory/api/pods/{repoKey}.
Package cocoapods serves the current CocoaPods CDN protocol through /artifactory/api/pods/{repoKey}.
server/composer
Package composer serves Composer 1 local catalogs and Composer 2 metadata through the native Artifactory Composer URL.
Package composer serves Composer 1 local catalogs and Composer 2 metadata through the native Artifactory Composer URL.
server/conan
Package conan serves the Conan revision protocol at /artifactory/api/conan.
Package conan serves the Conan revision protocol at /artifactory/api/conan.
server/conda
Package conda serves the native Conda channel protocol.
Package conda serves the native Conda channel protocol.
server/docker
Package docker serves the registry protocol, the OCI Distribution Specification v1.1 with Docker's extensions, for docker, oci and helmoci repositories (decisions 0003 and 0031).
Package docker serves the registry protocol, the OCI Distribution Specification v1.1 with Docker's extensions, for docker, oci and helmoci repositories (decisions 0003 and 0031).
server/gems
Package gems serves RubyGems and Bundler's native repository protocol.
Package gems serves RubyGems and Bundler's native repository protocol.
server/gen/access
Package access provides primitives to interact with the openapi HTTP API.
Package access provides primitives to interact with the openapi HTTP API.
server/gen/artifactory
Package artifactory provides primitives to interact with the openapi HTTP API.
Package artifactory provides primitives to interact with the openapi HTTP API.
server/gen/distribution
Package distribution provides primitives to interact with the openapi HTTP API.
Package distribution provides primitives to interact with the openapi HTTP API.
server/gen/event
Package event provides primitives to interact with the openapi HTTP API.
Package event provides primitives to interact with the openapi HTTP API.
server/gen/grid
Package grid provides primitives to interact with the openapi HTTP API.
Package grid provides primitives to interact with the openapi HTTP API.
server/gen/pfed
Package pfed provides primitives to interact with the openapi HTTP API.
Package pfed provides primitives to interact with the openapi HTTP API.
server/gen/worker
Package worker provides primitives to interact with the openapi HTTP API.
Package worker provides primitives to interact with the openapi HTTP API.
server/gitlfs
Package gitlfs serves Git LFS batch and basic object transfers.
Package gitlfs serves Git LFS batch and basic object transfers.
server/golang
Package golang serves Go module repositories at /artifactory/api/go/{repoKey}/ through the router kit (decisions 0032 and 0035): the GOPROXY reads the go command makes, and the deploys of jf go-publish.
Package golang serves Go module repositories at /artifactory/api/go/{repoKey}/ through the router kit (decisions 0032 and 0035): the GOPROXY reads the go command makes, and the deploys of jf go-publish.
server/helm
Package helm serves classic Helm repositories under /api/helm/.
Package helm serves classic Helm repositories under /api/helm/.
server/hex
Package hex serves the signed Hex registry v2 protocol.
Package hex serves the signed Hex registry v2 protocol.
server/huggingface
Package huggingface serves the native Hugging Face Hub client protocol for model and dataset repositories using Artifactory's current ML layout.
Package huggingface serves the native Hugging Face Hub client protocol for model and dataset repositories using Artifactory's current ML layout.
server/jetbrainsplugins
Package jetbrainsplugins serves the JetBrains Marketplace host protocol for remote JetBrains Plugins repositories.
Package jetbrainsplugins serves the JetBrains Marketplace host protocol for remote JetBrains Plugins repositories.
server/luarocks
Package luarocks serves local and federated LuaRocks repositories through the native flat rocks-server URL and the native upload API.
Package luarocks serves local and federated LuaRocks repositories through the native flat rocks-server URL and the native upload API.
server/machinelearning
Package machinelearning implements the FrogML SDK's Artifactory model transaction and manifest API on local and one-node federated repositories.
Package machinelearning implements the FrogML SDK's Artifactory model transaction and manifest API on local and one-node federated repositories.
server/nimmodel
Package nimmodel serves the documented NGC metadata and model-resource URLs through a remote NIM repository.
Package nimmodel serves the documented NGC metadata and model-resource URLs through a remote NIM repository.
server/nix
Package nix serves the native Nix HTTP binary-cache protocol.
Package nix serves the native Nix HTTP binary-cache protocol.
server/npm
Package npm serves the npm registry of npm repositories at /artifactory/api/npm/{repoKey}/ (decision 0034), mounted through the router kit (decision 0032).
Package npm serves the npm registry of npm repositories at /artifactory/api/npm/{repoKey}/ (decision 0034), mounted through the router kit (decision 0032).
server/nuget
Package nuget serves NuGet's protocols on NuGet repositories (decision 0038), mounted through the router kit (decision 0032): the v3 API under /artifactory/api/nuget/v3/{repoKey}/ (V3) and, under /artifactory/api/nuget/{repoKey}/, the v2 Atom feed and the push, delete and relist the v3 index's PackagePublish names (V2).
Package nuget serves NuGet's protocols on NuGet repositories (decision 0038), mounted through the router kit (decision 0032): the v3 API under /artifactory/api/nuget/v3/{repoKey}/ (V3) and, under /artifactory/api/nuget/{repoKey}/, the v2 Atom feed and the push, delete and relist the v3 index's PackagePublish names (V2).
server/pkgroute
Package pkgroute is the router kit for package formats with a protocol of their own: npm and Go in P7, then PyPI, NuGet, Helm and Terraform (decision 0032).
Package pkgroute is the router kit for package formats with a protocol of their own: npm and Go in P7, then PyPI, NuGet, Helm and Terraform (decision 0032).
server/pub
Package pub serves the hosted Dart pub protocol through Artifactory's /artifactory/api/pub/{repo} URL.
Package pub serves the hosted Dart pub protocol through Artifactory's /artifactory/api/pub/{repo} URL.
server/puppet
Package puppet serves the Forge v3 module protocol.
Package puppet serves the Forge v3 module protocol.
server/pypi
Package pypi serves PyPI repositories at /artifactory/api/pypi/{repoKey}/ through the router kit (decisions 0032 and 0037): the simple repository API that pip, uv and Poetry install from, in HTML (PEP 503) and, when pypi.simple_json is on, JSON (PEP 691), with the wheels' core metadata files (PEP 658) when pypi.core_metadata is on, and the files themselves through the item routes' download, so redirects, Range and download counts apply to them as to any file.
Package pypi serves PyPI repositories at /artifactory/api/pypi/{repoKey}/ through the router kit (decisions 0032 and 0037): the simple repository API that pip, uv and Poetry install from, in HTML (PEP 503) and, when pypi.simple_json is on, JSON (PEP 691), with the wheels' core metadata files (PEP 658) when pypi.core_metadata is on, and the files themselves through the item routes' download, so redirects, Range and download counts apply to them as to any file.
server/skills
Package skills serves the local ClawHub-compatible Skills publish API.
Package skills serves the local ClawHub-compatible Skills publish API.
server/swift
Package swift serves the Swift Package Registry API on Artifactory's /artifactory/api/swift/{repo} prefix.
Package swift serves the Swift Package Registry API on Artifactory's /artifactory/api/swift/{repo} prefix.
server/terraform
Package terraform serves Terraform's discovery and module registry through the package router kit (decision 0040).
Package terraform serves Terraform's discovery and module registry through the package router kit (decision 0040).
server/terraformbackend
Package terraformbackend serves the TFE-shaped API used by Terraform's remote backend (decision 0041).
Package terraformbackend serves the TFE-shaped API used by Terraform's remote backend (decision 0041).
server/vagrant
Package vagrant serves the native Vagrant box catalog at Artifactory's prefix.
Package vagrant serves the native Vagrant box catalog at Artifactory's prefix.
server/vcs
Package vcs implements the remote-only Artifactory VCS archive protocol.
Package vcs implements the remote-only Artifactory VCS archive protocol.
service/apilimit
Package apilimit combines shared request budgets with bounded local work.
Package apilimit combines shared request budgets with bounded local work.
service/build
Package build implements the Builds API (decision 0014): publishing, reading, appending to, renaming and deleting build-info runs, and finding the items a run's artifacts are.
Package build implements the Builds API (decision 0014): publishing, reading, appending to, renaming and deleting build-info runs, and finding the items a run's artifacts are.
service/gc
Package gc reclaims storage (decision 0010).
Package gc reclaims storage (decision 0010).
service/identity
Package identity manages internal users and groups and the account policies (decision 0005): creation and replacement with hashed passwords, group membership and auto-join, the user lock and password expiration policies, locks and forced password changes.
Package identity manages internal users and groups and the account policies (decision 0005): creation and replacement with hashed passwords, group membership and auto-join, the user lock and password expiration policies, locks and forced password changes.
service/item
Package item writes and removes items: the deploy flow of decision 0004 (content into the blob store, then the item and its blob reference in one transaction), checksum deploy, folders, client checksums and deletion into the trash can (decision 0010).
Package item writes and removes items: the deploy flow of decision 0004 (content into the blob store, then the item and its blob reference in one transaction), checksum deploy, folders, client checksums and deletion into the trash can (decision 0010).
service/multipart
Package multipart serves the JFrog CLI's multipart upload protocol, as the pinned jfrog-client-go drives it (artifactory/services/utils/ multipartupload.go): create a session, get a URL per part, PUT the parts concurrently, complete with the file's SHA-1, poll the status, and abort on failure.
Package multipart serves the JFrog CLI's multipart upload protocol, as the pinned jfrog-client-go drives it (artifactory/services/utils/ multipartupload.go): create a session, get a URL per part, PUT the parts concurrently, complete with the file's SHA-1, poll the status, and abort on failure.
service/oidc
Package oidc is Access's OpenID Connect integration (research 21): the providers whose ID tokens artifactweave trusts, the identity mappings that turn a token's claims into an access token, and the token exchange that CI systems call (POST /access/api/v1/oidc/token).
Package oidc is Access's OpenID Connect integration (research 21): the providers whose ID tokens artifactweave trusts, the identity mappings that turn a token's claims into an access token, and the token exchange that CI systems call (POST /access/api/v1/oidc/token).
service/permission
Package permission manages permission documents (decision 0006): the single internal shape behind the v1 and v2 permission-target APIs and the Access v2 permissions API.
Package permission manages permission documents (decision 0006): the single internal shape behind the v1 and v2 permission-target APIs and the Access v2 permissions API.
service/pkgindex
Package pkgindex maintains the package index of decision 0018 for the format handlers: which package and version each file belongs to.
Package pkgindex maintains the package index of decision 0018 for the format handlers: which package and version each file belongs to.
service/registry
Package registry runs the Docker registry's blob uploads (decision 0031).
Package registry runs the Docker registry's blob uploads (decision 0031).
service/roles
Package roles manages global roles and global environments: the Access API's /api/v1/roles and /api/v1/environments (issue #77, decision 0013).
Package roles manages global roles and global environments: the Access API's /api/v1/roles and /api/v1/environments (issue #77, decision 0013).
service/terraformstate
Package terraformstate is the Terraform backend's storage (decision 0041): the workspaces, state versions and locks of terraformbackend repositories.
Package terraformstate is the Terraform backend's storage (decision 0041): the workspaces, state versions and locks of terraformbackend repositories.
service/trash
Package trash restores, cleans and purges the trash can (decision 0010).
Package trash restores, cleans and purges the trash can (decision 0010).
service/usage
Package usage computes the storage summary (GET /api/storageinfo): blob totals, item totals per repository and for the trash can, and the capacity of the volume a local blob store lives on.
Package usage computes the storage summary (GET /api/storageinfo): blob totals, item totals per repository and for the trash can, and the capacity of the volume a local blob store lives on.
service/work
Package work runs the persistent work queue (decision 0033): a pool of workers that lease due items, run the handler registered for each item's kind, and complete, retry or park it.
Package work runs the persistent work queue (decision 0033): a pool of workers that lease due items, run the handler registered for each item's kind, and complete, retry or park it.
source
Package source is the read boundary shared by remote package adapters.
Package source is the read boundary shared by remote package adapters.
specoracle
Package specoracle keeps a local, gitignored cache of the OpenAPI blocks JFrog embeds on each docs.jfrog.com endpoint page and compares them with the specs this project authors under api/.
Package specoracle keeps a local, gitignored cache of the OpenAPI blocks JFrog embeds on each docs.jfrog.com endpoint page and compares them with the specs this project authors under api/.
sqlstore/postgres
Package postgres opens an artifactweave store on PostgreSQL through pgx's database/sql adapter (decision 0004).
Package postgres opens an artifactweave store on PostgreSQL through pgx's database/sql adapter (decision 0004).
sqlstore/sqlcommon
Package sqlcommon implements pkg/store over database/sql for any SQL dialect (decision 0004), following hostweave's dialect layer: one store implementation, a Dialect describing what differs between engines, and embedded per-dialect migrations.
Package sqlcommon implements pkg/store over database/sql for any SQL dialect (decision 0004), following hostweave's dialect layer: one store implementation, a Dialect describing what differs between engines, and embedded per-dialect migrations.
sqlstore/sqlite
Package sqlite opens an artifactweave store on SQLite through the pure-Go modernc.org/sqlite driver, so the server builds without CGO on every platform (decision 0004).
Package sqlite opens an artifactweave store on SQLite through the pure-Go modernc.org/sqlite driver, so the server builds without CGO on every platform (decision 0004).
sqlstore/sqltest
Package sqltest provides PostgreSQL for the store contract runs.
Package sqltest provides PostgreSQL for the store contract runs.
stubgen
Package stubgen writes a type that implements a generated strict server interface by answering 501 for every operation.
Package stubgen writes a type that implements a generated strict server interface by answering 501 for every operation.
testfault
Package testfault holds the failing fakes that handler tests share (decision 0015), so the error paths of streaming handlers are covered without real failures: a client that goes away mid-stream, and a blob store whose writes fail.
Package testfault holds the failing fakes that handler tests share (decision 0015), so the error paths of streaming handlers are covered without real failures: a client that goes away mid-stream, and a blob store whose writes fail.
pkg
aql
Package aql parses Artifactory Query Language and runs it (decision 0012).
Package aql parses Artifactory Query Language and runs it (decision 0012).
aql/aqltest
Package aqltest holds the AQL fixtures every search backend must agree on (decision 0012): seed items chosen to trip the dialect traps (a GLOB character class, LIKE wildcards in names, a multi-byte character, a missing time, a remote cache, an item without statistics beside one whose statistics are zero), the repositories they live in, the query shapes the JFrog CLI generates, and the rows each query returns, in order.
Package aqltest holds the AQL fixtures every search backend must agree on (decision 0012): seed items chosen to trip the dialect traps (a GLOB character class, LIKE wildcards in names, a multi-byte character, a missing time, a remote cache, an item without statistics beside one whose statistics are zero), the repositories they live in, the query shapes the JFrog CLI generates, and the rows each query returns, in order.
blob
Package blob is the content-addressed binary store behind every repository (decision record 0004).
Package blob is the content-addressed binary store behind every repository (decision record 0004).
blob/azure
Package azure is the Azure Blob Storage blob store (decision 0027).
Package azure is the Azure Blob Storage blob store (decision 0027).
blob/blobtest
Package blobtest is the contract every blob.Store backend must satisfy.
Package blobtest is the contract every blob.Store backend must satisfy.
blob/fs
Package fs is the local-disk blob store.
Package fs is the local-disk blob store.
blob/gcs
Package gcs is the Google Cloud Storage blob store (decision 0027).
Package gcs is the Google Cloud Storage blob store (decision 0027).
blob/mirror
Package mirror is a blob store that keeps each blob on several member stores at once (decision 0028): different clouds, regions or accounts, any mix of the fs, s3, gcs and azure backends.
Package mirror is a blob store that keeps each blob on several member stores at once (decision 0028): different clouds, regions or accounts, any mix of the fs, s3, gcs and azure backends.
blob/s3
Package s3 is the S3-compatible blob store (AWS S3, MinIO, Ceph RGW and similar).
Package s3 is the S3-compatible blob store (AWS S3, MinIO, Ceph RGW and similar).
blob/session
Package session is the upload session shared by the object-store blob backends (s3, gcs, azure; decision 0027).
Package session is the upload session shared by the object-store blob backends (s3, gcs, azure; decision 0027).
cdn
Package cdn signs download URLs on a CDN in front of an object store (decision 0029).
Package cdn signs download URLs on a CDN in front of an object store (decision 0029).
cdn/cdntest
Package cdntest is a fake CDN edge for tests (decision 0029).
Package cdntest is a fake CDN edge for tests (decision 0029).
client/access
Package access provides primitives to interact with the openapi HTTP API.
Package access provides primitives to interact with the openapi HTTP API.
client/artifactory
Package artifactory provides primitives to interact with the openapi HTTP API.
Package artifactory provides primitives to interact with the openapi HTTP API.
client/distribution
Package distribution provides primitives to interact with the openapi HTTP API.
Package distribution provides primitives to interact with the openapi HTTP API.
client/event
Package event provides primitives to interact with the openapi HTTP API.
Package event provides primitives to interact with the openapi HTTP API.
client/grid
Package grid provides primitives to interact with the openapi HTTP API.
Package grid provides primitives to interact with the openapi HTTP API.
client/pfed
Package pfed provides primitives to interact with the openapi HTTP API.
Package pfed provides primitives to interact with the openapi HTTP API.
client/worker
Package worker provides primitives to interact with the openapi HTTP API.
Package worker provides primitives to interact with the openapi HTTP API.
containertest
Package containertest gates the tests that start containers (decision 0015).
Package containertest gates the tests that start containers (decision 0015).
layout
Package layout implements Artifactory repository layouts: the path patterns that tell the server which part of an artifact path is the organisation, module, base revision, integration revision, classifier and extension.
Package layout implements Artifactory repository layouts: the path patterns that tell the server which part of an artifact path is the organisation, module, base revision, integration revision, classifier and extension.
repo
Package repo is the repository configuration model: the JSON document that PUT, POST and GET /artifactory/api/repositories/{key} exchange, with JFrog's field names.
Package repo is the repository configuration model: the JSON document that PUT, POST and GET /artifactory/api/repositories/{key} exchange, with JFrog's field names.
store
Package store defines artifactweave's metadata persistence contracts (decision 0004) over the domain types of pkg/types and pkg/repo.
Package store defines artifactweave's metadata persistence contracts (decision 0004) over the domain types of pkg/types and pkg/repo.
store/inmem
Package inmem is the reference in-memory implementation of pkg/store.
Package inmem is the reference in-memory implementation of pkg/store.
store/storetest
Package storetest is the contract suite for pkg/store implementations (decision 0015).
Package storetest is the contract suite for pkg/store implementations (decision 0015).
types
Package types holds artifactweave's internal domain model (decision 0020): one representation per entity in docs/research/15-data-model.md, in the shape the services and stores work with.
Package types holds artifactweave's internal domain model (decision 0020): one representation per entity in docs/research/15-data-model.md, in the shape the services and stores work with.
types/wire
Package wire mirrors the JFrog JSON forms that pkg/types converts: the legacy v1 and v2 permission targets, the Access v2 permission, and the legacy and Access user and group documents.
Package wire mirrors the JFrog JSON forms that pkg/types converts: the legacy v1 and v2 permission targets, the Access v2 permission, and the legacy and Access user and group documents.
test
server/agentcommon
Package agentcommon provides a production-router fixture for Agent Packages and Agent Plugins server-route suites.
Package agentcommon provides a production-router fixture for Agent Packages and Agent Plugins server-route suites.
server/registryfixture
Package registryfixture assembles the real server for registry protocol suites.
Package registryfixture assembles the real server for registry protocol suites.
server/support
Package support owns the route inventory used by standalone server tests.
Package support owns the route inventory used by standalone server tests.
tools
citestselection command
citestselection selects the safe CI test profile for a pull request.
citestselection selects the safe CI test profile for a pull request.
clientrecipes command
Command clientrecipes validates and renders the reusable client connection recipes, retaining fingerprints of the tests and version pins behind them.
Command clientrecipes validates and renders the reusable client connection recipes, retaining fingerprints of the tests and version pins behind them.
coverexec command
Command coverexec runs one test binary for make test (go test -exec), moving its coverage output into a directory of its own under the one -test.gocoverdir names.
Command coverexec runs one test binary for make test (go test -exec), moving its coverage output into a directory of its own under the one -test.gocoverdir names.
formatinventory command
Command formatinventory validates the versioned package-format catalog and generates the reviewable class/client matrix from it.
Command formatinventory validates the versioned package-format catalog and generates the reviewable class/client matrix from it.
gpgkey command
Command gpgkey writes a fresh GPG key pair without a passphrase, as ASCII-armored private.asc and public.asc in the directory it is given, for the Terraform scenarios' artifactory_keypair (test/terraform/run.sh).
Command gpgkey writes a fresh GPG key pair without a passphrase, as ASCII-armored private.asc and public.asc in the directory it is given, for the Terraform scenarios' artifactory_keypair (test/terraform/run.sh).
openapi-bundle command
Command openapi-bundle merges api/src/<service>/*.yaml fragments into api/<service>.openapi.yaml (make bundle).
Command openapi-bundle merges api/src/<service>/*.yaml fragments into api/<service>.openapi.yaml (make bundle).
specoracle command
Command specoracle maintains the gitignored cache of JFrog's embedded OpenAPI blocks and reports parity against api/*.openapi.yaml.
Command specoracle maintains the gitignored cache of JFrog's embedded OpenAPI blocks and reports parity against api/*.openapi.yaml.
stubgen command
Command stubgen writes internal/server/gen/<service>/unimplemented.gen.go from the generated strict server interface (make generate).
Command stubgen writes internal/server/gen/<service>/unimplemented.gen.go from the generated strict server interface (make generate).
testnames command
Command testnames checks that every Go test entry point declares its kind.
Command testnames checks that every Go test entry point declares its kind.

Jump to

Keyboard shortcuts

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