scottchiefbaker / dool

Python3 compatible fork of dstat
GNU General Public License v3.0
323 stars 64 forks source link

Status of packaging for dool #4

Open aijanai opened 3 years ago

aijanai commented 3 years ago
SUMMARY

Hi,

I'd like to inquire about the current status and ongoing efforts for dool packaging and distribution.

dool seems to offer snap and rpm packages, but is not present in any of the major Unix distributions' repos.

We might want to elect some maintainers for:

Anything going on or contributions accepted by the author?

Thanks

curoky commented 2 years ago

https://github.com/Homebrew/homebrew-core/pull/87693 I am writing homebrew formula for dool, but it hasn't released yet. https://github.com/scottchiefbaker/dool/issues/4

pmoranga commented 2 years ago

Where can I find the RPM package built from it ?

scottchiefbaker commented 1 year ago

This is a great idea. I'd love to see dool packaged for more distros, and it should be very simple. I just updated the .spec file and it now builds correctly (I think) on my Rocky 8 system. I would accept any PRs for package maintainers.

Packaging dool should be simple and you can follow the flow in the install.py script.

  1. The dool script itself needs to go in your $PATH
  2. Plug-ins go in either /usr/share/dool/ or ~/.dool/
  3. The man page should go in /usr/share/man1/
raylu commented 11 months ago

haha I wrote a brew formula but dool doesn't work on macOS because it doesn't have /proc. leaving it here for posterity in case dool one day does

class Dool < Formula
  desc "Monitor your system"
  homepage "https://github.com/scottchiefbaker/dool"
  url "https://github.com/scottchiefbaker/dool/archive/refs/tags/v1.3.0.tar.gz"
  sha256 "a1537c27e62d12d00d79f60bec456e6a2ec4a0189d44a28ac1ed9effdcb0ec2d"
  license "GPL-3.0-or-later"
  depends_on "python"

  def install
    bin.install "dool"
    man1.install "docs/dool.1"
    pkgshare.install Dir["plugins/*.py"]
  end
end
anarcat commented 6 months ago

debian is tracked in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032875

scottchiefbaker commented 6 months ago

@anarcat that's good to know I hadn't seen that yet. Looks like Debian needs to be poked/updated as Dool is very mature now and well supported.

scottchiefbaker commented 6 months ago

I have submitted a request to have dool included in RHEL distros.

scottchiefbaker commented 4 months ago

@aijanai do you have any experience packaging things? I'd love to see this packages for Redhat and Debian but I don't have much experience with that.