Ross Smith II
24ee841372
docs: Fix cypher typo
2 years ago
Ross Smith II
87ff97bbd6
docs: Fix cypher typo
2 years ago
Tim Byrne
f163130609
Remove trailing whitespace
2 years ago
Tim Byrne
d49005ce6c
Merge branch 'joshzcold-master' into develop
...
I've signed these commits myself.
2 years ago
Joshua Cold
2cc64a2fa0
remove extra lines
2 years ago
Joshua Cold
2989734359
Add back in the descriptions
2 years ago
Joshua Cold
7573e18a89
Fix duplicates from completion
2 years ago
Joshua Cold
beb83077d8
Fix zsh hanging when tab completing add/checkout
2 years ago
Tim Byrne
6a49e849c8
Remove trailing space
2 years ago
Tim Byrne
222182b296
Add README for contrib/commands
2 years ago
Tim Byrne
0d67c44343
Merge pull request #418 from gwww/master
2 years ago
Glenn Waters
a9e7e7679b
Add yadm-untracked script.
2 years ago
Tim Byrne
abf6ea4b61
Update version number and update documentation
...
* Fix Bash 3 bad array subscript bug (#411 )
2 years ago
Tim Byrne
f59d903769
Fix Bash 3 bad array subscript bug ( #411 )
2 years ago
Tim Byrne
bd0039a650
Release 3.2.0
2 years ago
Tim Byrne
82c0b6d02e
Update version number and update documentation
...
* Support architecture for alternates/templates (#202 , #203 , #393 )
* Support distro_family for alternates/templates (#213 )
* Support setting multiple classes (#185 , #304 )
* Support environment variables in default template processor (#347 )
* Update version command to include Bash & Git versions (#377 )
2 years ago
Tim Byrne
a4adadcc8c
Fix table format
2 years ago
Tim Byrne
287249df91
Clarify requirements for linked directories ( #328 )
2 years ago
Tim Byrne
c5e4e4eda2
Adjust exempt labels
2 years ago
Tim Byrne
46f72c2768
Add local.arch to config introspection
2 years ago
Tim Byrne
ebb6715aad
Reduce supported labels for architecture
2 years ago
Tim Byrne
39d0c791ce
Reorder list
2 years ago
Tim Byrne
3445763731
Add manpage docs about env support in default templates
2 years ago
Tim Byrne
718e99c826
Add manpage documentation for multiple classes
2 years ago
Tim Byrne
50bf8716cd
Unify template support for classes ( #185 )
2 years ago
Tim Byrne
82bfd5e773
Fix table formatting
2 years ago
Tim Byrne
b7c5294bd9
Add manpage docs for distro_family ( #213 )
2 years ago
Tim Byrne
0b75e71237
Merge pull request #347 from rasa/develop
2 years ago
Ross Smith II
487f030405
Update test/test_unit_template_default.py
...
Co-authored-by: Paulo Köch <paulo.koch@gmail.com>
2 years ago
Paulo Köch
b0e0856658
Add test
2 years ago
Tim Byrne
027c7359ac
Merge pull request #304 from erijo/multiple-classes
2 years ago
Tim Byrne
3d3432516f
Distinguish tests of templates
2 years ago
Tim Byrne
5ae553b078
Add support for distro_family ( #213 )
...
Obtained from /etc/os-release: ID_LIKE.
Alternate attributes f & distro_family.
2 years ago
Tim Byrne
32bc9abb0c
Include bash version
2 years ago
Tim Byrne
8186705059
Include Git version with yadm version ( #377 )
2 years ago
Tim Byrne
f28d4bc1c6
Update image tag
2 years ago
Tim Byrne
f11974140e
Merge pull request #395 from erijo/shellcheck
2 years ago
Tim Byrne
71cb08a5f3
Merge pull request #394 from erijo/esh
2 years ago
Erik Flodin
1aa9839096
Bump shellcheck to version 0.8.0 in docker image
...
And fix the new SC2295 warning.
2 years ago
Erik Flodin
a9fc8b1374
Bump esh to version 0.3.1 in docker image
2 years ago
Tim Byrne
0ae8931e01
Merge pull request #393 from erijo/arch-fixes
2 years ago
Erik Flodin
2379d63068
Support overriding architecture
...
In the same way as os, hostname and user.
2 years ago
Erik Flodin
42c74efbac
Add support for multiple local classes
...
A local class is set with:
$ yadm config local.class cls1
More classes can be added with:
$ yadm config --add local.class cls2
$ yadm config --add local.class cls3
Any of cls1, cls2 and cls3 can be used in an alternate condition.
For templates, the existing variable yadm.class/YADM_CLASS is set to
the last class (i.e. cls3) to remain compatible with how it works
today and with what the following command gives:
$ yadm config local.class
For the default template processor there is no explicit yadm.classes
variable. Instead a yadm.class condition will check against all
classes.
For the other processors, a new template variable YADM_CLASSES will be
set to all classes separated by newline. For jinja2 templates a class
can be checked with: {%- if "cls" in YADM_CLASSES.split("\n") %}
For esh templates the logic is a bit more complex, but it is possible
to do.
Fixes #185 .
2 years ago
Tim Byrne
2f00dabcdb
Make order of attributes match precedence
2 years ago
Tim Byrne
4caf5f681e
Add arch to manpage
2 years ago
Tim Byrne
4843e1fa14
Add arch to template tests
2 years ago
Tim Byrne
bacc948bba
Support "YADM_ARCH" variable in esh templates
2 years ago
Tim Byrne
31e2ce56bc
Support "arch" variable in built-in templates
2 years ago
Tim Byrne
3d82aff3e8
Merge pull request #384 from orenzp/workflow-stale-issues
2 years ago
Tim Byrne
0cac436219
Tweak stale workflow
...
- Add issue exemptions
- Use all lowercase label
- Update issue comments
2 years ago