Release 2.2.0

Update version number and update documentation

* Resolve hostname using `uname -n` (#182)
* Use /etc/os-release if lsb_release is missing (#175)
* Issue warning for any invalid alternates found (#183)
* Add support for gawk (#180)
This commit is contained in:
Tim Byrne 2019-12-05 16:53:16 -06:00
parent 397d45ccd0
commit 96bce8dbac
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
7 changed files with 52 additions and 41 deletions

View File

@ -1,3 +1,9 @@
2.2.0
* Resolve hostname using `uname -n` (#182)
* Use /etc/os-release if lsb_release is missing (#175)
* Issue warning for any invalid alternates found (#183)
* Add support for gawk (#180)
2.1.0
* Use relative symlinks for alternates (#100, #177)
* Support double-star globs in .config/yadm/encrypt (#109)

View File

@ -4,21 +4,22 @@ Tim Byrne
Espen Henriksen
Ross Smith II
Cameron Eagans
David Mandelberg
Klas Mellbourn
David Mandelberg
Daniel Gray
Jan Schulz
Satoshi Ohki
Sheng Yang
Siôn Le Roux
Sébastien Gross
Thomas Luzat
Tomas Cernaj
Uroš Golja
con-f-use
Brayden Banks
japm48
Daniel Gray
Daniel Wagenknecht
Franciszek Madej
Mateusz Piotrowski
Paraplegic Racehorse
Patrick Hof
Satoshi Ohki
Sheng Yang

View File

@ -42,7 +42,7 @@ Features, usage, examples and installation instructions can be found on the
[master-badge]: https://img.shields.io/travis/TheLocehiliosan/yadm/master.svg?label=master
[master-commits]: https://github.com/TheLocehiliosan/yadm/commits/master
[master-date]: https://img.shields.io/github/last-commit/TheLocehiliosan/yadm/master.svg?label=master
[obs-badge]: https://img.shields.io/badge/OBS-v2.1.0-blue
[obs-badge]: https://img.shields.io/badge/OBS-v2.2.0-blue
[obs-link]: https://software.opensuse.org//download.html?project=home%3ATheLocehiliosan%3Ayadm&package=yadm
[releases-badge]: https://img.shields.io/github/tag/TheLocehiliosan/yadm.svg?label=latest+release
[releases-link]: https://github.com/TheLocehiliosan/yadm/releases

2
yadm
View File

@ -20,7 +20,7 @@ if [ -z "$BASH_VERSION" ]; then
[ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
fi
VERSION=2.1.0
VERSION=2.2.0
YADM_WORK="$HOME"
YADM_DIR=

2
yadm.1
View File

@ -1,5 +1,5 @@
." vim: set spell so=8:
.TH yadm 1 "27 November 2019" "2.1.0"
.TH yadm 1 "6 December 2019" "2.2.0"
.SH NAME

10
yadm.md
View File

@ -363,7 +363,8 @@
distro, d
Valid if the value matches the distro. Distro is calculated by
running lsb_release -si.
running lsb_release -si or by inspecting the ID from /etc/os-
release.
os, o Valid if the value matches the OS. OS is calculated by running
uname -s.
@ -376,7 +377,7 @@
hostname, h
Valid if the value matches the short hostname. Hostname is cal-
culated by running hostname, and trimming off any domain.
culated by running uname -n, and trimming off any domain.
default
Valid when no other alternate is valid.
@ -497,7 +498,7 @@
------------- ------------- --------------------------
yadm.class YADM_CLASS Locally defined yadm class
yadm.distro YADM_DISTRO lsb_release -si
yadm.hostname YADM_HOSTNAME hostname (without domain)
yadm.hostname YADM_HOSTNAME uname -n (without domain)
yadm.os YADM_OS uname -s
yadm.user YADM_USER id -u -n
yadm.source YADM_SOURCE Template filename
@ -505,6 +506,9 @@
NOTE: The OS for "Windows Subsystem for Linux" is reported as "WSL",
even though uname identifies as "Linux".
NOTE: If lsb_release is not available, DISTRO will be the ID specified
in /etc/os-release.
Examples:
whatever##template with the following content

View File

@ -1,7 +1,7 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: yadm
Summary: Yet Another Dotfiles Manager
Version: 2.1.0
Version: 2.2.0
Group: Development/Tools
Release: 1%{?dist}
URL: https://yadm.io