From 2eb5736b9ba0eb66cc11b2d8006313660defc464 Mon Sep 17 00:00:00 2001 From: Tony Garcia Date: Thu, 12 Jul 2018 11:51:29 -0500 Subject: [PATCH] Release 1.4.0 --- CHANGELOG.md | 13 +++++++++++++ README.md | 55 ++++++++++++++++++++++++++++++++++++++++++++++++---- src/recap | 2 +- 3 files changed, 65 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08844d2..2a8c354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,19 @@ # Change Log All notable changes to this project will be documented in this file. +## [Unreleased] - +- Plugin support + +## [1.4.0] - 2018-07-12 +- Continue with the deprecation of `/etc/recap` config file for `/etc/recap.conf` + - New config file now takes precedence over old one. +- Added support to multiple mysql config files. +- Bug fixes: + - Use defaults-file instead of defaults-extra-file + - Better handling on stderr. + - Disk space compatibility for el6. + - Set right perms to BASEDIR on runtime. + ## [1.3.0] - 2017-12-06 - Start the deprecation of `/etc/recap` config file for `/etc/recap.conf`. - Add systemd support for units and timers. diff --git a/README.md b/README.md index ff9668b..e7f3a62 100644 --- a/README.md +++ b/README.md @@ -51,13 +51,60 @@ dnf install recap yum install recap ``` -### Ubuntu +### Debian / Ubuntu -At the moment there is no public repository for Ubuntu, use the [manual installation](#manual) method. +At the moment there is no public repository for Debian nor Ubuntu, two options are available: -### Debian +#### Build a package + +This repository https://github.com/raxpkg/recap contains the debian files required to build a deb package + +These are the steps: + +```bash +# Install all the packages required for building the package +apt-get update +apt-get install debhelper devscripts git -y + +## For Ubuntu: +apt-get install equivs -y + +# Create the working dir: +mkdir recap +cd recap + +# Get the debian configs +git init +git remote add origin https://github.com/raxpkg/recap.git +git fetch --no-tags origin +git checkout -qf FETCH_HEAD +git submodule update --init --recursive +export LATEST=$( git log --format="%h" --no-merges -1 ) + +# Build dependencies +echo "yes" | mk-build-deps --install --remove debian/control + +# Get upstream recap code +git checkout --orphan upstream +git reset --hard +git remote add upstream https://github.com/rackerlabs/recap.git +git fetch -t upstream +latest_tag=$( git tag | tail -1 ) +git archive ${latest_tag} -o ../recap_${latest_tag}.orig.tar.gz +tar -zxf ../recap_${latest_tag}.orig.tar.gz +git fetch --no-tags origin +git checkout ${LATEST} -- debian + +# Build the package +debuild -us -uc --lintian-opts --profile debian + +# Package will be created in ../recap__all.deb +``` + +#### Manual install + +Use the [manual installation](#manual) method. -At the moment there is no public repository for Debian, use the [manual installation](#manual) method. ### Manual diff --git a/src/recap b/src/recap index 9b13c27..8723131 100755 --- a/src/recap +++ b/src/recap @@ -26,7 +26,7 @@ #~ ## Version -declare -r _VERSION='1.3.0' +declare -r _VERSION='1.4.0' ## Default settings(can *NOT* be overriden in config file) declare -r DATE=$( date +%F_%T )