rpm-update-history

Compile information about RPM update history and send to a centralized history server

rpm-update-history

OpenSSF Best Practices SemVer Contributor Covenant

The RPM Update History project aims to track package history on RPM systems, compiling data on the number of updates and installs. Designed to enhance system reliability, this initiative collects and centralizes information, providing valuable insights into the evolution of packages.

Installation

TODO: Write installation instructions here

Usage

TODO: Write usage instructions here

Development

To make changes on this project, you need:

Crystal

curl -fsSL https://crystal-lang.org/install.sh | sudo bash

Podman

sudo dnf install -y podman podman-docker
sudo touch /etc/containers/nodocker

Want docker instead of Podman? read the Engine Install doc for instructions.

nFPM

echo '[goreleaser]
name=GoReleaser
baseurl=https://repo.goreleaser.com/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/goreleaser.repo
sudo yum install -y nfpm

Development commands

While modifying the source code:

  • shards install: install any new shard dependency
  • shards run: run the project. To pass the rpm-update-history commands, use --. Ex.: shards run -- --build

To create the binary and distribute

  • make clean: remove compiled binaries and packages, and reset database file
  • make docker: build a docker image to statically compile the project
  • make build: build a production-ready binary on ./bin directory
  • make build-static: same as make build, but statically linked
  • make man: compile the man rpm-update-history manpage
  • make rpm: create new .rpm package

Contributing

  1. Fork it (https://github.com/rdeavila/rpm-update-history/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Repository

rpm-update-history

Owner
Statistic
  • 0
  • 0
  • 1
  • 0
  • 2
  • 1 day ago
  • October 12, 2023
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 17:45:43 GMT

Languages