Add support for installing via homebrew

Đang mở
#71 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
50/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python, shell
Lĩnh vực
ci-cd, release

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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:

Ngôn ngữ chính
Python
Star
146
Fork
34
Merge trung bình
14 giờ 35 phút
Pull request đã merge (30 ngày)
64

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của splunk/token-meter

Tất cả issue của splunk/token-meter

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.