ffsend icon indicating copy to clipboard operation
ffsend copied to clipboard

Release Debian/Ubuntu package through PPA

Open sbrl opened this issue 5 years ago • 6 comments

An apt repository for those using a Debian-base distribution who don't use snap would be great.

Since packages are already been generated for other platforms, perhaps a tool like fpm could be used to convert 1 to the other?

Guides exist to walk through the setting up of an apt repo too, though of course the apache server doesn't have to be used - another or a pre-existing server can be used instead.

sbrl avatar Apr 14 '19 22:04 sbrl

Yes, I like this. I primarily use Debian/Ubuntu based systems myself and like real packages better in contrast to snap.

About half a year ago I attempted to build a .deb package, and wanted to publish it to my personal PPA. I didn't really find clear instructions on how to properly do that with a Rust binary though, and eventually stopped attempting it because I had to focus on other things. I do have a script available to build a .deb package, but actually publishing the source version to the PPA would be the next step.

I don't have time to look into this right now, but I definitely want to implement and release this as soon as possible. Thank you for linking the guide, it seems interesting. It might help me realize this.

Steps I'd have to take to implement this:

  • Create a CI job to generate .deb package, utilize create_deb for this, port the script
  • Mark .deb package as artifact on CI
  • Publish .deb package as release artifact on GitHub
  • Figure out how to properly build a source pakcage
  • Figure out how to publish a source package to my personal PPA
  • Automate package releases and PPA publishes on CI

timvisee avatar Apr 15 '19 21:04 timvisee

@timvisee Please release packages on the Debian's official repos.

lyndalopez544 avatar Jun 10 '19 10:06 lyndalopez544

@aurora-of-earth Not sure whether that'll happen, since getting stuff into mainline Debian is really hard & takes ages. An apt repo is a much quicker solution

sbrl avatar Jun 12 '19 22:06 sbrl

PPA is Ubuntu's exclusive and requires to be set up to work (poorly) on Debian. A deb repo is better than PPA being simpler, faster and better integrated in the system.

m3thm4th avatar Nov 07 '21 01:11 m3thm4th

Ah, that's just my poor choice of wording there @m3thm4th haha

sbrl avatar Nov 07 '21 14:11 sbrl

fwiw this is kinda blocked by https://github.com/timvisee/ffsend-api/issues/68 ; I prepared all other dependencies for debian. Introducing a deprecated package (websockets) is not a good idea; unfortunately this blocks a debian package.

werdahias avatar Jul 09 '23 18:07 werdahias