opencontainers / opencontainers/cgroups

chore: adjust build-tags for non-linux / non-unix platforms

Open
#18 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Opening this project in my IDE on macOS shows various types and functions (some of which are imported from moby/sys) as "undefined".

While this project is intended for Linux, it would be good to adjust build-tags to exclude files on other platforms (we do so "partially" for some files that have a _linux suffix.

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 files that already use a _linux suffix and reviewing their current build tags. Check the project in an IDE on macOS or another non-Linux/non-Unix platform; done means unsupported files are excluded consistently and the relevant types and functions no longer appear undefined.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, operating-systems
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 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.