rpm-update-history
rpm-update-history
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 dependencyshards run
: run the project. To pass therpm-update-history
commands, use--
. Ex.:shards run -- --build
To create the binary and distribute
make clean
: remove compiled binaries and packages, and reset database filemake docker
: build a docker image to statically compile the projectmake build
: build a production-ready binary on./bin
directorymake build-static
: same asmake build
, but statically linkedmake man
: compile theman rpm-update-history
manpagemake rpm
: create new.rpm
package
Contributing
- Fork it (https://github.com/rdeavila/rpm-update-history/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - 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