tilt-dev / tilt-dev/tilt

Check if a dependency is installed

Open
#3,293 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

Oftentimes a Tiltfile can itself require other tools to be installed: like helm (though we handle that case internally), or jq if you're doing some complex JSON manipulation. It would be nice if Tilt:

a) Provided a way to detect if something is in the $PATH (this could maybe be an extension) and fail if it isn't
b) Provided a way to install something if it find that it doesn't exist.
c) stretch goal: deal with versioning/pinning versions

All of these things can be done in one-off ways with local(_resource)s but we should have a recommended/supported pattern for doing it

This was inspired by a convo with zetaron in k8s slack

Contributor guide

Open the 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.

Research direction

Start with the Tiltfile dependency examples using local(_resource), including the existing internal handling for helm. Done should mean a supported pattern can detect missing PATH tools and fail clearly, with installation and version pinning addressed if the scope is defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.