Tim Byrne
a4adadcc8c
Fix table format
2022-03-12 15:11:55 -06:00
Tim Byrne
287249df91
Clarify requirements for linked directories ( #328 )
2022-03-12 15:04:47 -06:00
Tim Byrne
c5e4e4eda2
Adjust exempt labels
2022-03-12 11:36:26 -06:00
Tim Byrne
46f72c2768
Add local.arch to config introspection
2022-02-21 14:09:57 -06:00
Tim Byrne
ebb6715aad
Reduce supported labels for architecture
2022-02-21 14:01:08 -06:00
Tim Byrne
39d0c791ce
Reorder list
2022-02-21 13:18:48 -06:00
Tim Byrne
3445763731
Add manpage docs about env support in default templates
2022-02-21 12:42:45 -06:00
Tim Byrne
718e99c826
Add manpage documentation for multiple classes
2022-02-21 11:36:51 -06:00
Tim Byrne
50bf8716cd
Unify template support for classes ( #185 )
2022-02-21 11:31:44 -06:00
Tim Byrne
82bfd5e773
Fix table formatting
2022-02-21 10:29:59 -06:00
Tim Byrne
b7c5294bd9
Add manpage docs for distro_family ( #213 )
2022-02-21 10:29:53 -06:00
Tim Byrne
0b75e71237
Merge pull request #347 from rasa/develop
2022-02-17 16:45:45 -06:00
Ross Smith II
487f030405
Update test/test_unit_template_default.py
...
Co-authored-by: Paulo Köch <paulo.koch@gmail.com>
2022-02-17 16:45:07 -06:00
Paulo Köch
b0e0856658
Add test
2022-02-17 16:44:57 -06:00
Tim Byrne
027c7359ac
Merge pull request #304 from erijo/multiple-classes
2022-01-22 18:14:23 -06:00
Tim Byrne
3d3432516f
Distinguish tests of templates
2022-01-22 18:05:29 -06:00
Tim Byrne
5ae553b078
Add support for distro_family ( #213 )
...
Obtained from /etc/os-release: ID_LIKE.
Alternate attributes f & distro_family.
2022-01-22 18:05:15 -06:00
Tim Byrne
32bc9abb0c
Include bash version
2022-01-17 11:45:09 -06:00
Tim Byrne
8186705059
Include Git version with yadm version ( #377 )
2022-01-17 09:12:41 -06:00
Tim Byrne
f28d4bc1c6
Update image tag
2022-01-07 00:28:14 -06:00
Tim Byrne
f11974140e
Merge pull request #395 from erijo/shellcheck
2022-01-07 00:21:53 -06:00
Tim Byrne
71cb08a5f3
Merge pull request #394 from erijo/esh
2022-01-07 00:18:34 -06:00
Erik Flodin
1aa9839096
Bump shellcheck to version 0.8.0 in docker image
...
And fix the new SC2295 warning.
2021-12-29 21:55:14 +01:00
Erik Flodin
a9fc8b1374
Bump esh to version 0.3.1 in docker image
2021-12-29 20:44:12 +01:00
Tim Byrne
0ae8931e01
Merge pull request #393 from erijo/arch-fixes
2021-12-27 16:59:23 -06:00
Erik Flodin
2379d63068
Support overriding architecture
...
In the same way as os, hostname and user.
2021-12-27 22:21:18 +01:00
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 .
2021-12-27 21:14:09 +01:00
Tim Byrne
2f00dabcdb
Make order of attributes match precedence
2021-12-23 15:51:18 -06:00
Tim Byrne
4caf5f681e
Add arch to manpage
2021-12-23 15:43:36 -06:00
Tim Byrne
4843e1fa14
Add arch to template tests
2021-12-23 15:43:30 -06:00
Tim Byrne
bacc948bba
Support "YADM_ARCH" variable in esh templates
2021-12-23 15:43:29 -06:00
Tim Byrne
31e2ce56bc
Support "arch" variable in built-in templates
2021-12-23 15:42:08 -06:00
Tim Byrne
3d82aff3e8
Merge pull request #384 from orenzp/workflow-stale-issues
2021-12-22 12:53:02 -06:00
Tim Byrne
0cac436219
Tweak stale workflow
...
- Add issue exemptions
- Use all lowercase label
- Update issue comments
2021-12-22 12:51:50 -06:00
Tim Byrne
ec307ce4f8
Update yaml formatting
2021-12-22 12:21:33 -06:00
Tim Byrne
de34cd2e8c
Change extension to match other workflows
2021-12-22 11:59:31 -06:00
Oren Zipori
a37eabba98
Adding new github workflow for stale issues
...
Adding a Github workflow that will mark issues that didn't have any activity on them for the last 60 days and put a label of stale on them. After 7 days if the stale issue didn't have any updates the issue will be deleted.
2021-12-22 11:58:05 -06:00
Tim Byrne
85e05d311a
Merge pull request #203 from jameshclrk/arch-alternative
2021-12-21 16:50:41 -06:00
Tim Byrne
0ecb9c4f2f
Merge pull request #390 from Stig124/fix-makefile2
2021-11-29 12:55:15 -06:00
Nicolas stig124 FORMICHELLA
344b740d9b
Fix Makefile portability
...
OBS *among others* need to copy files from the build folder to the
package folder.
With the old version, that wasn't possible, as it would try to install the software in the worker folder,
of course something denied on public instances.
Adding $(DESTDIR) before all paths ensure that you can install to another folder
2021-11-25 22:30:43 +01:00
Tim Byrne
9aaefa60fe
Merge pull request #373 from exic/patch-1
2021-11-03 08:57:00 -05:00
Tim Byrne
6c57bdd8fb
Merge pull request #380 from dessert1/patch-1
2021-11-03 08:45:17 -05:00
dessert1
ed4a60257d
fix “Mackbook” typo in manpage
2021-10-22 16:03:23 +02:00
Jonas
9beed3307f
Fix arch-badge
...
Obviously yadm was moved from AUR to Community repository :-)
2021-09-10 10:49:27 +02:00
Tim Byrne
f8abcd756b
Update version number and update documentation
...
* Fix clone support for older versions of Git (#348 )
* Fix support for multiple GPG recipients (#342 )
* Find symlinks in bootstrap-in-dir (#340 )
2021-08-23 08:25:10 -05:00
Tim Byrne
db78669479
Fix clone support for older versions of Git ( #348 )
2021-08-23 08:12:09 -05:00
Tim Byrne
1544413c91
Merge pull request #340 from rasa/patch-3
2021-08-23 08:05:53 -05:00
Ross Smith II
73af421667
feat: Add support for env vars in templates
2021-06-06 10:37:14 -07:00
Tim Byrne
5adb486727
Fix support for multiple GPG recipients ( #342 )
2021-05-17 15:42:35 -05:00
Ross Smith II
c144d9f3bb
fix: Find symlinks in bootstrap-in-dir
...
Fixes #339
2021-05-06 20:11:36 -07:00