atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Missing proper RPM packaging

Open igmar opened this issue 1 year ago • 7 comments

Placeholder story, implementation is WIP.

Initial targeted distro's :

Fedora Core 38

Next :

FC37 RHEL 7,8,9

After : Depending on requests

igmar avatar May 20 '23 07:05 igmar

Fwiw, OpenSUSE packages atuin and shell completions (rpm): https://software.opensuse.org/search?q=Atuin

LeoniePhiline avatar Aug 01 '23 11:08 LeoniePhiline

Ok, I have the .spec file ready. Its not as trivial as I'd hoped tho : RHEL8 comes with rust 1.66, and atuin 16.0.0 needs rust 1.67 to compile, due to the usage of u32.ilog

Strangely, this is only an issue for RHEL8 : That has no other rust version available. RHEL9 is OK, and RHEL7 has very rust version in EPEL.

We have 2 options :

  1. We somehow get rid of the u32.ilog usage, so its compatible with rust 1.66

  2. I fixup a recent rust version on RHEL8

  3. is easiest, 2) requires a bit more work, and might be an issue for people that want to build their own package. I can do the builds on my own infra, and that produces proper binaries.

@ellie what is your opinion on this ?

igmar avatar Sep 13 '23 08:09 igmar

A quick 'hack' might be to bump rust to 1.67, that should be easy. I'll give that one a go first.

igmar avatar Sep 13 '23 08:09 igmar

Is the plan to provide packages via openSUSE Build Service or Copr?

SoMuchForSubtlety avatar Sep 13 '23 09:09 SoMuchForSubtlety

Is the plan to provide packages via openSUSE Build Service or Copr?

I'm going to use copr, and if not possible, my own build infra. For RHEL 7/9 I can get away with copr, for 8 it is probably going to be an issue.

igmar avatar Sep 13 '23 10:09 igmar

@igmar were you able to make any progress on this? I'm also interested in proper RPMs for atuin, and am willing to help with the packaging if needed :)

SriRamanujam avatar Dec 28 '23 04:12 SriRamanujam

@igmar any progress on this? If we can get a Fedora+epel-9 it is already a major step. I can help guide some automation with packit if upstream wants to support it. I don't have experience packaging rust projects though.

Link to the most recent effot https://github.com/SriRamanujam/atuin-rpmspec?

LecrisUT avatar Mar 05 '24 10:03 LecrisUT