chef / chef/chef-server

Update gather-logs to determine OS release based on /etc/os-release

Open
#2,664 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Adopted Status: Good First Issue Type: Enhancement
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

Every operating system has /etc/os-release now. We can just parse this and get the platform family from there instead of checking different files on disk and guessing.

Possible values: https://github.com/chef/os_release

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 locating the gather-logs entry point and reading how it currently checks files and guesses the platform family. Review the linked os_release project and its possible values before tracing the existing tests. Done means gather-logs derives the platform family from /etc/os-release instead of checking separate files, with relevant tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
operating-systems
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.