Add support for installing via Scoop on Windows

オープン
#72 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, shell
領域
release

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

  1. 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.
  2. Publish a token-meter Scoop manifest in a Splunk-managed bucket, or document the selected bucket before adding the manifest.
  3. 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.
  4. Make the Scoop installation lifecycle package-aware: scoop update token-meter owns application updates. A Scoop-installed runtime must not also fetch, fast-forward, or reinstall itself through the built-in updater.
  5. 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.
  6. 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 (/health and /menubar), current-user startup, scoop update token-meter, and scoop 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.

主要言語
Python
スター
146
フォーク
34
平均マージ
14時間 35分
マージ済み PR(30日)
64

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

splunk/token-meter のほかの issue

splunk/token-meter の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。