version_settings(constraint) should point to upgrade instructions
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
Currently version_settings(constraint) prints this error message:
you are running Tilt version %s, which doesn't match the version constraint specified in your Tiltfile: '%s
It would be nice if it contained upgrade instructions, more like the extension:
https://github.com/tilt-dev/tilt-extensions/blob/master/min_tilt_version/Tiltfile#L19
print('+--+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+')
print('| Tilt Version is out of date! |')
print('| Please upgrade https://docs.tilt.dev/upgrade.html |')
print('+--+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+')
fail('Tilt version is out of date minimum required version is [%s]' % min_version)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Find the implementation of version_settings(constraint) and compare its current version-mismatch message with the upgrade guidance shown in the linked min_tilt_version/Tiltfile example. Update the message to point users to the upgrade instructions, then verify that the resulting output includes the expected guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100