mirror of
https://github.com/TheLocehiliosan/yadm
synced 2025-06-06 01:23:59 +00:00
Update CHANGES and prepare for 3.5.0
This commit is contained in:
parent
0e0172769d
commit
4f4c5e2914
9
CHANGES
9
CHANGES
@ -1,3 +1,12 @@
|
|||||||
|
3.5.0
|
||||||
|
* Silence warnings when collecting alt files (#521)
|
||||||
|
* Adjust handling of encrypt patterns to match 3.3.0 and older
|
||||||
|
* Make encrypt exclude patterns only match encrypted files
|
||||||
|
* Automatically exclude alt and template files (#234)
|
||||||
|
* Support negative alt conditions (#365)
|
||||||
|
* Handle filenames with space in bash completion (#341)
|
||||||
|
* Add new yadm.filename template variable (#520)
|
||||||
|
|
||||||
3.4.0
|
3.4.0
|
||||||
* Improve and harden alt file regeneration (#466)
|
* Improve and harden alt file regeneration (#466)
|
||||||
* Fix "yadm config" in fish completion (#491)
|
* Fix "yadm config" in fish completion (#491)
|
||||||
|
@ -9,6 +9,7 @@ Jonathan Daigle
|
|||||||
Luis López
|
Luis López
|
||||||
Tin Lai
|
Tin Lai
|
||||||
Espen Henriksen
|
Espen Henriksen
|
||||||
|
AaronYoung5
|
||||||
Cameron Eagans
|
Cameron Eagans
|
||||||
Klas Mellbourn
|
Klas Mellbourn
|
||||||
James Clark
|
James Clark
|
||||||
|
@ -78,7 +78,7 @@ The star count helps others discover yadm.
|
|||||||
[master-badge]: https://img.shields.io/github/actions/workflow/status/yadm-dev/yadm/test.yml?branch=master
|
[master-badge]: https://img.shields.io/github/actions/workflow/status/yadm-dev/yadm/test.yml?branch=master
|
||||||
[master-commits]: https://github.com/yadm-dev/yadm/commits/master
|
[master-commits]: https://github.com/yadm-dev/yadm/commits/master
|
||||||
[master-date]: https://img.shields.io/github/last-commit/yadm-dev/yadm/master.svg?label=master
|
[master-date]: https://img.shields.io/github/last-commit/yadm-dev/yadm/master.svg?label=master
|
||||||
[obs-badge]: https://img.shields.io/badge/OBS-v3.4.0-blue
|
[obs-badge]: https://img.shields.io/badge/OBS-v3.5.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/yadm-dev/yadm.svg?label=latest+release
|
[releases-badge]: https://img.shields.io/github/tag/yadm-dev/yadm.svg?label=latest+release
|
||||||
[releases-link]: https://github.com/yadm-dev/yadm/releases
|
[releases-link]: https://github.com/yadm-dev/yadm/releases
|
||||||
|
2
yadm
2
yadm
@ -22,7 +22,7 @@ if [ -z "$BASH_VERSION" ]; then
|
|||||||
[ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
|
[ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION=3.4.0
|
VERSION=3.5.0
|
||||||
|
|
||||||
YADM_WORK="$HOME"
|
YADM_WORK="$HOME"
|
||||||
YADM_DIR=
|
YADM_DIR=
|
||||||
|
2
yadm.1
2
yadm.1
@ -1,5 +1,5 @@
|
|||||||
.\" vim: set spell so=8:
|
.\" vim: set spell so=8:
|
||||||
.TH YADM 1 "February 9, 2025" "3.4.0"
|
.TH YADM 1 "March 3, 2025" "3.5.0"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
|
||||||
|
46
yadm.md
46
yadm.md
@ -269,8 +269,9 @@
|
|||||||
create the alternate links. This feature is enabled by default.
|
create the alternate links. This feature is enabled by default.
|
||||||
|
|
||||||
yadm.auto-exclude
|
yadm.auto-exclude
|
||||||
Disable the automatic exclusion of patterns defined in
|
Disable the automatic exclusion of created alternate links, tem‐
|
||||||
$HOME/.config/yadm/encrypt. This feature is enabled by default.
|
plate files and patterns defined in $HOME/.config/yadm/encrypt.
|
||||||
|
This feature is enabled by default.
|
||||||
|
|
||||||
yadm.auto-perms
|
yadm.auto-perms
|
||||||
Disable the automatic permission changes described in the sec‐
|
Disable the automatic permission changes described in the sec‐
|
||||||
@ -382,9 +383,11 @@
|
|||||||
Each condition is an attribute/value pair, separated by a period. Some
|
Each condition is an attribute/value pair, separated by a period. Some
|
||||||
conditions do not require a "value", and in that case, the period and
|
conditions do not require a "value", and in that case, the period and
|
||||||
value can be omitted. Most attributes can be abbreviated as a single
|
value can be omitted. Most attributes can be abbreviated as a single
|
||||||
letter.
|
letter. Prefixing an attribute with "~" negates the condition, meaning
|
||||||
|
the condition is considered only if the attribute/value pair evaluates
|
||||||
|
to false.
|
||||||
|
|
||||||
<attribute>[.<value>]
|
[~]<attribute>[.<value>]
|
||||||
|
|
||||||
NOTE: Value is compared case-insensitive.
|
NOTE: Value is compared case-insensitive.
|
||||||
|
|
||||||
@ -410,16 +413,16 @@
|
|||||||
the CONFIGURATION section for more details about setting lo‐
|
the CONFIGURATION section for more details about setting lo‐
|
||||||
cal.class.
|
cal.class.
|
||||||
|
|
||||||
distro, d
|
|
||||||
Valid if the value matches the distro. Distro is calculated by
|
|
||||||
running lsb_release -si or by inspecting the ID from /etc/os-re‐
|
|
||||||
lease.
|
|
||||||
|
|
||||||
distro_family, f
|
distro_family, f
|
||||||
Valid if the value matches the distro family. Distro family is
|
Valid if the value matches the distro family. Distro family is
|
||||||
calculated by inspecting the ID_LIKE line from /etc/os-release
|
calculated by inspecting the ID_LIKE line from /etc/os-release
|
||||||
(or ID if no ID_LIKE line is found).
|
(or ID if no ID_LIKE line is found).
|
||||||
|
|
||||||
|
distro, d
|
||||||
|
Valid if the value matches the distro. Distro is calculated by
|
||||||
|
running lsb_release -si or by inspecting the ID from /etc/os-re‐
|
||||||
|
lease.
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
@ -449,8 +452,10 @@
|
|||||||
The "most appropriate" version is determined by calculating a score for
|
The "most appropriate" version is determined by calculating a score for
|
||||||
each version of a file. A template is always scored higher than any
|
each version of a file. A template is always scored higher than any
|
||||||
symlink condition. The number of conditions is the next largest factor
|
symlink condition. The number of conditions is the next largest factor
|
||||||
in scoring. Files with more conditions will always be favored. Any in‐
|
in scoring; files with more conditions will always be favored. Negative
|
||||||
valid condition will disqualify that file completely.
|
conditions (prefixed with "~") are scored only relative to the number
|
||||||
|
of non-negated conditions. Any invalid condition will disqualify that
|
||||||
|
file completely.
|
||||||
|
|
||||||
If you don't care to have all versions of alternates stored in the same
|
If you don't care to have all versions of alternates stored in the same
|
||||||
directory as the generated symlink, you can place them in the
|
directory as the generated symlink, you can place them in the
|
||||||
@ -462,6 +467,7 @@
|
|||||||
|
|
||||||
- $HOME/path/example.txt##default
|
- $HOME/path/example.txt##default
|
||||||
- $HOME/path/example.txt##class.Work
|
- $HOME/path/example.txt##class.Work
|
||||||
|
- $HOME/path/example.txt##class.Work,~os.Darwin
|
||||||
- $HOME/path/example.txt##os.Darwin
|
- $HOME/path/example.txt##os.Darwin
|
||||||
- $HOME/path/example.txt##os.Darwin,hostname.host1
|
- $HOME/path/example.txt##os.Darwin,hostname.host1
|
||||||
- $HOME/path/example.txt##os.Darwin,hostname.host2
|
- $HOME/path/example.txt##os.Darwin,hostname.host2
|
||||||
@ -491,10 +497,18 @@
|
|||||||
|
|
||||||
$HOME/path/example.txt -> $HOME/path/example.txt##default
|
$HOME/path/example.txt -> $HOME/path/example.txt##default
|
||||||
|
|
||||||
If running on a system, with class set to "Work", the link will be:
|
If running on a Macbook with class set to "Work", the link will be:
|
||||||
|
|
||||||
$HOME/path/example.txt -> $HOME/path/example.txt##class.Work
|
$HOME/path/example.txt -> $HOME/path/example.txt##class.Work
|
||||||
|
|
||||||
|
Since class has higher precedence than os, this version is chosen.
|
||||||
|
|
||||||
|
If running on a system with class set to "Work", but instead within
|
||||||
|
Windows Subsystem for Linux, where the os is reported as WSL, the link
|
||||||
|
will be:
|
||||||
|
|
||||||
|
$HOME/path/example.txt -> $HOME/path/example.txt##class.Work,~os.Darwin
|
||||||
|
|
||||||
If no "##default" version exists and no files have valid conditions,
|
If no "##default" version exists and no files have valid conditions,
|
||||||
then no link will be created.
|
then no link will be created.
|
||||||
|
|
||||||
@ -505,6 +519,9 @@
|
|||||||
abled using the yadm.auto-alt configuration. Even if disabled, links
|
abled using the yadm.auto-alt configuration. Even if disabled, links
|
||||||
can be manually created by running yadm alt.
|
can be manually created by running yadm alt.
|
||||||
|
|
||||||
|
Created links are automatically added to the repository's info/exclude
|
||||||
|
file. This can be disabled using the yadm.auto-exclude configuration.
|
||||||
|
|
||||||
Class is a special value which is stored locally on each host (inside
|
Class is a special value which is stored locally on each host (inside
|
||||||
the local repository). To use alternate symlinks using class, you must
|
the local repository). To use alternate symlinks using class, you must
|
||||||
set the value of class using the configuration local.class. This is
|
set the value of class using the configuration local.class. This is
|
||||||
@ -568,6 +585,8 @@
|
|||||||
yadm.classes YADM_CLASSES All classes
|
yadm.classes YADM_CLASSES All classes
|
||||||
yadm.distro YADM_DISTRO lsb_release -si
|
yadm.distro YADM_DISTRO lsb_release -si
|
||||||
yadm.distro_family YADM_DISTRO_FAMILY ID_LIKE from /etc/os-release
|
yadm.distro_family YADM_DISTRO_FAMILY ID_LIKE from /etc/os-release
|
||||||
|
yadm.filename Filename for the current
|
||||||
|
file
|
||||||
yadm.hostname YADM_HOSTNAME uname -n (without domain)
|
yadm.hostname YADM_HOSTNAME uname -n (without domain)
|
||||||
yadm.os YADM_OS uname -s
|
yadm.os YADM_OS uname -s
|
||||||
yadm.source YADM_SOURCE Template filename
|
yadm.source YADM_SOURCE Template filename
|
||||||
@ -621,6 +640,9 @@
|
|||||||
<%+ whatever.extra %>
|
<%+ whatever.extra %>
|
||||||
<% fi -%>
|
<% fi -%>
|
||||||
|
|
||||||
|
Created files are automatically added to the repository's info/exclude
|
||||||
|
file. This can be disabled using the yadm.auto-exclude configuration.
|
||||||
|
|
||||||
|
|
||||||
## ENCRYPTION
|
## ENCRYPTION
|
||||||
It can be useful to manage confidential files, like SSH or GPG keys,
|
It can be useful to manage confidential files, like SSH or GPG keys,
|
||||||
|
@ -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: 3.4.0
|
Version: 3.5.0
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
URL: https://yadm.io
|
URL: https://yadm.io
|
||||||
|
Loading…
Reference in New Issue
Block a user