1
0
Fork 0
mirror of synced 2024-12-22 06:31:07 -05:00

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 2.1.0
* Use relative symlinks for alternates (#100, #177) * Use relative symlinks for alternates (#100, #177)
* Support double-star globs in .config/yadm/encrypt (#109) * Support double-star globs in .config/yadm/encrypt (#109)

View file

@ -4,21 +4,22 @@ Tim Byrne
Espen Henriksen Espen Henriksen
Ross Smith II Ross Smith II
Cameron Eagans Cameron Eagans
David Mandelberg
Klas Mellbourn Klas Mellbourn
David Mandelberg
Daniel Gray
Jan Schulz Jan Schulz
Satoshi Ohki
Sheng Yang
Siôn Le Roux Siôn Le Roux
Sébastien Gross Sébastien Gross
Thomas Luzat Thomas Luzat
Tomas Cernaj Tomas Cernaj
Uroš Golja Uroš Golja
con-f-use
Brayden Banks Brayden Banks
japm48 japm48
Daniel Gray
Daniel Wagenknecht Daniel Wagenknecht
Franciszek Madej Franciszek Madej
Mateusz Piotrowski Mateusz Piotrowski
Paraplegic Racehorse Paraplegic Racehorse
Patrick Hof 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-badge]: https://img.shields.io/travis/TheLocehiliosan/yadm/master.svg?label=master
[master-commits]: https://github.com/TheLocehiliosan/yadm/commits/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 [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 [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-badge]: https://img.shields.io/github/tag/TheLocehiliosan/yadm.svg?label=latest+release
[releases-link]: https://github.com/TheLocehiliosan/yadm/releases [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" "$@" [ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
fi fi
VERSION=2.1.0 VERSION=2.2.0
YADM_WORK="$HOME" YADM_WORK="$HOME"
YADM_DIR= YADM_DIR=

2
yadm.1
View file

@ -1,5 +1,5 @@
." vim: set spell so=8: ." 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 .SH NAME

10
yadm.md
View file

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

View file

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