hg-git-hg

maintainer Foucault · 45 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a Mercurial repository from a legitimate open-source forge (foss.heptapod.net), which hosts the official hg-git project; building from a non-whitelisted but project-owned host is normal for AUR packages and poses low risk.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a Mercurial repository from a legitimate open-source forge (foss.heptapod.net), which hosts the official hg-git project; building from a non-whitelisted but project-owned host is normal for AUR packages and poses low risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:19 source=('hg+https://foss.heptapod.net/mercurial/hg-git'

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Vsevolod Balashov <vsevolod@balashov.name>
2# Contributor: Egor Kuropatkin <egor.k8n@gmail.com>
3# Contributor: Egor Laufer <egor.l4r@gmail.com>
4#
5_name=hg-git
6pkgname=$_name-hg
7pkgver=1951.e799e4fad448
8pkgrel=1
9pkgdesc="the Hg-Git mercurial plugin"
10arch=(any)
11url="http://hg-git.github.io/"
12license=('GPL2')
13depends=('mercurial' 'python-dulwich')
14makedepends=('mercurial' 'python-setuptools-scm'
15 'python-build' 'python-installer'
16 'python-wheel')
17provides=('hg-git')
18conflicts=('hg-git')
19source=('hg+https://foss.heptapod.net/mercurial/hg-git'
20 'hggit.rc')
21md5sums=('SKIP'
22 '592a454e09f498074c57a5b7e383e808')
23
24pkgver() {
25 cd "$srcdir/$_name"
26 hg identify -ni | awk 'BEGIN{OFS=".";} {print $2,$1}'
27}
28
29build() {
30 cd "$srcdir/$_name"
31 python -m build --wheel --no-isolation
32}
33
34package() {
35 cd $srcdir/$_name
36 python -m installer --destdir="$pkgdir" dist/*.whl
37 install -m0644 -D "${srcdir}/hggit.rc" "${pkgdir}/etc/mercurial/hgrc.d/hggit.rc"
38}
39

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion