Release 2.1.0

Update version number and update documentation

* Use relative symlinks for alternates (#100, #177)
* Support double-star globs in .config/yadm/encrypt (#109)
* Improve bash completion (#136)
* Update docs about using magit (#123)
* Note exception for WSL (#113)
This commit is contained in:
Tim Byrne 2019-11-27 07:21:44 -06:00
parent ecbffdbb28
commit 75c19c9cc0
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
7 changed files with 120 additions and 96 deletions

View File

@ -1,3 +1,10 @@
2.1.0
* Use relative symlinks for alternates (#100, #177)
* Support double-star globs in .config/yadm/encrypt (#109)
* Improve bash completion (#136)
* Update docs about using magit (#123)
* Note exception for WSL (#113)
2.0.1
* Fix bug with worktree permissions (#174)

View File

@ -2,11 +2,13 @@ CONTRIBUTORS
Tim Byrne
Espen Henriksen
Cameron Eagans
Ross Smith II
Cameron Eagans
David Mandelberg
Klas Mellbourn
Jan Schulz
Satoshi Ohki
Sheng Yang
Siôn Le Roux
Sébastien Gross
Thomas Luzat
@ -14,6 +16,7 @@ Tomas Cernaj
Uroš Golja
Brayden Banks
japm48
Daniel Gray
Daniel Wagenknecht
Franciszek Madej
Mateusz Piotrowski

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.0.1-blue
[obs-badge]: https://img.shields.io/badge/OBS-v2.1.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.0.1
VERSION=2.1.0
YADM_WORK="$HOME"
YADM_DIR=

2
yadm.1
View File

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

22
yadm.md
View File

@ -116,16 +116,23 @@
the same way you leave your normal shell (usually with the
"exit" command). This sub-shell can be used to easily interact
with your yadm repository using "git" commands. This could be
useful if you are using a tool which uses Git directly. For
example, Emacs Tramp and Magit can manage files by using this
configuration:
useful if you are using a tool which uses Git directly.
For example, Emacs Tramp and Magit can manage files by using
this configuration:
(add-to-list 'tramp-methods
'("yadm"
(tramp-login-program "yadm")
(tramp-login-args (("enter")))
(tramp-login-env (("SHELL") ("/bin/sh")))
(tramp-remote-shell "/bin/sh")
(tramp-remote-shell-args ("-c"))))
With this config, use (magit-status "/yadm::"). If you find
issue with Emacs 27 and zsh, trying running (setenv "SHELL"
"/bin/bash").
gitconfig
Pass options to the git config command. Since yadm already uses
the config command to manage its own configurations, this com-
@ -375,6 +382,9 @@
Valid when no other alternate is valid.
NOTE: The OS for "Windows Subsystem for Linux" is reported as "WSL",
even though uname identifies as "Linux".
You may use any number of conditions, in any order. An alternate will
only be used if ALL conditions are valid. For all files managed by
yadm's repository or listed in $HOME/.config/yadm/encrypt, if they
@ -492,6 +502,9 @@
yadm.user YADM_USER id -u -n
yadm.source YADM_SOURCE Template filename
NOTE: The OS for "Windows Subsystem for Linux" is reported as "WSL",
even though uname identifies as "Linux".
Examples:
whatever##template with the following content
@ -536,7 +549,8 @@
.ssh/*.key
.gnupg/*.gpg
Standard filename expansions (*, ?, [) are supported. Other shell
Standard filename expansions (*, ?, [) are supported. If you have Bash
version 4, you may use "**" to match all subdirectories. Other shell
expansions like brace and tilde are not supported. Spaces in paths are
supported, and should not be quoted. If a directory is specified, its
contents will be included, but not recursively. Paths beginning with a

View File

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