1
0
Fork 0
mirror of synced 2024-11-05 09:18:59 -05:00
Commit graph

364 commits

Author SHA1 Message Date
Tim Byrne
98915151a3
Revert version change 2019-11-17 12:39:05 -06:00
Tim Byrne
abf21873f6
Adjust formatting 2019-11-16 15:26:50 -06:00
Sheng Yang
daa55b1af0
Update documentation about using yadm with magit 2019-11-16 08:37:32 -06:00
Tim Byrne
eed59388cb
Note exception for WSL (#113) 2019-11-14 08:23:41 -06:00
Ross Smith II
539ffd3ffc
Make symlinks relative 2019-11-13 08:17:06 -08:00
Tim Byrne
5aa1a7be75
Release 2.0.1
Update version number and update documentation

* Fix bug with worktree permissions (#174)
2019-11-12 07:49:26 -06:00
Tim Byrne
c29834ed86
Add test for permission bug (#174) 2019-11-12 06:52:49 -06:00
Tim Byrne
c222644f8c
Merge pull request #174 from rasa/fix-parent-dir-globbing 2019-11-12 06:52:30 -06:00
Ross Smith II
8633083716
Don't glob into parent dirs 2019-11-12 06:50:54 -06:00
Tim Byrne
2eb8a9e362
Add make install 2019-11-09 16:01:54 -06:00
Tim Byrne
ab578c9502
Add OBS badge 2019-11-08 09:44:30 -06:00
Tim Byrne
de73c9f4b4
Release 2.0.0
Update version number and update documentation

* Support XDG base directory specification
* Redesign alternate processing
* Add built-in default template processor
* Allow storing alternates in yadm dir (#90)
* Add support for j2cli template processor
* Ignore encrypted files (#69)
* Support DISTRO in alternates (#72)
* Support `source` in templates (#163)
* Change yadm.cygwin-copy to yadm.alt-copy
* Support `-b <branch>` when cloning (#133)
* Support includes for j2-based templates (#114)
* Remove stale/invalid linked alternates (#65)
* Add support for Mingw/Msys (#102)
* Allow `-l` to pass thru to the `yadm config` command
* Improve processing of `yadm/encrypt`
* Fix bugs in legacy alternate processing
* Fix bug with hidden private files
* Improve support for older versions of Git
* Add upgrade command
2019-11-07 21:38:53 -06:00
Tim Byrne
5b105e0687
Add missing details to manpage 2019-11-07 21:36:53 -06:00
Tim Byrne
1fc52536ac
Fix contrib make target (dev has been changed to develop) 2019-11-07 21:23:49 -06:00
Tim Byrne
84ef8709e4
Fix typo 2019-11-07 21:09:37 -06:00
Tim Byrne
dc699e0b4e
Improve portability of hosted bootstrap curl-pipe 2019-11-07 20:37:38 -06:00
Tim Byrne
375a34b97a
Test conditional submodule upgrade processing 2019-11-07 07:48:42 -06:00
Tim Byrne
f2b2d505a2
Reinitialize submodules during upgrade 2019-11-05 16:36:05 -06:00
Tim Byrne
a217537b26
Fix URL for upgrade help 2019-11-04 17:31:55 -06:00
Tim Byrne
9362b93820
Update specfile for OBS 2019-11-03 22:33:34 -06:00
Tim Byrne
5a802c8afd
Allow -l to pass thru to the yadm config command 2019-11-03 14:21:59 -06:00
Tim Byrne
f5287f1588
Properly format supported configs 2019-11-03 14:17:10 -06:00
Tim Byrne
fc53cfd1f8
Remove --local
`--local` isn't supported by versions of Git older than 1.8. But it
should be the default if the `--local` is omitted.
2019-11-03 13:35:44 -06:00
Tim Byrne
6442313abf
Improve manpage 2019-10-30 17:34:34 -05:00
Tim Byrne
616baaeac6
Rename default template processor 2019-10-30 17:29:17 -05:00
Tim Byrne
b62a4c77a6
Create an upgrade command
This command will assist users with migration from 1.x.x to 2.0.0.
2019-10-23 17:08:04 -05:00
Tim Byrne
0c9468c9b5
Ignore encrypted files (#69)
Append the contents of .config/yadm/encrypt to the repo's git ignore
list. This is to help prevent accidentally committing unencrypted
sensitive data.
2019-10-17 08:22:17 -05:00
Tim Byrne
f3249e00b5
Ensure base directories for alternates before creation 2019-10-12 18:22:02 -05:00
Tim Byrne
6d5467951a
Properly handle missing "." in alternate conditions 2019-10-12 09:59:03 -05:00
Tim Byrne
4ea3ed9e2a
Allow storing alternates elsewhere (#90)
This change allows alternates to be stored in "$YADM_DIR/alt". The
correct path within the work tree will be symlinked.

Storing alternates within the work tree is still allowed. Both locations
will be considered when choosing an appropriate alternate file.
2019-10-12 09:59:02 -05:00
Tim Byrne
aeb6a54ad7
Add source to templates (#163)
A new variable is exposed to templates, which holds the filename of the
template source. The primary use case is to be able to include a warning
message within the template. For example:

  # Do not edit. This file auto-generated from {{ yadm.source }}.
2019-10-11 07:23:52 -05:00
Tim Byrne
0c7aec6dd7
Clarify xfails are for deprecated features 2019-10-11 07:22:38 -05:00
Tim Byrne
3a192db420
Remove symlinks before processing a template 2019-10-11 07:20:03 -05:00
Tim Byrne
117541fd21
Reorder descriptions of options 2019-10-09 18:47:45 -05:00
Tim Byrne
574945f010
Change yadm.cygwin-copy to yadm.alt-copy
This removes the constraint of only allowing the copy option on Cygwin
systems. Now any system can configure this option.
2019-10-09 18:47:42 -05:00
Tim Byrne
b2ef6d2e09
Merge pull request #102 from rasa/rasa-add-mingw-msys-support 2019-10-09 07:48:56 -05:00
Tim Byrne
e51166b7e8
Improve clone testing 2019-10-08 17:28:56 -05:00
Tim Byrne
f3bde37f78
Support -b <branch> when cloning (#133) 2019-10-08 17:28:53 -05:00
Tim Byrne
6a3199ceea
Support DISTRO in alternates (#72) 2019-10-06 16:35:47 -05:00
Tim Byrne
4f6b0f09cd
Remove unnecessary formatting 2019-10-05 12:01:48 -05:00
Tim Byrne
444622a658
Support else statements in builtin templates 2019-10-05 11:43:48 -05:00
Tim Byrne
81134c8edb
Update documentation
* XDG Base Directory Specification
* New alternates processing
2019-10-04 22:40:09 -05:00
Tim Byrne
e999929818
Change builtin templates to resemble jinja 2019-10-02 15:16:41 -05:00
Tim Byrne
234055190b
Move min-similarity-lines to new section
This is the correct place for a newer version of pylint.
2019-10-02 15:16:10 -05:00
Tim Byrne
b411f9d74f
Split out processing of stale links 2019-10-02 15:16:10 -05:00
Tim Byrne
0438e383e5
Unify the way alternate file strings are matched 2019-10-02 15:16:10 -05:00
Tim Byrne
c8a9165293
Remove warnings from tests
These warnings are related to bugs which are fully fixed.
2019-10-02 15:16:10 -05:00
Tim Byrne
3ba17f41fd
Fix a known bug with hidden private files 2019-10-02 15:16:10 -05:00
Tim Byrne
36212cb752
Add new alternates processing the cygwin copy testing 2019-10-02 15:16:09 -05:00
Tim Byrne
eeba216cfe
Mark deprecated tests 2019-10-02 15:16:09 -05:00