Tim Byrne
53e3288234
Reorganize shell completion code
2020-12-28 12:05:39 -06:00
Tim Byrne
2ff07c3fa6
Merge remote-tracking branch 'erijo/zsh-symlink' into develop
2020-12-28 10:57:13 -06:00
Tim Byrne
2321120b5b
Merge pull request #274 from erijo/zsh
2020-12-28 10:50:15 -06:00
Tim Byrne
35f1ef8d22
Merge pull request #238 from cdayjr/easier-zsh-completion-install
2020-12-28 10:40:20 -06:00
Erik Flodin
900d59707a
Add _yadm symlink to ease zsh completion usage from source
...
It is now possible to use the completion simply by doing:
fpath=(/path/to/yadm/completion/zsh $fpath); compinit
2020-12-28 15:39:39 +01:00
Erik Flodin
fec3daa730
Improve zsh completion ( #265 )
...
Fall back to standard git completion for non yadm commands.
2020-12-28 15:32:22 +01:00
Tim Byrne
b3beaa48be
Add basic usage to information on GitHub
2020-12-27 21:57:13 -06:00
Tim Byrne
7184eb59d7
Merge pull request #273 from erijo/legacy_path_warnings
2020-12-27 21:13:32 -06:00
Erik Flodin
5e9c5cf66c
Issue legacy path warnings to stderr
...
To make it possible to ignore the warning e.g. when running yadm
introspect repo in the bash completion.
2020-12-27 22:33:15 +01:00
Tim Byrne
df2ff5ec70
Remove deprecated option cygwin-copy
2020-12-26 12:34:58 -06:00
Tim Byrne
d45d53ff39
Fix typo
2020-12-23 10:40:36 -06:00
Tim Byrne
74df722840
Add tests for hook executable bit
2020-12-22 11:52:44 -06:00
Tim Byrne
f9337101ee
Adjust formatting
...
Also use `{...;}` instead of `(...)`
2020-12-22 11:51:46 -06:00
Tim Byrne
c2cb41cdd5
Merge pull request #150 from addshore/patch-1
2020-12-22 11:17:05 -06:00
Tim Byrne
7f23dde912
Merge pull request #210 from abathur/fix_regexp_space
2020-12-22 11:01:51 -06:00
Tim Byrne
99897124e6
Verify extension does not modify alt score
2020-12-22 10:51:23 -06:00
Tim Byrne
d298b42653
Merge pull request #257 from erijo/extension
2020-12-22 10:08:30 -06:00
Tim Byrne
999e0f11f8
Merge pull request #259 from erijo/cleanups
2020-12-22 09:54:01 -06:00
Tim Byrne
56e48947d0
Merge pull request #271 from rasa/patch-3
2020-12-22 09:41:06 -06:00
Tim Byrne
c4b419d98e
Add --version and --help as yadm internal commands ( #267 )
2020-12-21 17:06:14 -06:00
Tim Byrne
e3d2ea2863
Combine local and assignments where appropriate
2020-12-21 17:06:14 -06:00
Tim Byrne
6b068a141d
Remove superfluous f-strings
2020-12-21 17:06:14 -06:00
Tim Byrne
c8d516c67d
Bump versions of required linters
2020-12-21 17:06:14 -06:00
Ross Smith II
e2d9c06168
Fix paths in yadm help output
...
For completeness, I added the bootstrap script too.
2020-12-18 09:44:01 -08:00
Tim Byrne
80d8949850
Update regex to match horizontal white space only
2020-12-06 22:36:12 -06:00
Tim Byrne
4b5f16d73a
Improve support for default branches ( #231 , #232 )
...
Unless a branch is specified, the default remote HEAD is used during
clone. Also a local master branch is not created if it is not the remote
HEAD.
2020-12-06 13:23:25 -06:00
Tim Byrne
4cb13d5d08
Remove unnecessary LEGACY_WARNING_ISSUED flag
2020-11-25 23:18:26 -06:00
Tim Byrne
13a3cdc8a8
Remove reporting of invalid alts
2020-11-25 23:18:25 -06:00
Tim Byrne
62a86ecd27
Support "make testhost version=local"
2020-11-25 23:18:25 -06:00
Tim Byrne
7997dc9a3d
Update upgrade
...
Upgrade will only move 2.0.0 paths to 3.0.0 standards
2020-11-25 23:18:25 -06:00
Tim Byrne
efe8355659
Update man page for new paths
2020-11-22 17:09:45 -06:00
Tim Byrne
62b109ad2d
Rename yadm_y -> yadm_cmd
...
-Y is no longer used when running commands
2020-11-22 17:09:44 -06:00
Tim Byrne
8efe2c8fad
Improve tests to use XDG* variables
...
Instead of overriding YADM_DIR via -Y, set the XDG* environment
variables.
2020-11-22 17:09:44 -06:00
Tim Byrne
fc66b6b71b
Support XDG_DATA_HOME ( #208 )
...
* Create a YADM_DATA base (that is the source for repo & archive)
* Add --yadm-data to override
* Default YADM_DATA will be determined by XDG_DATA_HOME
2020-11-22 17:09:44 -06:00
Tim Byrne
c79a67208c
Merge GitHub Actions updates
2020-11-22 17:04:31 -06:00
Tim Byrne
3ddea20853
Update badges/links for GitHub Actions
2020-11-22 16:39:37 -06:00
Tim Byrne
34940a6240
Migrate from Travis-CI to GitHub Actions
2020-11-22 15:36:57 -06:00
Erik Flodin
f22c4d04cc
Add support for the extension "condition"
...
This special condition doesn't affect the selection process and is only
supported to support syntax highlighting and language detection for alt files
as reported in #239 .
2020-10-25 10:41:52 +01:00
Erik Flodin
4e1fb0166e
Reuse if pattern in template_default's condition pattern
2020-10-18 22:40:06 +02:00
Erik Flodin
3ce59314f5
Remove unused function alt_past_linking
...
Unused as of b19c78b8
2020-10-18 22:20:06 +02:00
Tim Byrne
b19c78b8e2
Remove support for YADM_COMPATIBILITY=1 ( #242 )
2020-10-17 17:41:09 -05:00
Tim Byrne
a66d3c148c
Remove tests for deprecated alternate processing
2020-10-17 17:39:24 -05:00
Tim Byrne
1e6f198552
Merge pull request #255 from erijo/template-awk-inc
2020-10-17 13:38:45 -05:00
Erik Flodin
9bcf070dfe
Add support for including files using the default template processor
...
The syntax is '{% include "file" %}' where file is either an absolute path or a
path relative to the current template file's directory.
Variables in the included file will be replaced as for the main template. But
the included file can't include files itself.
2020-10-12 16:13:50 +02:00
Tim Byrne
48d77c9f21
Use make variables instead of env variables
2020-10-10 18:12:51 -05:00
Tim Byrne
90901e588e
Merge pull request #254 from erijo/misc
2020-10-10 17:53:30 -05:00
Erik Flodin
b55ad5b525
Fix template conditional in man page
...
The default template processor doesn't support single quotes.
2020-10-10 18:25:18 +02:00
Erik Flodin
3741b92737
Fix setting the default value of version in Makefile
...
As each command in a make target is executed separately, a variable set in one
command isn't available in the following commands.
2020-10-10 18:25:01 +02:00
Erik Flodin
95c17d0bc5
Make shell redirections in Makefile work with dash
...
The default shell in Debian is dash and it doesn't support &>.
2020-10-10 18:24:50 +02:00
Tim Byrne
e0daf86334
Add encryption unit tests
2020-10-07 01:44:35 -05:00