Juan-Pablo Scaletti
75eabd3de6
Merge branch 'master' into patch-3
2019-06-09 00:01:12 -05:00
Juan-Pablo Scaletti
ced6255c84
Merge branch 'master' into patch-1
2019-06-08 23:57:13 -05:00
Juan-Pablo Scaletti
ca6e8f8ebe
Version 2.4.2
v2.4.2
2019-06-08 23:02:00 -05:00
Juan-Pablo Scaletti
30ffc4dade
special keys in config file are NOT being ignored anymore
...
_exclude, _include, _tasks, and _extra_paths can be loaded from the copier.yml (or alternative) file.
Fix #36 .
I’m ashamed I didn’t noticed this bug before. :(
2019-06-08 23:01:22 -05:00
Juan-Pablo Scaletti
84136e7769
Updates the README and docstring of copy()
2019-06-08 22:13:37 -05:00
Ben Felder
18606162df
Some editing.
2019-06-08 19:37:05 +02:00
Juan-Pablo Scaletti
2fe54f367f
Version 2.4.1
v2.4.1
2019-06-08 12:21:49 -05:00
Juan-Pablo Scaletti
b70d3e50ad
Adds "copier.yaml" and "copier.yml" to the DEFAULT_EXCLUDE list
2019-06-08 12:20:04 -05:00
Juan-Pablo Scaletti
155e725a59
Version 2.4
v2.4.0
2019-06-08 12:12:58 -05:00
Juan-Pablo Scaletti
0ea4ef4eba
Reactivates copier.yaml
and copier.yml
as possible configuration files
...
Fix #30
2019-06-08 11:58:35 -05:00
Ben Felder
c271d385e2
Typos + extra_paths
2019-06-08 15:14:34 +02:00
Juan-Pablo Scaletti
3edbaabe70
Copy empty folders and display all folders in output
...
Fix #25
2019-06-07 23:10:50 -05:00
Juan-Pablo Scaletti
2e3d03b214
Exclude copier.json for the build
...
Fix #29
2019-06-07 14:26:58 -05:00
Juan-Pablo Scaletti
f1289667dd
Merge pull request #28 from pykong/extra_path
...
Allowing specifying extra paths to source templates from.
2019-06-07 13:45:58 -05:00
Ben Felder
d47224d79e
Implemented tests for extra_paths feature.
2019-06-06 21:38:10 +02:00
Ben Felder
0899f10b61
Removed trailing commas.
2019-06-04 22:03:04 +02:00
Ben Felder
2788f1d16a
Fixed parameter order of tools.get_jinja_renderer
2019-06-04 21:49:44 +02:00
Ben Felder
3139078141
Allowing multiple extra_paths.
2019-06-04 21:36:23 +02:00
Ben Felder
b55c681f78
Allowing specifying extra paths.
2019-06-03 23:10:47 +02:00
Juan-Pablo Scaletti
8e5948db6a
Merge pull request #27 from pykong/patch-2
...
Readability: Stressing src_path and dst_path.
2019-06-02 23:35:08 -05:00
Ben Felder
7c7e26cc8d
Readability: Stressing src_path and dst_path.
2019-05-20 19:28:40 +02:00
Juan-Pablo Scaletti
cfbef80b31
Merge pull request #21 from pykong/patch-1
...
Removed syntax error in copier.yml example
2019-05-12 07:42:46 -05:00
Ben Felder
ffbd0545ef
Update README.md
2019-05-11 22:35:58 +02:00
Juan-Pablo Scaletti
30677de7f9
Fix compatibility with py35
v2.3.3
2019-04-17 18:05:47 -05:00
Juan-Pablo Scaletti
8dae107c7c
can now have an undefined default
v2.3.2
2019-04-17 17:47:34 -05:00
Juan-Pablo Scaletti
bf8852a222
fix tests
2019-04-17 16:54:14 -05:00
Juan-Pablo Scaletti
78875e12ce
2.3.1
v2.3.1
2019-04-17 15:26:25 -05:00
Juan-Pablo Scaletti
2963405348
Fix minor bugs with the display of prompt_bool
2019-04-17 15:25:11 -05:00
Juan-Pablo Scaletti
8f72c82005
v2.3
v2.3
2019-04-16 23:22:22 -05:00
Juan-Pablo Scaletti
cf6147b6b1
Extract publish script
2019-04-13 00:14:54 -05:00
Juan-Pablo Scaletti
d05eb0536f
Better publish script
2019-04-12 23:56:26 -05:00
Juan-Pablo Scaletti
48984483d7
Back to the old and trusty setup.py
v2.2.3
2019-04-12 22:01:58 -05:00
Juan-Pablo Scaletti
1dc41fb6a7
Replace pastel with the good'ol colorama
2019-04-05 17:35:02 -05:00
Juan-Pablo Scaletti
1f6f41a246
Fix py35 issues with pathlib
2019-04-05 10:39:20 -05:00
Juan-Pablo Scaletti
95ca992282
update poetry.lock
2019-04-04 06:44:30 -05:00
Juan-Pablo Scaletti
5b52b37662
pathlib.Path ALL the paths!
2019-04-03 23:22:25 -05:00
Juan-Pablo Scaletti
4861543e8a
Replace colorama with pastel
2019-04-03 23:22:25 -05:00
Juan-Pablo Scaletti
cbacf74c87
Let subprocess.run change the working directory
2019-03-25 09:43:41 -05:00
Juan-Pablo Scaletti
9c9f5e7821
black-styled
2019-03-07 22:07:51 -05:00
Juan-Pablo Scaletti
5cea5d7ac7
Voodoo -> Copier
2019-02-11 22:32:34 -05:00
Juan-Pablo Scaletti
c402fdd7f9
Merge pull request #13 from pykong/patch-1
...
Fixed typo
2018-03-24 19:39:07 -05:00
Ben Felder
8dc77e917b
Fixed typo
2018-03-25 00:27:06 +01:00
Juan-Pablo Scaletti
2bc7adbe98
Merge pull request #10 from takeflight/keep-trailing-newlines
...
Keep trailing newlines in rendered templates
2017-03-14 17:14:22 -05:00
Juan-Pablo Scaletti
7c48898771
Merge pull request #12 from takeflight/prompt_validation
...
Extend prompt functionality
2017-03-14 17:13:46 -05:00
Tim Heap
5b5eaa6e97
Document new prompt options, as_validated_prompt function
2017-03-01 16:49:34 +11:00
Tim Heap
fc54d528e5
Keep trailing newlines in rendered templates
...
Jinja2 defaults to stripping trailing newlines, which upsets tools like
flake8 when used to validate Python files rendered from a template.
Fixes #9
2017-03-01 15:54:42 +11:00
Tim Heap
58a69b0aa0
Add prompt_int function
2017-03-01 15:50:09 +11:00
Tim Heap
d43a8cdc83
Change prompt functions to have validators
2017-03-01 15:50:09 +11:00
Tim Heap
3a9f53dbf4
Add tests for the prompt functions
2017-03-01 15:49:26 +11:00
Tim Heap
057242f46d
Fix unicode filename issue in the tests
...
On the filesystem, the file is called `mañana.txt` with
`n + ~-combining`, while the python tests were looking for `manana.txt`
with `literal ñ`.
2017-03-01 15:48:14 +11:00