1797 Commits

Author SHA1 Message Date
dependabot[bot]
9113cc712f build(deps): bump dunamai from 1.12.0 to 1.13.0
Bumps [dunamai](https://github.com/mtkennerly/dunamai) from 1.12.0 to 1.13.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.12.0...v1.13.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-08-22 17:26:23 +01:00
dependabot[bot]
e39ffdd52e build(deps): bump pygments from 2.12.0 to 2.13.0
Bumps [pygments](https://github.com/pygments/pygments) from 2.12.0 to 2.13.0.
- [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.12.0...2.13.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 12:35:18 +02:00
dependabot[bot]
141ddf1508 build(deps): bump pydantic from 1.9.1 to 1.9.2
Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/samuelcolvin/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/master/HISTORY.md)
- [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12 17:31:28 +02:00
Andrea PIERRÉ
ce52dc1331 docs: add conda install to the README 2022-08-12 08:12:02 +02:00
Juan-Pablo Scaletti
fa3515eff2
docs: update URL in README (#729) 2022-08-09 12:30:27 +00:00
Talley Lambert
6fcd7e02b8
feat: add validator field to Question (#719)
* docs: add note to docstring

* feat: print spawn logs on failure, and fix failure in test

The test was failing because it turns out that `tui` won't print letters that must not change, when running an interactive TUI.

I changed the error message for something that will force all letters to change. This way it works as expected.

Co-authored-by: Jairo Llopis <yajo.sk8@gmail.com>
2022-08-06 15:48:21 +00:00
dependabot[bot]
17ca2ed153 build(deps-dev): bump flake8 from 5.0.3 to 5.0.4
Bumps [flake8](https://github.com/pycqa/flake8) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/5.0.3...5.0.4)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 07:45:47 +02:00
dependabot[bot]
8413071f27 build(deps-dev): bump flake8 from 4.0.1 to 5.0.3
Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.3.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.3)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 15:12:23 +02:00
StefanBRas
930a0c0787 Update configuring.md
Correctly format yaml codeblock.
2022-08-02 14:24:43 +02:00
Ludovico Bianchi
1efb213dc0 docs: use gender-neutral pronouns to refer to user 2022-07-30 07:37:17 +01:00
Can Kutlu Kınay
ef11f05a98 docs: add missing link to PEP-440 2022-07-27 14:45:46 +01:00
dependabot[bot]
0bacd19aaf build(deps): bump jinja2-ansible-filters from 1.3.1 to 1.3.2
Bumps [jinja2-ansible-filters](https://gitlab.com/dreamer-labs/libraries/jinja2-ansible-filters) from 1.3.1 to 1.3.2.
- [Release notes](https://gitlab.com/dreamer-labs/libraries/jinja2-ansible-filters/tags)
- [Changelog](https://gitlab.com/dreamer-labs/libraries/jinja2-ansible-filters/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/dreamer-labs/libraries/jinja2-ansible-filters/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: jinja2-ansible-filters
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-27 14:33:15 +01:00
dependabot[bot]
b9708f6fa5 build(deps-dev): bump types-pyyaml from 6.0.10 to 6.0.11
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.10 to 6.0.11.
- [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-07-26 07:21:29 +01:00
dependabot[bot]
b0a87427f8 build(deps-dev): bump mypy from 0.961 to 0.971
Bumps [mypy](https://github.com/python/mypy) from 0.961 to 0.971.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.961...v0.971)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 15:10:53 +01:00
dependabot[bot]
241b28fb7a build(deps-dev): bump poethepoet from 0.15.0 to 0.16.0
Bumps [poethepoet](https://github.com/nat-n/poethepoet) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/nat-n/poethepoet/releases)
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: poethepoet
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 15:11:51 +01:00
dependabot[bot]
e4f8956c30 build(deps): bump typing-extensions from 4.2.0 to 4.3.0
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.2.0 to 4.3.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.2.0...4.3.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-07-16 06:58:53 +01:00
dependabot[bot]
01a109a858 build(deps-dev): bump types-pyyaml from 6.0.9 to 6.0.10
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.9 to 6.0.10.
- [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-07-16 06:58:45 +01:00
dependabot[bot]
cdc37f64fe build(deps-dev): bump pre-commit from 2.19.0 to 2.20.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.19.0 to 2.20.0.
- [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.19.0...v2.20.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 13:58:05 +01:00
Tim Gates
0f5257a0b0 docs: Fix a few typos
There are small typos in:
- copier/template.py
- copier/user_data.py
- devtasks.py

Fixes:
- Should read `multiline` rather than `mutliline`.
- Should read `descriptive` rather than `descripted`.
- Should read `artefacts` rather than `artefacrts`.
2022-07-07 06:08:29 +01:00
dependabot[bot]
bafc68b420 build(deps-dev): bump flake8-bugbear from 22.6.22 to 22.7.1
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.6.22 to 22.7.1.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.6.22...22.7.1)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 06:03:50 +01:00
dependabot[bot]
b9f4be8aa0 build(deps-dev): bump poethepoet from 0.14.0 to 0.15.0
Bumps [poethepoet](https://github.com/nat-n/poethepoet) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/nat-n/poethepoet/releases)
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: poethepoet
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 06:03:20 +01:00
dependabot[bot]
956e86096a build(deps-dev): bump black from 22.3.0 to 22.6.0
Bumps [black](https://github.com/psf/black) from 22.3.0 to 22.6.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.3.0...22.6.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 16:52:36 +01:00
dependabot[bot]
7dffea7a9a build(deps-dev): bump types-pyyaml from 6.0.8 to 6.0.9
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.8 to 6.0.9.
- [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-06-27 20:17:13 +01:00
dependabot[bot]
557ea4d000 build(deps-dev): bump flake8-bugbear from 22.4.25 to 22.6.22
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.4.25 to 22.6.22.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.4.25...22.6.22)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 16:38:28 +01:00
dependabot[bot]
314b34ae8f build(deps-dev): bump poethepoet from 0.13.1 to 0.14.0
Bumps [poethepoet](https://github.com/nat-n/poethepoet) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/nat-n/poethepoet/releases)
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.13.1...v0.14.0)

---
updated-dependencies:
- dependency-name: poethepoet
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:00:48 +01:00
John
514bd381c4
feat: support passing github or gitlab urls without the .git suffix (#677)
* fix(vcs.py): Added additional values to GIT_PREFIX to accept https:\\github.com and https:\\gitlab.com. Added handler in get_repo() to add .git to the end of the url if it didn't exist and started with one of those two prefixes. Resolves #217

Accounts for passing github or gitlab urls without the .git suffix to prevent vcs.get_repo from returning None

Resolves #217

* test(test_vcs.py): Added tests cases to support accepting https://github.com and https://gitlab.com urls in vcs.get_repo()

* test(test_vcs.py): based on #677 (comment), we expect the returned url to appropriately append .git. Updated test cases to account for this.

* fix(vcs.py): Corrected the argument being passed to the join() method in get_repo to be a single tuple of strings vice multiple strings since join() takes a single iterable as an argument.

* fix(vcs.py): Corrected the elif statement in get_repo() to join the url with ".git" vice GIT_PREFIX since GIT_PREFIX is of type tuple and join() requires an interable of strings as an argument.

* fix(vcs.py): Change GIT_POSTFIX to a string instead of a tuple.

* style(vcs.py and test_vcs.py): cleanup to pass test_lint()

* style(test_vcs.py): cleanup to pass test_lint()

* style(test_vcs.py): cleanup to pass test_lint()
2022-06-18 08:35:37 +00:00
dependabot[bot]
9a33ae6ee5 build(deps): bump colorama from 0.4.4 to 0.4.5
Bumps [colorama](https://github.com/tartley/colorama) from 0.4.4 to 0.4.5.
- [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.4...0.4.5)

---
updated-dependencies:
- dependency-name: colorama
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 18:55:57 +01:00
Jairo Llopis
7435792276
docs: link badge to copier pypi page 2022-06-13 11:05:40 +01:00
Jairo Llopis
9ee4fe1ba8
bump: version 6.0.0 → 6.1.0 v6.1.0 2022-06-13 10:47:15 +01:00
Jairo Llopis
f3fd7e2954
build(commitizen): configure
Fast-forward commitizen configuration from https://github.com/copier-org/copier/pull/696 to let me publish a new release with the changelog easily now.
2022-06-13 10:46:49 +01:00
Jairo Llopis
04c99e85a9 feat: support getting template commit hash with {{ _copier_conf.vcs_ref_hash }}
When targeting reproducible builds, we need to have exact and immutable hashes.

Until now, there was only one way to get template commit. You could only get the tag, or the best serializable approach to obtain a commit from a tag.

Using this new helper, you can get what you need.
2022-06-13 10:44:04 +01:00
Jairo Llopis
e93fa227b9
docs: fix choice instructions
In copier 5 they had to type 1 or 2, but now it's interactive.
2022-06-12 09:34:23 +01:00
dependabot[bot]
b0b4d31906 build(deps): bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 14:37:29 +01:00
dependabot[bot]
bf8a156005 build(deps-dev): bump mypy from 0.960 to 0.961
Bumps [mypy](https://github.com/python/mypy) from 0.960 to 0.961.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.960...v0.961)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 14:04:41 +01:00
Paul Moore
05c5f09034
feat: simplify the format of the question prompt (#689)
Closes https://github.com/copier-org/copier/issues/674
2022-06-04 11:02:37 +00:00
dependabot[bot]
a88c0768a0 build(deps-dev): bump types-pyyaml from 6.0.7 to 6.0.8
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.7 to 6.0.8.
- [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-06-04 12:01:37 +01:00
yajo
a1609aee3f build(deps): include mkdocstrings[python] 2022-05-31 18:09:55 +01:00
dependabot[bot]
f1b0cbdd15 build(deps): bump mkdocstrings from 0.18.1 to 0.19.0
Bumps [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings) from 0.18.1 to 0.19.0.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.18.1...0.19.0)

---
updated-dependencies:
- dependency-name: mkdocstrings
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 18:09:55 +01:00
Paul Moore
c5d46100a6
tests: refactor the tests to only depend on the prompt format in one place (#682)
* refactor(tests): refactor the tests to only depend on the prompt format in one place

* Address review comments
2022-05-28 08:42:19 +00:00
mshafer-NI
dc042a385a
fix: ignore non-PEP-440-compliant tags (#676)
* test: make test that on-version tags are ignored

* fix: don't assume tags are valid versions

* fix: test naming

* test: using non-version tag as vcs-ref

Fixes https://github.com/copier-org/copier/issues/675.
2022-05-26 17:17:27 +01:00
Jairo Llopis
c16b0b8a7b
docs: skip_if_exists must be a list 2022-05-25 07:44:40 +01:00
dependabot[bot]
f33884a354 build(deps): bump pydantic from 1.9.0 to 1.9.1
Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/samuelcolvin/pydantic/releases)
- [Changelog](https://github.com/samuelcolvin/pydantic/blob/v1.9.1/HISTORY.md)
- [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 15:36:20 +02:00
dependabot[bot]
6372dc46ca build(deps-dev): bump flake8-comprehensions from 3.9.0 to 3.10.0
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/adamchainz/flake8-comprehensions/releases)
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/main/HISTORY.rst)
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.9.0...3.10.0)

---
updated-dependencies:
- dependency-name: flake8-comprehensions
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 15:35:45 +02:00
Sebastian Tramp
cc0ff5292b fix release data 2022-05-16 19:35:39 +01:00
Jairo Llopis
2a729ca2b5 bump: new release v6.0.0 2022-05-15 09:55:55 +01:00
dependabot[bot]
33e7895f6e build(deps): bump dunamai from 1.11.1 to 1.12.0
Bumps [dunamai](https://github.com/mtkennerly/dunamai) from 1.11.1 to 1.12.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.11.1...v1.12.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-05-12 15:32:39 +01:00
dependabot[bot]
b295d30c5d build(deps-dev): bump flake8-comprehensions from 3.8.0 to 3.9.0
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/adamchainz/flake8-comprehensions/releases)
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/main/HISTORY.rst)
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.8.0...3.9.0)

---
updated-dependencies:
- dependency-name: flake8-comprehensions
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 15:16:09 +01:00
dependabot[bot]
4d0d8550bd build(deps-dev): bump pre-commit from 2.18.1 to 2.19.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.18.1 to 2.19.0.
- [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.18.1...v2.19.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-07 07:21:06 +01:00
Jairo Llopis
8c3be0f03c
docs: fix typos (#658) 2022-05-03 07:31:07 +01:00
Kian-Meng Ang
4684c78b5b Fix typos 2022-05-03 11:54:59 +08:00