feat: add pkgbuild manager (Arch Linux PKGBUILD)#39466
feat: add pkgbuild manager (Arch Linux PKGBUILD)#39466M0Rf30 wants to merge 1 commit intorenovatebot:mainfrom
Conversation
bd3da39 to
029575d
Compare
029575d to
db3f29d
Compare
db3f29d to
2217fad
Compare
RahulGautamSingh
left a comment
There was a problem hiding this comment.
Thanks for the PR!
I have done a half-review..and will review again after changes are applied.
Please, use the review request feature for notifying.
aff9917 to
5a4d5d8
Compare
b54a48b to
52592ef
Compare
84e697c to
3d76b8b
Compare
@RahulGautamSingh I think it's ready now. I'm writing here because I requested a review some time ago. Some time has passed, and here we are 😄 |
ba03359 to
91a0559
Compare
d417b81 to
b0f6ffb
Compare
b0f6ffb to
bb48672
Compare
|
@M0Rf30 does your change include also the Does it work also with |
PyPI is fully supported The implementation downloads the source archive directly and computes all checksums programmatically using Node's crypto module. It automatically calculates all checksum types present in the PKGBUILD (sha256, sha512, b2, md5). This manager is designed for versioned releases, not VCS sources. Git packages (like -git AUR packages that track HEAD) use git+ URLs and have dynamic pkgver() functions rather than static versions, so they're fundamentally incompatible with this approach. The manager only handles versioned tarballs/archives from known sources. |
|
Grande! For git versioning I'll try to look for another bot if existing. For this PR, is there something additional you need to add on the code, or it needs only to be reviewed and merged? Also svc stable sources are supported? |
bb48672 to
227440c
Compare
8ab6f98 to
a7e2456
Compare
d802086 to
2c8e0f3
Compare
ff1fee4 to
2ad8b40
Compare
2ad8b40 to
5ed521c
Compare
RahulGautamSingh
left a comment
There was a problem hiding this comment.
Waiting for reply for: #39466 (review)
Not expected, so I fixed the error. Now custom variables expansion is done correctly in assignments ( |
5ed521c to
733edde
Compare
733edde to
832226d
Compare
|
A couple more spots that should switch to named capture groups, matching what
|
832226d to
4da704f
Compare
Summary
Adds a new manager for Arch Linux PKGBUILD files. Automatically detects new versions, updates
pkgver, resetspkgrel, downloads source archives, computes checksums, and creates pull requests.What it does
pkgverto the new versionpkgrelto 1 (Arch convention)sha256sums,sha512sums,b2sums,md5sumsSupported package sources
GitHub
GitLab
PyPI (Python)
npm (Node.js)
CPAN (Perl)
Packagist (PHP)
Gitea
Forgejo
Generic Git repositories
Repology (fallback)
# renovate: repology=repo/packageAdditional features
${pkgver},$pkgver,${_pkgver},$_pkgversha256sums_x86_64,sha256sums_aarch64, etc.${pkgver})What it doesn't support
git+https://...)-gitpackages that track HEAD/latest commitpkgver()functionsExample
Renovate detects GitHub, updates pkgver, resets pkgrel, downloads new tarball, computes new checksum.
Context
AI assistance disclosure
Documentation
How I've tested my work