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
6
pkgname=$_name-hg
7
pkgver=1951.e799e4fad448
8
pkgrel=1
9
pkgdesc="the Hg-Git mercurial plugin"
10
arch=(any)
11
url="http://hg-git.github.io/"
12
license=('GPL2')
13
depends=('mercurial' 'python-dulwich')
14
makedepends=('mercurial' 'python-setuptools-scm'
15
'python-build' 'python-installer'
16
'python-wheel')
17
provides=('hg-git')
18
conflicts=('hg-git')
19
source=('hg+https://foss.heptapod.net/mercurial/hg-git'
20
'hggit.rc')
21
md5sums=('SKIP'
22
'592a454e09f498074c57a5b7e383e808')
23
24
pkgver() {
25
cd "$srcdir/$_name"
26
hg identify -ni | awk 'BEGIN{OFS=".";} {print $2,$1}'
27
}
28
29
build() {
30
cd "$srcdir/$_name"
31
python -m build --wheel --no-isolation
32
}
33
34
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |