Mitch Negus
931961f24a
fix: provide more clarification in unsafe error message ( #1280 )
...
Fixes https://github.com/copier-org/copier/issues/1269
2023-08-17 08:49:18 +01:00
dependabot[bot]
762195d2be
build(deps-dev): bump poethepoet from 0.21.1 to 0.22.0
...
Bumps [poethepoet](https://github.com/nat-n/poethepoet ) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/nat-n/poethepoet/releases )
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.21.1...v.0.22.0 )
---
updated-dependencies:
- dependency-name: poethepoet
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 15:25:25 +02:00
dependabot[bot]
c5eb24f919
build(deps): bump questionary from 1.10.0 to 2.0.0
...
Bumps [questionary](https://github.com/tmbo/questionary ) from 1.10.0 to 2.0.0.
- [Commits](https://github.com/tmbo/questionary/compare/1.10.0...2.0.0 )
---
updated-dependencies:
- dependency-name: questionary
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 14:59:05 +02:00
dependabot[bot]
cc49bdc462
build(deps): bump pygments from 2.15.1 to 2.16.1
...
Bumps [pygments](https://github.com/pygments/pygments ) from 2.15.1 to 2.16.1.
- [Release notes](https://github.com/pygments/pygments/releases )
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES )
- [Commits](https://github.com/pygments/pygments/compare/2.15.1...2.16.1 )
---
updated-dependencies:
- dependency-name: pygments
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 15:29:18 +02:00
Sigurd Spieckermann
a75066e34c
docs: use autorefs for section references
2023-08-05 20:33:57 +02:00
Sigurd Spieckermann
0bdd42aef2
docs: add light/dark scheme support for star history chart
2023-08-04 15:36:21 +02:00
Jairo Llopis
df139757a9
fix: clean up tmp dir
...
Until now, Copier always left a lot of garbage in the tmp dir.
When running in batch, this could become a big problem, as templates would fill up memory (`/tmp/` is usually mounted as tmpfs).
@moduon MT-3411
Co-authored-by: Sigurd Spieckermann <sigurd.spieckermann@gmail.com>
2023-08-03 08:02:32 +00:00
Jairo Llopis
9a2fd0443d
fix: don't lie about updated files
...
Updating involves some low-level git-fu. This can cause unpredicted files to get updated, and the report to the user sometimes is fake.
It'd be great to tell the truth, but for now at least let's just not lie.
Fix https://github.com/copier-org/copier/issues/943 .
Co-authored-by: Sigurd Spieckermann <sigurd.spieckermann@gmail.com>
2023-08-03 05:19:33 +02:00
dependabot[bot]
9fc58b8b3c
build(deps): bump pathspec from 0.11.1 to 0.11.2
...
Bumps [pathspec](https://github.com/cpburnz/python-pathspec ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/cpburnz/python-pathspec/releases )
- [Changelog](https://github.com/cpburnz/python-pathspec/blob/master/CHANGES.rst )
- [Commits](https://github.com/cpburnz/python-pathspec/compare/v0.11.1...v0.11.2 )
---
updated-dependencies:
- dependency-name: pathspec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 15:42:45 +02:00
dependabot[bot]
db4c684a7c
build(deps-dev): bump mkdocs-material from 9.1.20 to 9.1.21
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.1.20 to 9.1.21.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.20...9.1.21 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 15:31:20 +02:00
dependabot[bot]
b118b5287a
build(deps-dev): bump mkdocs-material from 9.1.19 to 9.1.20
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.1.19 to 9.1.20.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.19...9.1.20 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 15:05:50 +02:00
dependabot[bot]
1b2cb9adaa
build(deps): bump pydantic from 2.0.3 to 2.1.1
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.0.3 to 2.1.1.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.0.3...v2.1.1 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-26 15:28:49 +02:00
dependabot[bot]
a9e7b6ba3c
build(deps-dev): bump types-pyyaml from 6.0.12.10 to 6.0.12.11
...
Bumps [types-pyyaml](https://github.com/python/typeshed ) from 6.0.12.10 to 6.0.12.11.
- [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>
2023-07-21 17:40:18 +02:00
dependabot[bot]
b43401dc71
build(deps-dev): bump types-psutil from 5.9.5.15 to 5.9.5.16
...
Bumps [types-psutil](https://github.com/python/typeshed ) from 5.9.5.15 to 5.9.5.16.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-psutil
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 16:48:39 +02:00
dependabot[bot]
58d805e30c
build(deps-dev): bump types-decorator from 5.1.8.3 to 5.1.8.4
...
Bumps [types-decorator](https://github.com/python/typeshed ) from 5.1.8.3 to 5.1.8.4.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-decorator
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 15:57:23 +02:00
Sigurd Spieckermann
112f8f2d1d
style: fix typo in error message
2023-07-20 17:21:24 +02:00
dependabot[bot]
e3863cf2e7
build(deps-dev): bump pre-commit from 2.21.0 to 3.3.3
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.21.0 to 3.3.3.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.21.0...v3.3.3 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 15:31:58 +02:00
dependabot[bot]
a760983bf2
build(deps-dev): bump poethepoet from 0.19.0 to 0.21.1
...
Bumps [poethepoet](https://github.com/nat-n/poethepoet ) from 0.19.0 to 0.21.1.
- [Release notes](https://github.com/nat-n/poethepoet/releases )
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.19.0...v0.21.1 )
---
updated-dependencies:
- dependency-name: poethepoet
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 15:18:43 +02:00
dependabot[bot]
807f3cd9ea
build(deps-dev): bump mkdocs-material from 9.1.18 to 9.1.19
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.1.18 to 9.1.19.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.18...9.1.19 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 15:17:50 +02:00
Sigurd Spieckermann
1031601332
docs: use relative path to Markdown file for page linking
2023-07-19 13:48:49 +02:00
Sigurd Spieckermann
dc94486047
feat: add support for pre-copy and post-copy messages
2023-07-19 13:13:00 +02:00
Sigurd Spieckermann
9218e22807
fix: require default value for secret question
2023-07-19 05:53:26 +01:00
Sigurd Spieckermann
a82c0ad6bf
refactor: drop support for Python 3.7 ( #1252 )
2023-07-18 19:59:05 +01:00
dependabot[bot]
a27366bc72
build(deps): bump pyyaml from 6.0 to 6.0.1
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 6.0 to 6.0.1.
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.1/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0...6.0.1 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 15:05:07 +02:00
Sigurd Spieckermann
10fef1bcf9
style: prefer imports from modules
2023-07-17 13:55:51 +02:00
Sigurd Spieckermann
295d35ac88
style: use Literal
with multiple args instead of union of Literal
2023-07-17 11:56:47 +02:00
Sigurd Spieckermann
34c9a76757
style: remove dead code
2023-07-17 11:56:30 +02:00
Sigurd Spieckermann
568de4e14f
build: use dataclass field instead of Pydantic field ( #1249 )
2023-07-17 06:44:40 +01:00
dependabot[bot]
98885713eb
build(deps): bump pydantic from 2.0.2 to 2.0.3
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.0.2...v2.0.3 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 14:57:02 +02:00
Timothée Mazzucotelli
a42a3a702c
build: support Pydantic v2 ( #1229 )
...
Co-authored-by: Sigurd Spieckermann <sigurd.spieckermann@gmail.com>
Co-authored-by: Jairo Llopis <yajo.sk8@gmail.com>
2023-07-14 11:44:02 +02:00
dependabot[bot]
3a76e6645a
build(deps): bump dunamai from 1.17.0 to 1.18.0
...
Bumps [dunamai](https://github.com/mtkennerly/dunamai ) from 1.17.0 to 1.18.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.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: dunamai
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 14:39:32 +02:00
Sigurd Spieckermann
75b893108b
fix: fix answer validation against conditional choices with duplicate values
2023-07-11 07:42:16 +02:00
Sigurd Spieckermann
7fbf287d5f
build: clean up secret questions management
2023-07-10 18:34:02 +00:00
Sigurd Spieckermann
8616ff040d
build: assign immutable default value without dataclass field()
function ( #1199 )
2023-07-10 18:33:14 +00:00
Jairo Llopis
67f2664b6a
bump: version 8.0.0 → 8.1.0
v8.1.0
2023-07-10 19:23:04 +01:00
Jairo Llopis
325ace4556
fix(pydantic): add upper dependency bound to fix unlocked installations
...
Fix https://github.com/copier-org/copier/issues/1225 .
2023-07-10 19:14:17 +02:00
dependabot[bot]
a5da81cec8
build(deps): bump pydantic from 1.10.9 to 1.10.11
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.9 to 1.10.11.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.9...v1.10.11 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 15:28:00 +02:00
dependabot[bot]
c54a7bd71e
build(deps): bump typing-extensions from 4.7.0 to 4.7.1
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.7.0 to 4.7.1.
- [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.7.0...4.7.1 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 15:21:58 +02:00
dependabot[bot]
47620fd178
build(deps-dev): bump mkdocs-material from 9.1.17 to 9.1.18
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.1.17 to 9.1.18.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.17...9.1.18 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 15:21:03 +02:00
Sigurd Spieckermann
1e81fd5eca
feat: add support for computed values via skipped questions ( #1220 )
...
* feat: add support for computed values via skipped questions
* docs: apply review suggestions
Co-authored-by: Jairo Llopis <973709+yajo@users.noreply.github.com>
* docs: update inline comments
* docs: fix formatting
---------
Co-authored-by: Jairo Llopis <973709+yajo@users.noreply.github.com>
2023-07-08 10:36:21 +00:00
Jairo Llopis
0c5a6ca2b4
docs: clarify how to use recopy to recover from broken updates
...
Docs were a bit repetitive and unclear.
Targets https://github.com/copier-org/copier/issues/1170 . It could even fix it?
Co-authored-by: Timothée Mazzucotelli <pawamoy@pm.me>
Co-authored-by: Sigurd Spieckermann <2206639+sisp@users.noreply.github.com>
2023-07-08 10:53:14 +02:00
dependabot[bot]
1998c0ad68
build(deps): bump pyyaml-include from 1.3 to 1.3.1
...
Bumps [pyyaml-include](https://github.com/tanbro/pyyaml-include ) from 1.3 to 1.3.1.
- [Changelog](https://github.com/tanbro/pyyaml-include/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tanbro/pyyaml-include/compare/v1.3...v1.3.1 )
---
updated-dependencies:
- dependency-name: pyyaml-include
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 10:47:31 +02:00
dependabot[bot]
34daebbd7c
build(deps): bump typing-extensions from 4.6.3 to 4.7.0
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.6.3 to 4.7.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.6.3...4.7.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>
2023-06-29 16:33:48 +01:00
dependabot[bot]
258e3822e0
build(deps-dev): bump mkdocs-material from 9.1.16 to 9.1.17
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.1.16 to 9.1.17.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.16...9.1.17 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 16:17:25 +01:00
dependabot[bot]
38c6d23d26
build(deps-dev): bump mypy from 1.4.0 to 1.4.1
...
Bumps [mypy](https://github.com/python/mypy ) from 1.4.0 to 1.4.1.
- [Commits](https://github.com/python/mypy/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 06:27:50 +01:00
Jairo Llopis
aaf6cf3843
feat: add --trust
as a less scary alternative to --UNSAFE
( #1179 )
...
See rationale in https://github.com/copier-org/copier/issues/1137#issuecomment-1579304713 .
Co-authored-by: Sigurd Spieckermann <2206639+sisp@users.noreply.github.com>
2023-06-28 21:17:32 +02:00
Sigurd Spieckermann
32f2a3a3dd
refactor: request answers imperatively instead of implicitly via impure property
2023-06-25 09:14:00 +01:00
Sigurd Spieckermann
f8290d4839
docs: update default conflict mode
2023-06-25 08:53:59 +01:00
Sigurd Spieckermann
62bed4fc59
build(typing): use Literal
type hint for conflict
attribute ( #1200 )
2023-06-25 08:51:37 +01:00
Colin Marquardt
693d95896c
Fix template vs destination folder mixup
2023-06-25 07:59:45 +01:00