hexpm / hexpm/bob

API exact match on `os` field

Open Beginner friendly
#294 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
276
Forks
68
Avg merge
5h 52m
Merged PRs (30d)
14

Description

Manually extracted from https://github.com/hexpm/bob/issues/289#issuecomment-5407764435

There are exactly 3 choices of os: alpine | debian | ubuntu.

LiveView UI in /docker uses a dropdown, so values are always exact and no typing is required.

Downstream API clients (e.g. mix phx.gen.release) should know upfront which of the 3 valid options they are targeting when they pass the os param to the API call.

Suggestion: make os exact match instead of prefix match, similar to the change to repo in #289.

Contributor guide

No contributing guide indexed for this repository

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 API handling for the os parameter and review the exact-match change for repo in issue #289. Confirm that only alpine, debian, and ubuntu are accepted, while prefix values are rejected, and verify the behavior through the relevant API tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.