kimono-koans / httm

Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even Time Machine and Restic backups!)
https://crates.io/crates/httm
Mozilla Public License 2.0
1.35k stars 29 forks source link

PKGBUILD doesn't install all scripts. #88

Closed magnetophon closed 10 months ago

magnetophon commented 10 months ago

I looked at the PKGBUILD as inspiration for updating the NixOS pkg, and I noticed it installs only 2 out of the 3 scripts.

kimono-koans commented 10 months ago

Thanks for letting me know!

The PKGBUILD is almost always out of date, and that script is not as important to the function of httm as the other two, but, yes, it should be included in any package. See: https://github.com/kimono-koans/httm/commit/e1ec7937cb2ac0d5930d03199d6e76046ef3c949

Re: Nix specifically, you might also see: https://github.com/kimono-koans/httm/pull/86

What I really could use is help understanding how to integrate with Github Actions CI/CD, which is something I barely understand. I build for Debian/Ubuntu and Red Hat, and upload the binaries to release (see: https://github.com/kimono-koans/httm/blob/master/.github/workflows/package-build.yml), but anything that requires a secret key I do via local scripts later, but I'd like to do automatically via Github Actions for platforms of interest like Nix and Homebrew (see: https://github.com/kimono-koans/httm/pull/81).

magnetophon commented 10 months ago

I included it in my update: https://github.com/NixOS/nixpkgs/pull/267886 As for the flake and the CI/CD: I haven't used those much yet, so I'm afraid I won't be of much help there.