cat-in-136 / cargo-generate-rpm

Cargo helper command to generate a binary RPM package
MIT License
92 stars 19 forks source link

Rename package.metadata.generate-rpm.repository to url #55

Closed cat-in-136 closed 1 year ago

cat-in-136 commented 1 year ago

54 introduced package.metadata.generate-rpm.repository to specify URL of the rpm file. But, "URL" is intended to store the URL of the package home page, not the repository URL. So, package.metadata.generate-rpm.repository should be renamed to package.metadata.generate-rpm.url.

Due to same reason, its fallback should be "package.homepage". package.repository should be also used for second fallback when neither package.metadata.generate-rpm.url nor package.homepage exists. Because today there is many projects where package.repository present but package.url not present.