Mark van Holsteijn
2c6e2b711f
docs: add regex validator example
...
as requested in
https://github.com/copier-org/copier/discussions/892
2022-12-19 19:18:32 +00:00
Sigurd Spieckermann
005a897970
chore(pre-commit): add poetry lock file check hook
2022-11-30 20:28:45 +00:00
dependabot[bot]
103828b59f
build(deps): bump dunamai from 1.14.0 to 1.14.1
...
Bumps [dunamai](https://github.com/mtkennerly/dunamai ) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/mtkennerly/dunamai/releases )
- [Changelog](https://github.com/mtkennerly/dunamai/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mtkennerly/dunamai/compare/v1.14.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: dunamai
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 15:10:04 +00:00
Barry Hart
504301c28e
feat: experimental inline conflict markers when updating
...
Fixes #613
Based on #627 , but:
* Supports both old (`.rej` files) and new (inline markers) conflict behavior
* Update a test to test both rej and inline conflict resolution
* Update some tests to explicitly specify "rej" conflict mode
* Add documentation for the two conflict modes
* keeping only 3-way merge
Co-authored-by: Oleh Prypin <oprypin@users.noreply.github.com>
Co-authored-by:
Thierry Guillemot <tguillemot@users.noreply.github.com>
Co-authored-by: Barry Hart <barry.hart@zoro.com>
Co-authored-by: Jairo Llopis <yajo.sk8@gmail.com>
Co-authored-by: Timothée Mazzucotelli <pawamoy@pm.me>
2022-11-14 05:09:23 +00:00
dependabot[bot]
be900ed5db
build(deps): bump dunamai from 1.13.2 to 1.14.0
...
Bumps [dunamai](https://github.com/mtkennerly/dunamai ) from 1.13.2 to 1.14.0.
- [Release notes](https://github.com/mtkennerly/dunamai/releases )
- [Changelog](https://github.com/mtkennerly/dunamai/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mtkennerly/dunamai/compare/v1.13.2...v1.14.0 )
---
updated-dependencies:
- dependency-name: dunamai
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-12 09:07:11 +00:00
Sigurd Spieckermann
6f2749f165
docs: fix invalid anchor link
2022-11-11 16:32:34 +00:00
Sigurd Spieckermann
a2d7979fe2
chore(pre-commit): update hooks
2022-11-10 14:52:09 +00:00
Timothée Mazzucotelli
b88cc97fc1
docs: Add missing dash in CLI flag docs
2022-11-07 18:47:40 +00:00
Jairo Llopis
656f78c409
ci: use codecov token for uploads
...
Let's see if this fixes the constant failures from Codecov uploads.
Inspiration: https://github.com/codecov/codecov-action/issues/557#issuecomment-1224970469
2022-11-07 17:58:21 +00:00
Sigurd Spieckermann
6f6208be9a
docs: improve section on including other YAML files
2022-10-28 14:25:51 +00:00
Sascha Desch
12bd54239c
docs: add rules for merging of multiple documents
2022-10-27 08:37:39 +01:00
Sascha Desch
f643d846cd
test: add test case for merging settings
...
The test case checks that merging entries for the the settings
`skip_if_exists`, `exclude`, `jinja_extensions` and
`secret_questions` work as expected and entries are concatenated.
2022-10-27 08:37:39 +01:00
Sascha Desch
ef10e6b53a
feat: merge copier settings from multiple documents
2022-10-27 08:37:39 +01:00
dependabot[bot]
5ec47d95b9
build(deps): bump colorama from 0.4.5 to 0.4.6
...
Bumps [colorama](https://github.com/tartley/colorama ) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/tartley/colorama/releases )
- [Changelog](https://github.com/tartley/colorama/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/tartley/colorama/compare/0.4.5...0.4.6 )
---
updated-dependencies:
- dependency-name: colorama
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 15:23:13 +01:00
dependabot[bot]
92955cfd8d
build(deps): bump dunamai from 1.13.1 to 1.13.2
...
Bumps [dunamai](https://github.com/mtkennerly/dunamai ) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/mtkennerly/dunamai/releases )
- [Changelog](https://github.com/mtkennerly/dunamai/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mtkennerly/dunamai/compare/v1.13.1...v1.13.2 )
---
updated-dependencies:
- dependency-name: dunamai
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-16 17:06:15 +02:00
Jairo Llopis
ecc0b80089
bump: version 7.0.0 → 7.0.1
v7.0.1
2022-10-14 13:41:10 +02:00
Sigurd Spieckermann
6085f7708e
fix: remove deprecated code scheduled for removal in Copier v7 ( #843 )
2022-10-14 11:52:59 +02:00
Jairo Llopis
3b2bb0e248
bump: version 6.2.0 → 7.0.0
2022-10-12 14:45:19 +02:00
Jairo Llopis
8cb181aa5e
docs: don't lie
...
Fix #838 by not saying tasks can be overridden by API. It's not true.
2022-10-09 07:32:48 +01:00
dependabot[bot]
f0b849038b
build(deps): bump plumbum from 1.7.2 to 1.8.0
...
Bumps [plumbum](https://github.com/tomerfiliba/plumbum ) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/tomerfiliba/plumbum/releases )
- [Changelog](https://github.com/tomerfiliba/plumbum/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/tomerfiliba/plumbum/compare/v1.7.2...v1.8.0 )
---
updated-dependencies:
- dependency-name: plumbum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 15:52:09 +01:00
dependabot[bot]
287b5dfa55
build(deps): bump typing-extensions from 4.3.0 to 4.4.0
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/python/typing_extensions/releases )
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.3.0...4.4.0 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 15:51:43 +01:00
Sigurd Spieckermann
482db41c90
refactor(typing): use abstract container types where possible ( #832 )
2022-10-06 12:11:32 +00:00
Sigurd Spieckermann
c653b68c95
refactor: use dict
constructor as default factory
2022-10-06 13:11:29 +01:00
Sigurd Spieckermann
1f40ddaac2
docs: replace default argument value N/A by []
for lists
2022-10-03 20:46:46 +01:00
Sigurd Spieckermann
3d00700240
refactor(typing): remove unused types
2022-10-03 20:45:06 +01:00
Sigurd Spieckermann
077f6a8a8c
chore(mypy): remove redundant --ignore-missing-imports
flag
2022-10-03 20:41:08 +01:00
Timothée Mazzucotelli
682f917b2f
feat: expand tilde in template source path ( #835 )
2022-10-02 16:57:10 +01:00
Sigurd Spieckermann
2f714559e6
docs: use empty list as default value
...
Co-authored-by: Jairo Llopis <973709+yajo@users.noreply.github.com>
2022-09-30 05:12:34 +01:00
Sigurd Spieckermann
171293a0fe
docs: add _secret_questions
setting
2022-09-30 05:12:34 +01:00
Sigurd Spieckermann
93acbd9675
docs: beautify badges
2022-09-30 05:04:59 +01:00
Sigurd Spieckermann
c0410b2199
refactor: remove unreachable code ( #826 )
...
I've removed unreachable code in an `if` condition that handles a [question choice format that isn't supported](e8d6239f87/tests/test_complex_questions.py (L61-L89)
).
The handled format is:
```yaml
choices:
- name: ... # <--
value: ... # <--
- ...
# or
choices:
key:
name: ... # <--
value: ... # <--
...
```
BREAKING CHANGE: Of you were using this undocumented choices format, it will stop working. Update to a supported format.
2022-09-30 05:03:38 +01:00
Sigurd Spieckermann
44d574763f
chore: organize deps with Poetry v1.2 groups ( #823 )
...
* chore: organize deps with Poetry v1.2 groups
* chore: update Read the Docs config to use Poetry
* chore: reorganize deps into 3 sections
2022-09-30 04:53:57 +01:00
dependabot[bot]
0b90e325ac
build(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases )
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 23:28:18 +01:00
dependabot[bot]
cce2d82810
build(deps-dev): bump mypy from 0.971 to 0.981
...
Bumps [mypy](https://github.com/python/mypy ) from 0.971 to 0.981.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.971...v0.981 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 23:21:15 +01:00
dependabot[bot]
e8d6239f87
build(deps-dev): bump flake8-bugbear from 22.9.11 to 22.9.23
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 22.9.11 to 22.9.23.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.9.11...22.9.23 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 16:54:25 +01:00
dependabot[bot]
4ed81d74d1
build(deps): bump dunamai from 1.13.0 to 1.13.1
...
Bumps [dunamai](https://github.com/mtkennerly/dunamai ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/mtkennerly/dunamai/releases )
- [Changelog](https://github.com/mtkennerly/dunamai/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mtkennerly/dunamai/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: dunamai
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 16:49:20 +01:00
Timothée Mazzucotelli
9b536a23e0
fix: delete temporary clones after execution automatically ( #802 )
...
Co-authored-by: Jairo Llopis <973709+yajo@users.noreply.github.com>
2022-09-27 15:26:07 +00:00
Sigurd Spieckermann
093fce5c72
fix(typing): remove invalid migration task stage "task"
2022-09-27 16:25:27 +01:00
dependabot[bot]
6b6fe30a71
build(deps-dev): bump types-pyyaml from 6.0.11 to 6.0.12
...
Bumps [types-pyyaml](https://github.com/python/typeshed ) from 6.0.11 to 6.0.12.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-pyyaml
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 15:45:30 +01:00
Sigurd Spieckermann
bd766ba7c5
docs: unify YAML code block indentation
2022-09-24 13:07:57 +01:00
Sigurd Spieckermann
34a4feea85
refactor: model a task to execute using a dataclass
2022-09-24 09:28:17 +01:00
Sigurd Spieckermann
0e97a1729f
docs: require Poetry v1.2+
2022-09-24 08:56:05 +01:00
Sigurd Spieckermann
62a912ec28
refactor: reduce module imports
2022-09-24 08:55:19 +01:00
Sigurd Spieckermann
8eef43b11b
build: fix backend
2022-09-24 07:19:57 +01:00
Sigurd Spieckermann
6d9a2ba842
build: use poetry-dynamic-versioning wrapper for build backend
2022-09-24 07:19:57 +01:00
dependabot[bot]
cf39fcd0ad
build(deps-dev): bump commitizen from 2.34.0 to 2.35.0
...
Bumps [commitizen](https://github.com/commitizen-tools/commitizen ) from 2.34.0 to 2.35.0.
- [Release notes](https://github.com/commitizen-tools/commitizen/releases )
- [Changelog](https://github.com/commitizen-tools/commitizen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/commitizen-tools/commitizen/compare/v2.34.0...v2.35.0 )
---
updated-dependencies:
- dependency-name: commitizen
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 13:42:15 +01:00
dependabot[bot]
c3ecc1c52d
build(deps-dev): bump autoflake from 1.6.0 to 1.6.1
...
Bumps [autoflake](https://github.com/PyCQA/autoflake ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/PyCQA/autoflake/releases )
- [Commits](https://github.com/PyCQA/autoflake/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: autoflake
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 18:26:10 +01:00
dependabot[bot]
ccfbc9a923
build(deps-dev): bump autoflake from 1.5.3 to 1.6.0
...
Bumps [autoflake](https://github.com/PyCQA/autoflake ) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/PyCQA/autoflake/releases )
- [Commits](https://github.com/PyCQA/autoflake/compare/v1.5.3...v1.6.0 )
---
updated-dependencies:
- dependency-name: autoflake
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 08:33:26 +01:00
dependabot[bot]
e638cc49ca
build(deps-dev): bump commitizen from 2.33.1 to 2.34.0
...
Bumps [commitizen](https://github.com/commitizen-tools/commitizen ) from 2.33.1 to 2.34.0.
- [Release notes](https://github.com/commitizen-tools/commitizen/releases )
- [Changelog](https://github.com/commitizen-tools/commitizen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/commitizen-tools/commitizen/compare/v2.33.1...v2.34.0 )
---
updated-dependencies:
- dependency-name: commitizen
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 08:32:30 +01:00
Jairo Llopis
608654a03e
bump: version 6.1.0 → 6.2.0
v6.2.0
2022-09-18 09:04:21 +01:00