elastic / elastic/package-spec

Build API for exposing constants

Open
#163 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
20
Forks
93
Avg merge
15h 10m
Merged PRs (30d)
12

Description

Spotted in: https://github.com/elastic/elastic-package/pull/331

We need to expose constants like categories, releases, etc. via dedicated Go API, so it can be accessed in elastic-package. Otherwise we have to duplicate these values in multiple places.

I believe we should apply the same mechanism for regexps, for example - Github owner.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the context in elastic/elastic-package#331 and locating where categories, releases, and regexps such as the GitHub owner are currently duplicated. Clarify the intended public Go API and its complete constant set before implementing it. Done means elastic-package can consume these values without maintaining duplicates.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.