Skip to content

Merge upstream into master#2

Open
dellekappa wants to merge 203 commits intomasterfrom
upstream
Open

Merge upstream into master#2
dellekappa wants to merge 203 commits intomasterfrom
upstream

Conversation

@dellekappa
Copy link
Copy Markdown
Owner

No description provided.

renovate-bot and others added 30 commits July 23, 2025 10:30
Co-authored-by: Sigurd Spieckermann <2206639+sisp@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…true` (copier-org#2151)

Signed-off-by: Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
renovate-bot and others added 30 commits February 10, 2026 22:15
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sigurd Spieckermann <2206639+sisp@users.noreply.github.com>
…tern matching during updates

Previously, user-deleted file paths were not normalized before matching
against skip-if-exists patterns. This caused mismatches when paths
contained special characters, as the path representation differed from
the gitignore-style pattern representation.

The fix applies `normalize_git_path` to user-deleted file paths before
matching them against skip-if-exists patterns, ensuring consistent path
representation and correct pattern matching.

Fixes missing recreation of user-deleted files that should match
skip-if-exists patterns during project updates.
Deprecate importing `VcsRef` directly from `copier` in favor of
importing from `copier.types`. This change aligns with the revised
public `types` module structure while maintaining backward compatibility
through a deprecation warning.
…gorithm

Prefix deleted file paths with `/` to treat them as absolute paths
anchored at the project root, turning them into gitignore-style
patterns that match only the exact paths. This prevents unintended
deletion of files with the same name in subdirectories during
project updates.
…bproject root in update algorithm

Skip-if-exists patterns are documented as gitignore-style patterns but were
incorrectly passed to the update algorithm's internal `git apply --exclude`
flag that expects pathspec patterns. This caused patterns with gitignore-
specific syntax (e.g., `/` prefix for anchoring) to fail. Now patterns are
consistently applied as gitignore-style and properly anchored at the
subproject root, which may be a subdirectory of the Git repo.
…Phase` and `types.VcsRef` enums

This reverts commit 0fda385.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.