Erik Flodin
d926fb3e8b
Run "make test" in github workflow
...
This avoids having to specify the docker image in multiple places.
3 years ago
Erik Flodin
44de30374f
Only run docker in interactive mode when stdin is a terminal
3 years ago
Erik Flodin
a9d9e89d0c
Use a common target to pick yadm to test in test/scripthost
3 years ago
Tim Byrne
0d3ff086c5
Add test for --no-zle shell option
3 years ago
Tim Byrne
c7a789c871
Merge pull request #281 from erijo/zsh-tramp
3 years ago
Erik Flodin
8a3fb1a518
Make yadm enter work with zsh and tramp
...
zle must be disabled when using tramp, otherwise it doesn't work.
3 years ago
Tim Byrne
d0b0e3afa8
Update testbed version
3 years ago
Tim Byrne
f363b4b29f
Merge pull request #277 from erijo/docker
3 years ago
Tim Byrne
2ebac70bbc
Merge pull request #279 from erijo/zsh-debug
3 years ago
Erik Flodin
48e7337ef1
Upgrade to latest pytest version (6.2.1)
3 years ago
Erik Flodin
ec3956c560
Configure git email and name in docker
...
to make it easier to use yadm in the container. Set it in the system
config (i.e. /etc/gitconfig) to avoid getting a clash if one wants to
clone an existing yadm repo that contains a .gitconfig.
3 years ago
Erik Flodin
0500f6c6f6
zsh: -d can't be used as a global option
...
It's only supported as a command option and the command will fail if
-d is used as a global option. Instead of completing it in the wrong
place, don't complete it at all as it can be considered an "internal"
switch (it's not mentioned in the manual).
3 years ago
Erik Flodin
6fc510f473
Include released versions of yadm in docker images
...
Make it easier to test upgrades (#276 ).
3 years ago
Erik Flodin
6df2a5df74
Shrink docker image
...
Don't install apt recommendations and use the ADD directive instead of
running curl in the image. Saves ~380MB in docker image size.
3 years ago
Erik Flodin
39e43a7a74
Remove the requirement on docker-compose for running tests
...
Besides simplifying the setup it also has the nice side-effect of
being able to override the docker image on the command line:
$ make test IMAGE=foobar
3 years ago
Tim Byrne
d005ce4df4
Merge pull request #278 from erijo/contrib
3 years ago
Erik Flodin
22d5e03657
Fix contrib make target
...
Set shell explicitly as it doesn't work with the default shell on Debian.
3 years ago
Tim Byrne
53e3288234
Reorganize shell completion code
3 years ago
Tim Byrne
2ff07c3fa6
Merge remote-tracking branch 'erijo/zsh-symlink' into develop
3 years ago
Tim Byrne
2321120b5b
Merge pull request #274 from erijo/zsh
3 years ago
Tim Byrne
35f1ef8d22
Merge pull request #238 from cdayjr/easier-zsh-completion-install
3 years ago
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
3 years ago
Erik Flodin
fec3daa730
Improve zsh completion ( #265 )
...
Fall back to standard git completion for non yadm commands.
3 years ago
Tim Byrne
b3beaa48be
Add basic usage to information on GitHub
3 years ago
Tim Byrne
7184eb59d7
Merge pull request #273 from erijo/legacy_path_warnings
3 years ago
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.
3 years ago
Tim Byrne
df2ff5ec70
Remove deprecated option cygwin-copy
3 years ago
Tim Byrne
d45d53ff39
Fix typo
3 years ago
Tim Byrne
74df722840
Add tests for hook executable bit
3 years ago
Tim Byrne
f9337101ee
Adjust formatting
...
Also use `{...;}` instead of `(...)`
3 years ago
Tim Byrne
c2cb41cdd5
Merge pull request #150 from addshore/patch-1
3 years ago
Tim Byrne
7f23dde912
Merge pull request #210 from abathur/fix_regexp_space
3 years ago
Tim Byrne
99897124e6
Verify extension does not modify alt score
3 years ago
Tim Byrne
d298b42653
Merge pull request #257 from erijo/extension
3 years ago
Tim Byrne
999e0f11f8
Merge pull request #259 from erijo/cleanups
3 years ago
Tim Byrne
56e48947d0
Merge pull request #271 from rasa/patch-3
3 years ago
Tim Byrne
c4b419d98e
Add --version and --help as yadm internal commands ( #267 )
3 years ago
Tim Byrne
e3d2ea2863
Combine local and assignments where appropriate
3 years ago
Tim Byrne
6b068a141d
Remove superfluous f-strings
3 years ago
Tim Byrne
c8d516c67d
Bump versions of required linters
3 years ago
Ross Smith II
e2d9c06168
Fix paths in yadm help output
...
For completeness, I added the bootstrap script too.
3 years ago
Tim Byrne
80d8949850
Update regex to match horizontal white space only
3 years ago
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.
3 years ago
Tim Byrne
4cb13d5d08
Remove unnecessary LEGACY_WARNING_ISSUED flag
4 years ago
Tim Byrne
13a3cdc8a8
Remove reporting of invalid alts
4 years ago
Tim Byrne
62a86ecd27
Support "make testhost version=local"
4 years ago
Tim Byrne
7997dc9a3d
Update upgrade
...
Upgrade will only move 2.0.0 paths to 3.0.0 standards
4 years ago
Tim Byrne
efe8355659
Update man page for new paths
4 years ago
Tim Byrne
62b109ad2d
Rename yadm_y -> yadm_cmd
...
-Y is no longer used when running commands
4 years ago
Tim Byrne
8efe2c8fad
Improve tests to use XDG* variables
...
Instead of overriding YADM_DIR via -Y, set the XDG* environment
variables.
4 years ago