Skip to content

Comments

Genereate .copier-answer.yml and add template tag to README#78

Merged
TimMonko merged 3 commits intonapari:mainfrom
TimMonko:add-version-info
Jul 18, 2025
Merged

Genereate .copier-answer.yml and add template tag to README#78
TimMonko merged 3 commits intonapari:mainfrom
TimMonko:add-version-info

Conversation

@TimMonko
Copy link
Contributor

Description

This genarates the .copier-answer.yml file which I've been debating on adding for a while. My hesitation is adding yet another file into the template's output, but I'm realizing a few strengths:

  1. authors can validate how they set up a project, and use that in a new project, if they find it helpful
  2. support, like from the napari team, will be easier because we can see what the project started with, in order to narrow down changes
  3. it allows re-running templates and updating, by basing on previous answers or 'resetting'

This also adds the vcs_ref (tag or dev version) to the template output, so that, again, it's easier to support plugin authors.

Copy link
Contributor

@DragaDoncila DragaDoncila left a comment

Choose a reason for hiding this comment

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

I do like this, it seems useful. Agree we have a lot of files generated, but I do think the potential usefulness of this outweighs the cons. Folks can always delete it if they want. It would be nice to do a video tour or blog post or something that takes you through all the different stuff the template sets up. I just ran it today for something and there's so much stuff - can be very intimidating for a beginner

@TimMonko TimMonko merged commit 9f6e529 into napari:main Jul 18, 2025
12 checks passed
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.

2 participants