Skip to content

Generate real merge conflicts on template update - #364

Merged
grst merged 44 commits into
mainfrom
new-template-sync
Apr 1, 2025
Merged

grst merged 44 commits into
mainfrom
new-template-sync

Conversation

@grst

@grst grst commented Mar 18, 2025 •

Copy link
Copy Markdown
Collaborator

Close #175

  • make sure that in the future, after creating a repo, a first commit "initialize from template" is created.
  • ignore certain files (i.e. example files like basic.py). This should already be defined in cruft, but we need to respect it.
  • fix/update tests
  • suggest to use uv in the README (Suggest to use uv to run cruft #370)

@grst
grst marked this pull request as ready for review March 19, 2025 09:19

@Zethson Zethson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! This all looks sane to me.

I'll add a commit where I improve some nitpicky stuff. Not gonna bother you with that.

@grst
grst requested a review from flying-sheep March 19, 2025 15:47

@flying-sheep flying-sheep left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome functionality, some questions about the safeguards you removed.

Comment thread scripts/pyproject.toml Resolved
Comment thread scripts/pyproject.toml Resolved
Comment thread scripts/pyproject.toml Resolved
Comment thread scripts/tests/test_cruft.py Resolved
@github-actions

Copy link
Copy Markdown

A PR has been generated to the instance repo:
scverse/cookiecutter-scverse-instance#184

You can check out the PR to preview your changes
in an instance of the cookiecutter template. The PR will be kept in sync with
this PR automatically.

@grst

grst commented Mar 23, 2025

Copy link
Copy Markdown
Collaborator Author

@flying-sheep, I refactored the code a little that separate units can be tested and added unit tests for all steps that can be tested with a readonly github token.

Btw, here's a test PR created by the script: scverse/infercnvpy#160

This was referenced Apr 2, 2025
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.

Create actual merge conflicts on template sync

3 participants