chef / chef/chef-server

replace uses of highline with pastel / tty-prompt

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

Nobody has claimed this yet.

Status: To be prioritized Triage: Confirmed
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

There are various tools in this repo that use highline to set the color of text output. It looks like highline was chosen since it's included as part of Chef Infra Client and thus is in all the omnibus packages. We're in the process of deprecating highline and when that's complete it won't be available for use here. We now ship the pastel gem, which allows for the same sort of thing, but is a much small package that is still maintained.

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

Search the repository for uses of HighLine in the tools that color text output, then inspect how those tools currently obtain and use the dependency. Compare the available pastel and tty-prompt capabilities, and verify that all identified tools work without HighLine and that the dependency is no longer required.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.