gotify / gotify/cli

Distribute as a snap?

オープン
#48 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
588
フォーク
73
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

Would you consider distributing this CLI tool as a [snap](https://snapcraft.io/about)?
This would make it much simpler to install on a bunch of distros, e.g.

```bash
snap install gotify-cli
...
gotify-cli push "Hello World"
```

I've worked out a minimal snapcraft yaml file (assuming it is included in this repo as `snap/snapcraft.yaml`):

```yaml
name: gotify-cli
summary: A command line interface for pushing messages to gotify/server.
description: |
Gotify-CLI is a command line client for pushing messages to gotify/server.

version: git
grade: stable
base: core20

confinement: strict

apps:
gotify-cli:
command: bin/cli
plugs: [network]

parts:
gotify-cli:
plugin: go
source: .
```

This was enough for me to build it locally, install it and test the `init/config/push` functionalities. The `version` command only spits `unknown`s tho. Furthermore some of the proposed path for the config file are most likely not exposed by default to the snap.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

提案されている snap/snapcraft.yaml から始め、CLI が init、config、push、version コマンドをどのように実装しているかを調査します。説明されているとおりに snap をビルドしてインストールし、その後、それらのコマンド、version の出力、提案されている設定パスへのアクセスを検証します。snap をビルドでき、期待される機能を提供できれば完了です。

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

評価

技術スタック
go
領域
cli, release
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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