feat(packaging): add deb and rpm desktop targets#4069
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved Build/packaging configuration only - adds Linux deb/rpm package metadata and dependencies with no runtime behavior changes. Test coverage included for the new configuration. You can customize Macroscope's approvability policy. Learn more. |
Dismissing prior approval to re-evaluate 03b684c
What Changed
Added additional outputs to packaging script.
Why
Allows output of 2 linux packaging systems Deb and RPM
issue #4030
Checklist
Note
Low Risk
Packaging-only changes to build scripts and metadata; no runtime app or auth logic.
Overview
Adds x64 Linux
.deband.rpmpackaging via newdist:desktop:debanddist:desktop:rpmscripts that callbuild-desktop-artifact.tswith--output-dir packaging-output(also gitignored).createBuildConfignow sets Linux distribution fields—maintainer, vendor, synopsis,syncDesktopName—for all Linux targets..debbuilds get an explicitdeb.dependslist (GTK, NSS, libsecret, audio, etc.) from a sharedDEB_DEPENDENCIESconstant.The staged
package.jsonused during electron-builder gets richer metadata:homepage,license,desktopName, updated description/author email. A unit test asserts deb Linux config and dependency list.Reviewed by Cursor Bugbot for commit 8b75392. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add
debandrpmnpm build scripts for Linux desktop packagingdist:desktop:debanddist:desktop:rpmnpm scripts in package.json that invoke scripts/build-desktop-artifact.ts for x64 Linux builds, outputting topackaging-output/.syncDesktopName. Fordebtargets, adeb.dependslist is set covering GTK, NSS, libsecret, and other required system libraries.package.jsonused during builds is updated withhomepage,license,desktopName, a richer description, and author email.Macroscope summarized 8b75392.