tauri-apps / tauri

Build smaller, faster, and more secure desktop applications with a web frontend.
https://tauri.app
Apache License 2.0
81.94k stars 2.46k forks source link

[feat] Add maintainer field to Tauri configuration #10777

Closed spacey-sooty closed 2 weeks ago

spacey-sooty commented 3 weeks ago

Describe the problem

When installing debs build by Tauri I get a warning:

dpkg: warning: parsing file '/var/lib/dpkg/status' near line 2365 package 'choreo':
 missing 'Maintainer' field
dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 11 package 'choreo':
 missing 'Maintainer' field

Describe the solution you'd like

A solution to this would be adding a maintainer field to the Tauri configuration which can then be used in the build to add a maintainer to the package.

Alternatives considered

No response

Additional context

No response

lucasfernog commented 2 weeks ago

@spacey-sooty the Maintainer field comes from your Cargo.toml package > authors value: https://github.com/tauri-apps/tauri/blob/0d2efd9ff43b962f96950788b1461086302713b4/Cargo.toml#L38 can you double check if that's set? we should at least fallback to the "publisher" value

spacey-sooty commented 2 weeks ago

That value was not set, that would be the issue thanks! I couldn't find documentation for this at all? that might be nice to have.