Tim Byrne
24e3dab328
Fix alternate file processing when worktree is / ( #198 )
4 years ago
Tim Byrne
102ba5d558
Preserve file mode of template ( #193 )
...
Any processed templates will inherit the file mode of the source
template.
4 years ago
Tim Byrne
6654e29c62
Merge pull request #220
4 years ago
Tim Byrne
ed4a4a5fbd
Fix bug with out-of-sync sources
...
The indexes of targets, scores, sources, etc. must be kept in sync.
4 years ago
Tim Byrne
87f81143b2
Add unit test for alternate order
...
Ensure that any alternates for YADM_CONFIG are processed prior to
templates.
4 years ago
Tim Byrne
b056051603
Identify yadm's configuration using $YADM_CONFIG
4 years ago
Tim Byrne
7f48942934
Update man page for ESH
4 years ago
Tim Byrne
71ecf27291
Update testbed docker image
4 years ago
Tim Byrne
6d8494a35f
Fix linting errors
4 years ago
Tim Byrne
9746d907ec
Merge pull request #227 from jonasc/assert-config-parent-exists
4 years ago
jonasc
9ee83c4b3f
Update test/test_config.py
4 years ago
jonasc
60b23e33e8
Assert existence of config file's parent directory
...
Fixes TheLocehiliosan/yadm#226
When a config file path is passed to yadm whose parent directory does
not exist, git (and hence yadm) fails without writing the file.
Yadm should, however, make sure that the directory exists s.t. git can
just write to the file.
4 years ago
Tim Byrne
51752233e9
Revert yadm.md & CONTRIBUTORS
...
yadm.md is generated from yadm.1 during release.
CONTRIBUTORS is generated from Git history during release.
4 years ago
Tim Byrne
2e844766dd
Merge pull request #220 from daiglej/AddSupportForEsh
4 years ago
Tim Byrne
69aefb297c
Migrate from travis-ci.org to travis-ci.com
4 years ago
Tim Byrne
ed6185e841
Merge pull request #229 from tcondit/master
4 years ago
Tim Byrne
5f2c84a633
Merge pull request #224 from soraxas/master
4 years ago
Tim Condit
e5d88e96db
Minor typo
4 years ago
Tin Lai
ecdc985ab0
add manual entry for fish completions
4 years ago
Tin Lai
f5e8599de4
improve fish completion by adding more completion options
4 years ago
Jonathan Daigle
bea6e5506a
Process config alt before any other.
...
This allows to version the configuration, using alt and to still be
able to use those configuration values in esh template
(using <% yamd config some-config %> )
4 years ago
Jonathan Daigle
f348e154c7
Add support for ESH
4 years ago
Tin Lai
f0a8f31d1b
implement fish autocomplete
4 years ago
Travis A. Everett
9132b6dec9
Fix regexp with space for compatibility
4 years ago
Tim Byrne
778c33145c
Remove legacy code which was reintroduced
4 years ago
Tim Byrne
0995f38b06
Merge pull request #138 from ldotlopez/master
...
I signed all commits first
4 years ago
Luis López
831c9ec09d
Testing: add new config items to tests
4 years ago
Luis López
9fe5377749
Fix some typos and code style
4 years ago
Luis López
7698adfd77
Rebase on top of upstream/develop
4 years ago
Luis López
8e2d85de7f
Merge from upstream
4 years ago
Luis López
67ce492b2a
Added undocumented config `yadm.openssl-ciphername`
4 years ago
Luis López
bde5ecbc66
Deduplicate openssl cipher name code (and change default value)
4 years ago
Luis López
baaeb88628
Initial support for alternative cyphers.
...
This patch implements an OpenSSL cypher (via openssl enc command). It has to be enabled using yadm.cypher configuration key.
Some rough edges:
- archive file refers to GPG (.gpg extension)
- no test cases
4 years ago
Tim Byrne
550a6b4340
Add transcrypt info to man page
4 years ago
Tim Byrne
4b99ece480
Support transcrypt ( #197 )
...
Support is inherently provided by `enter`, which supports a command.
I've added a `transcrypt` command, which is really just an alias
under-the-hood for "enter transcrypt".
4 years ago
Tim Byrne
ee9ffb6828
Reorder command list
4 years ago
Tim Byrne
dd86c8a691
Release 2.4.0
...
Update version number and update documentation
* Support multiple keys in `yadm.gpg-recipient` (#139 )
* Ensure all templates are written atomically (#142 )
* Add encrypt_with_checksums to the hooks collection (#188 )
* Escape white space in YADM_HOOK_FULL_COMMAND (#187 )
* Improve parsing of os-release (#194 )
* Improve identification of WSL (#196 )
* Fix troff warnings emitted by man page (#195 )
* Write encrypt-based exclusions during decrypt
4 years ago
Tim Byrne
79e93e38bc
Fix error when /proc/version is missing
4 years ago
Tim Byrne
45f1d93193
Add test for WSL identification
4 years ago
Ross Smith II
062181be4a
Simplify WSL identification
4 years ago
Tim Byrne
69cde7f83c
Exclude files listed in yadm/encrypt when decrypt is called
...
Previously this would only happen when encrypting.
4 years ago
Tim Byrne
bd68229c57
Use include "venv" instead of "virtualenv"
4 years ago
Tim Byrne
1200d53f62
Add info about changes to YADM_HOOK_FULL_COMMAND
4 years ago
Tim Byrne
02bedd712a
Add example of parsing YADM_HOOK_FULL_COMMAND
4 years ago
Tim Byrne
9a2883985b
Test for escaped values in YADM_HOOK_FULL_COMMAND
4 years ago
Tim Byrne
ccb75b97ea
Escape space in YADM_HOOK_FULL_COMMAND ( #187 )
...
Backslashes are used to escape spaces, tabs, and backslashes. This
allows hooks to identify separate parameters (which are space
delimited).
4 years ago
Tim Byrne
3b820835ab
Test for warnings from man ( #195 )
4 years ago
Tim Byrne
d16f4b134a
Add man to testbed Docker image
4 years ago
Tim Byrne
d5b217f850
Merge pull request #195 from rra/manpage-fix
4 years ago
Tim Byrne
76c82c763e
Improve identification of WSL ( #196 )
...
Ignore case when searching for Microsoft inside /proc/version.
4 years ago