[Feature] Ship vip.toml.example with the package

Open
#800 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
54/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by reading pyproject.toml to see how the wheel currently includes scaffold examples and report templates, then locate the README and User Guide curl instructions. Make the example config available from the installed package through a CLI command and update both docs to use it. Done when an installed posit-vip can write out a version-matched vip.toml.example and the docs use that command.

Written by the indexing model from the issue text.

Description

vip.toml.example isn't in the wheel. pyproject.toml force-includes only the scaffold examples and the report templates, so someone who installs with uv tool install posit-vip has no template to copy. The docs have to point at a raw GitHub URL pinned to a release tag, and the reader has to fill in their version by hand.

Proposal

  • Force-include vip.toml.example in the wheel (e.g. under vip/_config/).
  • Add a command that writes it out, such as vip init or vip scaffold --template config.
  • Replace the curl step in the README and the User Guide with that command, so the template always matches the installed version.
Dominant language
Python
Stars
9
Forks
1
Avg merge
15h 31m
Merged PRs (30d)
44

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/vip

All issues in posit-dev/vip

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.