Add support for installing via homebrew

Abierto
#71 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
50/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, python, shell
Área
ci-cd, release

Línea de trabajo

The five steps span two repositories, so start by mapping this repo: the release/tag setup, the packaging config (pyproject/setup files), and the built-in updater's entry point that must detect a brew install and stand down. Then read the splunk/homebrew-tap repo structure and the Formula Cookbook links given in the issue to see what a formula and its sha256 pin require. Done means a formula exists in the tap, a GitHub Actions workflow updates its hash on each release, and brew upgrade alone drives updates for brew-managed installs.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Add support for installing via homebrew, these are the high level things that will need to be done, from my understanding:

  1. Cut versioned releases/tags so a formula has something stable to pin (url+sha256); a head block can track main in the meantime.
  2. Allow brew to manage the update lifecycle — the built-in updater needs to detect/disable itself under a brew install and defer entirely to brew upgrade, or we'll have two update systems fighting.
  3. Host it in our splunk tap  https://github.com/splunk/homebrew-tap rather than homebrew-core first — core has strict stability/notability bars this project doesn't need to clear yet.
  4. Write the formula and commit to the splunk tap.
  5. Setup github actions to auto update the hashes in the splunk tap on each release.

Resources:

Lenguaje dominante
Python
Estrellas
146
Forks
34
Merge medio
14 h 35 min
PR fusionados (30 d)
64

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de splunk/token-meter

Todos los issues de splunk/token-meter

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.