Skip to content

Commit

Permalink
Release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyskapunk committed Jul 12, 2018
1 parent 8165435 commit 2eb5736
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 5 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
55 changes: 51 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_<version-release>_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

Expand Down
2 changes: 1 addition & 1 deletion src/recap
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 2eb5736

Please sign in to comment.