Skip to content

[Feature Request] Show all files with diffing #2888

Description

@pricklythorn

Is your feature request related to a problem? Please describe.

When updating a package, the diff only shows .gitignore and PKGBUILD, most notably .SRCINFO is excluded. That is a meaningful attack surface, many people will only check the PKGBUILD for malicious things, a malicious dependency could be silently placed in .SRCINFO with the PKGBUILD staying clean, or a malicious source link. It also extends to other files the PKGBUILD may use during building.

Describe the solution you'd like

That all files are diffed (by default at least).

Describe alternatives you've considered

.SRCINFO could be regenerated from the PKGBUILD at build time and verified against the provided one, that does not solve the problem of other files though.

Additional context

None.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions