Serve preview builds from a unique URL

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
swift
領域
desktop, release

調査の方向性

まず、プレビュービルドがどのように公開され、updater がプレビューのダウンロード URL をどのように解決するかを、安定版のバージョン付き URL を比較対象として追跡します。提案された GCP バケットのアプローチをリリースおよび更新のフローに照らして検証します。以前に告知されたプレビュービルドが正常にダウンロードされ、その署名が一致すれば完了です。

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

説明

Right now, we use the same download URL for all preview builds:

https://github.com/coder/coder-desktop-macos/releases/download/preview/Coder-Desktop.pkg

This means if an update popup advertises a preview build other than the latest (separately, why is this happening?) installing that build will fail, as the signature of the latest build does not match what Sparkle expected to download. This produces an update error:

Image

This can be worked around by simply checking for updates again, and installing the advertised version, which will be the actual latest preview build.

This does not effect Stable release builds, as they are served from a unique URL:

https://github.com/coder/coder-desktop-macos/releases/download/v0.7.0/Coder-Desktop.pkg

We could solve this by serving the last N preview builds from a GCP bucket.

主要言語
Swift
スター
29
フォーク
9
平均マージ
1日 17時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

coder/coder-desktop-macos のほかの issue

coder/coder-desktop-macos の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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