Package as deb and publish to package registry #1

Closed
opened 2024-07-09 19:58:57 +02:00 by oysteikt · 4 comments
Owner

Add fitting metadata, package using cargo-deb and push to local gitea packages index.

Potentially create release pipeline, automating the process

Add fitting metadata, package using `cargo-deb` and push to local gitea packages index. Potentially create release pipeline, automating the process
oysteikt added reference dpkg-packaging 2024-07-09 19:59:00 +02:00
oysteikt added the feature request label 2024-07-28 15:24:58 +02:00
oysteikt added the packaging label 2024-07-28 15:30:11 +02:00
oysteikt added this to the Initial release milestone 2024-08-06 02:04:08 +02:00
oysteikt self-assigned this 2024-08-06 02:48:48 +02:00
Author
Owner

Added pipeline in 9d3b543998

Added pipeline in 9d3b5439989968ad96fa74f3c71a361b92e57468
Author
Owner

Only remaining part is to test that the deb is packaged correctly and works out of the box on debian/ubuntu.

Although this should preferably be done repeatedly, it's not entirely trivial to do so. Maybe fork and introduce networking support to https://github.com/numtide/nix-vm-test?

Publishing to the package index will happen manually on release

Only remaining part is to test that the `deb` is packaged correctly and works out of the box on debian/ubuntu. Although this should preferably be done repeatedly, it's not entirely trivial to do so. Maybe fork and introduce networking support to https://github.com/numtide/nix-vm-test? Publishing to the package index will happen manually on release
Author
Owner

Successfully pushed a test package with

curl -X PUT --user oysteikt:<GITEA_TOKEN> --upload-file muscl_0.1.0-1_amd64.deb https://git.pvv.ntnu.no/api/packages/Projects/debian/pool/trixie/main/upload
Successfully pushed a test package with ``` curl -X PUT --user oysteikt:<GITEA_TOKEN> --upload-file muscl_0.1.0-1_amd64.deb https://git.pvv.ntnu.no/api/packages/Projects/debian/pool/trixie/main/upload ```
Author
Owner

Successfully tested and documented installing via apt repo, considering this task finished.

Successfully tested and documented installing via apt repo, considering this task finished.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Projects/muscl#1