chef / chef/chef

knife upload should warn if nothing was uploaded

Open
#8,720 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Aspect: UX Focus: knife
Dominant language
Ruby
Stars
8.2k
Forks
2.5k
Avg merge
4d 5h
Merged PRs (30d)
23

Description

Description

knife upload does not print a warning when nothing was uploaded.

ChefDK Version

Chef Workstation: 0.2.43

Platform Version

4.19.13-1-MANJARO Linux

Replication Case

Run knife upload myCookbook. Everything looks fine although the user probably did something wrong.

Stacktrace

[chef-repo]$ knife upload myCookbook
Using deployment: testdeployment01

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 by reproducing knife upload myCookbook with the Chef Workstation version and platform described, then locate the knife upload command implementation. Confirm the no-upload path and make completion include a warning when nothing is uploaded; verify the command output for both an empty and a successful upload.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.