Repository navigation
release: 配る実物の大きさと、実験の再現値を分ける - #78
Merged
Merged
Conversation
**draft の検証(step 6)で見つけた。** リリースノートが 全部入り tarball は 124,102,343 → 77,528,652 バイト(約 74 MB)に収まった。 v0.3.0 の実物は 69,565,901 バイト(66 MB)なので… と書いていたが、**前者は strip の効果を別ビルドで再現したときの値、後者は 実際に配った asset の値**で、**同じ比較の中で種類の違う数字を混ぜていた。** **この版の実物は 77,530,189 バイト**である(draft の asset を落として実測)。 差は 1,537 バイトで結論は変わらないが、**「配る物の大きさ」として読まれる 位置に再現値を置いていた**のが誤りである。再現値は strip の効果として 別に書き、配る物の大きさはこの版の実測を書いた。 **tag を打ち直す。** draft はまだ公開していないので、v0.3.0 のときと同じく 安全である(公開した物を黙って差し替えるのとは別の話)。本文だけを `gh release edit` で直すと **tag が指す commit のファイルと、公開される 本文が食い違う**ので採らない。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
draft の検証(配布手順の step 6)で見つけた 1 件。
リリースノートがこう書いていた:
前者は strip の効果を別ビルドで再現したときの値、後者は実際に配った asset の
値である。同じ比較の中で種類の違う数字を混ぜていた ―― しかも前者は
「配る物の大きさ」として読まれる位置にあった。
v0.4.0 の draft の asset を実際に落として測ると 77,530,189 バイトである
(差は 1,537 バイト。結論は変わらないが、数字の出どころが違う)。
再現値は strip の効果として別に書き、配る物の大きさはこの版の実測にした。
ビルドごとに数十バイト動くことも明記した。
この後 tag を打ち直す
draft はまだ公開していないので、v0.3.0 のときと同じく安全である
(「公開した物を黙って差し替えない」が当てはまるのは配った物だけ)。
本文だけを
gh release editで直す案は採らない ――release.ymlはtag を打った時点の
.github/release-notes.mdを本文にするので、tag が指す commit のファイルと公開される本文が食い違う。
打ち直したら step 6 と step 7 をやり直す(asset が別物になるため)。
ここまでに済んでいる検証(打ち直し後にやり直す)
checksums.txt/SHA256SUMS.txtが在る$AllPlatformBinaries)から導いた 6 platform の binary と.metaがすべて在る。package.jsonは0.4.0、生成物の.g.csが 10 本(NativeMethods.Dnn.g.csを含む)GLIBC<=2.34, GLIBCXX<=3.4.29(上限 2.35 / 3.4.30)PT_LOAD 3 件、最小 p_align = 16384。.soは 24,385,832 バイトで、strip が実物に効いている.a!<arch>。シンボルの束ねは CI が検証済み(main のiOS arm64 (cross-build): 71 個のcv::シンボルが archive 内で解決し、束ねていない archive では 71 個とも未解決になる負の対照つき)UPM tarball install: 59 passed、resolved from file:../../upm/com.ayutaz.opencv-unity-native.tgz、native plugins present: 6 [、gating 4 件が個別に Passed、exit 0