Open danfuzz opened 1 year ago
+1 to this request.
jless
is not found in Fedora. I did compile it in my COPR repo from source in herE:
https://copr.fedorainfracloud.org/coprs/faramirza/al2023/package/jless/
I used the jless
github repo for the source and my fork has the spec file here:
https://github.com/daniejstriata/jless/blob/main/jless.spec
If you want to package your own.
That sound wonderful! But I must admit, I am completely out of my depth building Rust programs from source on Linux...
@daniejstriata - If you know from first-hand experience that it is possible - that is, to manually create a working binary on AWS EC2 (bonus points for RHEL8 as well!) - would you be able to share detailed, reproducible instructions for how to do that?
@cohml You can build for most RPM based distros in COPR.
4.2 Source Packages from other sources not found in Fedora/Centos-Stream.
builder-live.log.gz
Here is my `jless` github repo:
`https://github.com/daniejstriata/jless`
Look at the jless.spec.
As it is installing rust from the internet (I did not package the rust dependencies. I'm letting cargo do the heavy lifting by sourcing the required dependencies) therefore you need to tick the "Enable internet access during this build" when building this type of package. (Creating a package like that would not be allowed in Fedora proper. All your dependencies must be provided by the OS.)
You might want a host running al2023 and build the Spec file there before moving on to a COPR build.
Take note of the package's requirements like minimum versions of rust or gcc required to build the package. Can it build by following the steps from the developer provided on the Distro you need it on?
Don't build packages that change your system too much. Don't upgrade / rebuild core packages. If you do, from that point on you're no longer using the distro you started off with. You don't want a Frankenstein. unsafe { Dragons::hatch(); }
Once a package is built, install it somewhere to see that it does install and what else would change before adopting it.
Packages in the Project are automatically available to be used to build other packages which are depending on them.
Refer to. https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_GNU_Hello/ (I don't know of Fedora has an equivalent of the following) https://wiki.debian.org/DontBreakDebian
Once you have created a package, you can add the repo on your hosts by following the steps in CORP under the Overview section.
You are an absolute hero, thank you for your service!!
What package is missing from Amazon Linux 2023? Please describe and include package name.
Jless is a command-line / shell-based interactive JSON viewer, kinda like
less
but specifically for JSON (hence the name). Its home page is https://jless.io/.Is this an update to existing package or new package request?
New package request.
Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.
Not in Amazon Linux 2 (AFAIK). See https://jless.io/ at the bottom of the page for the list of ways it's currently packaged.
Any additional information you'd like to include. (use-cases, etc)
It's super-handy!