mirror of
https://github.com/fosskers/cargo-aur.git
synced 2026-03-09 07:13:12 -05:00
Make "homepage" optional in Cargo.toml #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bunburya on GitHub (Feb 24, 2024).
This tool appears to fail if the
homepagefield is not specified inCargo.toml. C-METADATA, which is linked in the README, states thathomepageis optional and further states:Given that a lot of crates these days will just have a repository URL and not a separate homepage, I think it would be good to make
homepageoptional incargo-aur(following the approach in C-METADATA). Theurlfield in the PKGBUILD could be set tohomepageor, if that is not present,documentationor, if that is not present,repository(the last being a required field per C-METADATA).Happy to work on a PR for this if helpful.
@fosskers commented on GitHub (Feb 24, 2024):
Great suggestion. Want to give it a shot?