Automic VaultAutomic Vault

brew

addlicense mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für addlicense in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install addlicense

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#addlicense

nixpkgs package indexes · pkgs/by-name/ad/addlicense/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Scan directories recursively to ensure source files have license headers

Befehle und Aliase

  • addlicense

Verlauf

Projektgeschichte und Nutzung

addlicense is a Google-maintained Go command that recursively scans source trees and adds or checks copyright license headers. It is deliberately simple: run it over patterns, choose a supported license template or file, and optionally fail CI with -check.

Projektgeschichte

The official GitHub repository was created in June 2016. Its README describes a Go program that modifies source files in place, avoids duplicating headers that already exist, and supports Apache, BSD, MIT, and MPL-style headers plus custom license files.

The project is hosted under the google organization but explicitly says it is not an official Google product. The official tag list shows stable v1.x tags, and the README now documents Go installation, a GitHub Container Registry image, and pre-commit integration.

Adoptionsgeschichte

addlicense fits the common open-source maintenance workflow where license headers are enforced in presubmit, CI, or pre-commit rather than by hand. The supplied package-manager metadata shows Homebrew and Nix packaging, while the README documents go install, Docker, and an official pre-commit hook.

Wie es verwendet wird

Typical use is addlicense . or addlicense with multiple file and directory patterns. Important package-maintainer flags include -check for verification-only runs, -ignore for vendored or generated files, -l for the license family, -f for custom text, -s for SPDX identifiers, and -c/-y for copyright holder and year.

Warum Paket-Nerds sich dafür interessieren

For package and release engineers, addlicense is a boring tool in the best sense: it makes source-header policy reproducible and automatable. It is useful in repos where license conformance needs to be enforced before vendoring, releasing, or importing code into downstream packaging.

Zeitleiste

  • 2016-06: GitHub repository created.
  • v1.0.0: First stable tag appears in the official tag list.
  • Current README: Go install, container, and pre-commit workflows are documented.

Related projects

  • pre-commit is documented as an official hook consumer.
  • doublestar is referenced by the README for ignore-pattern semantics.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 8 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
addlicensecliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version1.2.0
Manager aktualisiert2026-05-26
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.2.0

https://github.com/google/addlicense

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:addlicense
Version1.2.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/addlicense
Homepagehttps://github.com/google/addlicense
Repositoryhttps://github.com/google/addlicense
Upstream-Dokumentationhttps://github.com/google/addlicense#readme
LizenzApache-2.0
Quellarchivhttps://github.com/google/addlicense/archive/refs/tags/v1.2.0.tar.gz
Zuletzt aktualisiert2026-05-26T23:37:49-04:00
Pulseupdated
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaddlicense
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

addlicense

nix profile install nixpkgs#addlicense
  • normalized package name match
  • Abgeglichen nach: Addlicense
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ad/addlicense/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment