Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 gitlint

查看 gitlint 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gitlint

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gitlint

MacPorts ports tree · devel/gitlint/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gitlint

Alpine Linux edge package indexes · gitlint · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install gitlint

Debian stable package indexes · gitlint · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install gitlint

Fedora Rawhide package metadata · gitlint · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#gitlint

nixpkgs package indexes · pkgs/by-name/gi/gitlint/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install python313-gitlint

openSUSE Tumbleweed package metadata · python313-gitlint · 来源: download.opensuse.org

概览

软件包摘要

Linting for your git commit messages

命令和别名

  • gitlint

历史

项目历史与用法

Gitlint is a Python command-line linter for Git commit messages. It gives teams a way to enforce subject length, body formatting, trailers, conventional-commit-like rules, and custom policies before commits or merge requests land.

项目历史

The GitHub repository was created in September 2015 and the PyPI package history begins with the 0.1.0 release. The project grew as a small but durable Git add-on with documentation, built-in rules, user-defined rules, hooks, and CI usage patterns.

The 0.14 and 0.15 releases marked the end of Python 2.7 and Python 3.5 support, while the 0.17 release split the package into gitlint and gitlint-core. The 0.19 release modernized build and test tooling, adopted Hatch and Ruff, and improved development builds.

采用历史

Gitlint's adoption sits in the commit-quality niche rather than the broader code-linting market. It is packaged on PyPI and in several system package managers, and it appeals to projects that treat commit history as a reviewable interface for releases, changelogs, and audit trails.

使用方式

Practitioners run gitlint against the commit message being written through a commit-msg hook, against selected commit ranges in CI, or through pre-commit. Configuration usually lives in .gitlint, with built-in rules tuned by project policy and custom Python rules added for organization-specific checks.

为什么软件包爱好者会关心

Gitlint is notable as a classic Python CLI packaged across PyPI, Homebrew, Linux distributions, and MacPorts. For package maintainers, its dependency-management changes and gitlint-core split show the pressure small developer tools face when they need to support both hook-time speed and system-package constraints.

时间线

  • 2015: The jorisroovers/gitlint repository was created.
  • 2020: The 0.14 and 0.15 release line ended Python 2.7 and Python 3.5 support.
  • 2021: The 0.17 release split gitlint and gitlint-core.
  • 2023: The 0.19 release modernized project tooling and CI.

Related projects

  • pre-commit is a common integration point for running gitlint before commits or in CI.
  • Conventional Commits is an adjacent convention supported through gitlint contrib rules and configuration.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.gitlint

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gitlintcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.19.1
管理器更新时间2026-07-13
本地数据OK
上游not checked
检测到的最新版本未检测到

https://jorisroovers.com/gitlint/

安装元数据

软件包元数据

软件包键brew:gitlint
版本0.19.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gitlint
主页https://jorisroovers.com/gitlint/
仓库https://github.com/jorisroovers/gitlint
上游文档https://jorisroovers.github.io/gitlint
许可证MIT
源码归档https://files.pythonhosted.org/packages/73/51/b59270264aabcab5b933f3eb9bfb022464ca9205b04feef1bdc1635fd9b4/gitlint_core-0.19.1.tar.gz
最后更新2026-07-13T10:51:56Z
Pulseupdated
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

gitlint 0.19.1-6

Git commit message linter

https://jorisroovers.com/gitlint/

sudo apt install gitlint
  • Section: utils
  • Architecture: all
  • 5 依赖
  • normalized package name match
  • 匹配方式:Gitlint
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gitlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gitlint

nix profile install nixpkgs#gitlint
  • normalized package name match
  • 匹配方式:Gitlint
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/gitlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gitlint 0.19.1-2

Git commit message linter

https://jorisroovers.com/gitlint/

sudo apt install gitlint
  • Section: universe/utils
  • Architecture: all
  • 6 依赖
  • normalized package name match
  • 匹配方式:Gitlint
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gitlint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gitlint 0.19.1-r3

Linting for your git commit messages

https://github.com/jorisroovers/gitlint

sudo apk add gitlint
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitlint
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gitlint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitlint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gitlint-pyc 0.19.1-r3

Precompiled Python bytecode for gitlint

https://github.com/jorisroovers/gitlint

sudo apk add gitlint-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitlint
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gitlint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitlint-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gitlint 0.19.1-2.fc45

Git commit message linting tool

https://jorisroovers.github.io/gitlint

sudo dnf install gitlint
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gitlint
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Gitlint
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gitlint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

python313-gitlint 0.18.0-2.7

Git commit message linter checking

https://github.com/jorisroovers/gitlint

sudo zypper install python313-gitlint
  • License: MIT
  • Category: Development/Languages/Python
  • Architecture: noarch
  • Source Package: gitlint
  • 7 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Gitlint
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-gitlint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gitlint

sudo port install gitlint
  • normalized package name match
  • 匹配方式:Gitlint
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gitlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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