Add support for installing via Scoop on Windows
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
- 55/100
Hướng nghiên cứu
Start from the existing Windows PowerShell bootstrap and its installer contract tests to see how install, update ownership, startup entry and uninstall are currently handled, plus how the built-in self-updater detects its runtime. Check whether the repo already cuts versioned GitHub releases/tags (referenced against #71 for the Homebrew equivalent). Done looks like: a token-meter Scoop manifest pinned to a versioned URL with SHA-256 and declared prerequisites, contract tests covering per-user paths, update ownership (Scoop-owned installs skip the self-updater) and uninstall ownership, and install/update/uninstall docs beside the Windows bootstrap section; note Windows-native validation is required.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Windows users can currently install Token Meter through the PowerShell bootstrap, which uses WinGet for prerequisites. Scoop users need a package-managed path with a stable artifact and one clear owner for updates.
Related: #71 proposes the equivalent Homebrew work.
Proposed behavior
- Cut versioned GitHub releases/tags so a Scoop manifest can pin a stable archive URL and SHA-256 checksum. Do not have the manifest track
main. - Publish a
token-meterScoop manifest in a Splunk-managed bucket, or document the selected bucket before adding the manifest. - Declare the supported runtime prerequisites in the manifest. Installation must remain per-user, require no administrator access, and preserve the existing Windows local-only server and notification-area behavior.
- Make the Scoop installation lifecycle package-aware:
scoop update token-meterowns application updates. A Scoop-installed runtime must not also fetch, fast-forward, or reinstall itself through the built-in updater. - Ensure uninstall removes only Token Meter resources it owns, including its current-user startup entry and managed runtime, without removing user session evidence or unrelated Scoop-managed dependencies.
- Document the Scoop install, update, and uninstall flows alongside the existing Windows bootstrap path.
Validation
- Add manifest and installer contracts covering the versioned URL, checksum, dependencies, per-user paths, update ownership, and uninstall ownership.
- On a clean Windows host, validate
scoop install token-meter, launch/readiness (/healthand/menubar), current-user startup,scoop update token-meter, andscoop uninstall token-meter. - Windows-native Scoop validation is pending; macOS source checks do not prove PowerShell, Scoop, registry-startup, or notification-area behavior.
No dashboard UI addition or privacy-boundary change is intended.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của splunk/token-meter
-
Local dashboard is missing frame-ancestors / X-Frame-OptionsCó thể đã có người làm @ascendedent đã nhận 65 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
splunk/token-meter#40 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
splunk/token-meter#26 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
splunk/token-meter#73 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
splunk/token-meter#71 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
systemd user unit interpolates the install path without rejecting control charactersCó thể đã có người làm @ascendedent đã nhận 65 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
splunk/token-meter#41 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của splunk/token-meter
Issue tương tự
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JheysonJhordyHuarauyaRiquelme/sprocguard#18 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
dlq/synthpopcan#59 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mdn/translated-content#40220 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ETSInitiative/PETSIRD#243 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
deferred p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
cuadrao-ai/argus#2160 ·
Maintainer thường phản hồi trong vòng 1 ngày