Make macOS package and tgz naming consistent
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- cmake
- 領域
- build-system, release
調査の方向性
Read platform/macos/common.cmake and platform/macos/productbuild.cmake at the referenced naming definitions, then compare how tgz and .pkg artifacts are produced. Decide on a consistent scheme for package revision and architecture naming, including the universal binary case; done means both artifact types follow the same documented convention.
索引モデルが issue の本文から書いたものです。
説明
It has been brought to my attention that the macOS tgz we create, containing the artifacts needed to create a .pkg, recently changed the architecture name from x86_64 to arm64, due to how the CI was creating them.
Both architectures are wrong, because the binary inside it's actually a universal one.
Looking at how we name things though I see another inconsistency. The naming format for macOS artifacts has been copied from Linux, so the macOS common.make has the following scheme:
https://github.com/osquery/osquery-packaging/blob/c089fb2d3d796d976e3b2fbea7ee69a1616b9576/platform/macos/common.cmake#L10-L11
But it's being overriden in the productbuild (or .pkg) case with:
https://github.com/osquery/osquery-packaging/blob/c089fb2d3d796d976e3b2fbea7ee69a1616b9576/platform/macos/productbuild.cmake#L10
So in the end that naming only works for the .tgz. I think that we should decide a consistent naming scheme.
On the one hand it makes sense to me to have a package release component, in all cases, to indicate that the package has been recreated with the same contents (maybe there was an issue with the CI that created the package or what not).
I'm not sure if we ever used it though, since the package creation is all pretty automatic.
For the architecture, I was initially thinking of putting universal as default for the architecture, and then let the user manually set a custom architecture if they wanted, but adding an option only for the tgz (or any other method that is not .pkg) felt weird. Mostly in how would we even name that.
If the architecture appeared in all the artifacts, then it would make more sense.
Another alternative is to simply remove it and not let the user change it (without modifying the cmake). This would assume that the package is a universal one, and so always works wherever it's being installed.
- 主要言語
- CMake
- スター
- 5
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
osquery/osquery-packaging のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
osquery/osquery-packaging#24 · コメント 1 件 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
osquery/osquery-packaging#10 · コメント 2 件 ·
osquery/osquery-packaging の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NucleusFramework/Nucleus#1020 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: pip install -U cudaq-qec fails with a conflict that names cudaq-qec itself対応中かも @fedonman が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[bug] --affected remote with --base and --head finds no changes when the head is behind the baseオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
ardia-browser/ardia#6391 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
cytoscape/cytoscape-web#1032 ·
メンテナーはふだん 1 日以内に返信