Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit afab29c

Browse files
Update version number and update documentation
* Improve handling of submodules at upgrade (yadm-dev#284, yadm-dev#285, yadm-dev#293) * Improve Zsh completions (yadm-dev#292, yadm-dev#298) * Use stderr for error messages (yadm-dev#297)
1 parent 9b83169 commit afab29c

File tree

10 files changed

+28
-15
lines changed

10 files changed

+28
-15
lines changed

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
3.0.1
2+
* Improve handling of submodules at upgrade (#284, #285, #293)
3+
* Improve Zsh completions (#292, #298)
4+
* Use stderr for error messages (#297)
5+
16
3.0.0
27
* Support encryption with OpenSSL (#138)
38
* Support "include" directive in built-in template processor (#255)

CONTRIBUTORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
CONTRIBUTORS
22

33
Tim Byrne
4-
Martin Zuther
54
Erik Flodin
5+
Martin Zuther
66
Jan Schulz
77
Jonathan Daigle
88
Luis López

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The star count helps others discover yadm.
7272
[master-badge]: https://img.shields.io/github/workflow/status/TheLocehiliosan/yadm/Tests/master?label=master
7373
[master-commits]: https://github.com/TheLocehiliosan/yadm/commits/master
7474
[master-date]: https://img.shields.io/github/last-commit/TheLocehiliosan/yadm/master.svg?label=master
75-
[obs-badge]: https://img.shields.io/badge/OBS-v3.0.0-blue
75+
[obs-badge]: https://img.shields.io/badge/OBS-v3.0.1-blue
7676
[obs-link]: https://software.opensuse.org//download.html?project=home%3ATheLocehiliosan%3Ayadm&package=yadm
7777
[releases-badge]: https://img.shields.io/github/tag/TheLocehiliosan/yadm.svg?label=latest+release
7878
[releases-link]: https://github.com/TheLocehiliosan/yadm/releases

contrib/hooks/encrypt_with_checksums/post_encrypt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# yadm - Yet Another Dotfiles Manager
4-
# Copyright (C) 2015-2020 Tim Byrne and Martin Zuther
4+
# Copyright (C) 2015-2021 Tim Byrne and Martin Zuther
55

66
# This program is free software: you can redistribute it and/or modify
77
# it under the terms of the GNU General Public License as published by

contrib/hooks/encrypt_with_checksums/post_list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# yadm - Yet Another Dotfiles Manager
4-
# Copyright (C) 2015-2020 Tim Byrne and Martin Zuther
4+
# Copyright (C) 2015-2021 Tim Byrne and Martin Zuther
55

66
# This program is free software: you can redistribute it and/or modify
77
# it under the terms of the GNU General Public License as published by

contrib/hooks/encrypt_with_checksums/post_status

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# yadm - Yet Another Dotfiles Manager
4-
# Copyright (C) 2015-2020 Tim Byrne and Martin Zuther
4+
# Copyright (C) 2015-2021 Tim Byrne and Martin Zuther
55

66
# This program is free software: you can redistribute it and/or modify
77
# it under the terms of the GNU General Public License as published by

yadm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
# yadm - Yet Another Dotfiles Manager
3-
# Copyright (C) 2015-2020 Tim Byrne
3+
# Copyright (C) 2015-2021 Tim Byrne
44

55
# This program is free software: you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@ if [ -z "$BASH_VERSION" ]; then
2020
[ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
2121
fi
2222

23-
VERSION=3.0.0
23+
VERSION=3.0.1
2424

2525
YADM_WORK="$HOME"
2626
YADM_DIR=

yadm.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" vim: set spell so=8:
2-
.TH yadm 1 "30 December 2020" "3.0.0"
2+
.TH yadm 1 "7 January 2021" "3.0.1"
33

44
.SH NAME
55

yadm.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
yadm transcrypt [ options ]
3838

39-
yadm upgrade
39+
yadm upgrade [-f]
4040

4141
yadm introspect category
4242

@@ -203,11 +203,19 @@
203203
command will start by moving your yadm repo to the new path.
204204
Next it will move any archive data. If the archive is tracked
205205
within your yadm repo, this command will "stage" the renaming of
206-
that file in the repo's index. Upgrading will also re-initial-
207-
ize all submodules you have added (otherwise they will be broken
208-
when the repo moves). After running "yadm upgrade", you should
209-
run "yadm status" to review changes which have been staged, and
210-
commit them to your repository.
206+
that file in the repo's index.
207+
208+
Upgrading will attempt to de-initialize and re-initialize your
209+
submodules. If your submodules cannot be de-initialized, the
210+
upgrade will fail. The most common reason submodules will fail
211+
to de-initialize is because they have local modifications. If
212+
you are willing to lose the local modifications to those submod-
213+
ules, you can use the -f option with the "upgrade" command to
214+
force the de-initialization.
215+
216+
After running "yadm upgrade", you should run "yadm status" to
217+
review changes which have been staged, and commit them to your
218+
repository.
211219

212220
You can read https://yadm.io/docs/upgrade_from_2 for more infor-
213221
mation.

yadm.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
22
Name: yadm
33
Summary: Yet Another Dotfiles Manager
4-
Version: 3.0.0
4+
Version: 3.0.1
55
Group: Development/Tools
66
Release: 1%{?dist}
77
URL: https://yadm.io

0 commit comments

Comments
 (0)