Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

daminoac
Copy link

@daminoac daminoac commented Oct 2, 2025

需要在secrets中配置以下信息
AUR_USERNAME:aur账户名
AUR_EMAIL:aur账户邮箱
AUR_SSH_PRIVATE_KEY:aur ssh私钥

Comment on lines +18 to +20
sha512sums_x86_64=('SKIP')
sha512sums_aarch64=('SKIP')
sha512sums_armv7h=('SKIP')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ 此处的 sha512sums 被统一指定为 ('SKIP') 是否合理?除 SHA512 外,AUR 的 PKGBUILD 是否还支持其他哈希算法,例如 SHA256 ?

GitHub 官方现已支持自动为所有 Release Assets 计算 SHA256 值,可以通过 GitHub CLI 从 GitHub GraphQL API 中获取,在此处指定能够提升发行安全性,确保其底层使用的 deb 与官方一致。

21:43:33 D:\Repository 0ms pwsh
$ gh release view 'autobuild' --repo clash-verge-rev/clash-verge-rev --json assets --jq '.assets' |
> ConvertFrom-Json |
> Where-Object -Property name -Match '.deb' |
> Select-Object -Property name, digest

name                                               digest
----                                               ------
Clash.Verge_2.4.3+autobuild.1003.c5023b4_amd64.deb sha256:fd0eb9938a7b743f073c5a4755b587827d31c8a1d827b495e315b6d367571554
Clash.Verge_2.4.3+autobuild.1003.c5023b4_arm64.deb sha256:2a8b4297277e06058d635daa7e3b20372a5d2f9da0e69ad264e5c55bb1b482fd
Clash.Verge_2.4.3+autobuild.1003.c5023b4_armhf.deb sha256:f4f4a254abb1bd39461e021e9bfb2b2063ac417db07a22830eddea1c9715df7e

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Arch Linux Wiki 有提及,PKGBUILD 支持包括 SHA256 在内的哈希算法,可以考虑加 Steps 把官方 SHA256 值刷进去。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Arch Linux Wiki 有提及,PKGBUILD 支持包括 SHA256 在内的哈希算法,可以考虑加 Steps 把官方 SHA256 值刷进去。

updpkgsums: true就是干这个的

@Tunglies
Copy link
Contributor

Tunglies commented Oct 4, 2025

https://aur.archlinux.org/packages/clash-verge-rev-bin

https://aur.archlinux.org/packages/clash-verge-rev-autobuild-bin

社区已经有人在做 AUR 推送了。我不太确定官方接受是否是件好事,并且我们没有 arch 环境来测试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.