chore(github): 迁移发布链接到 pastera-app#1
Merged
Conversation
added 3 commits
June 20, 2026 11:26
业务目的: - 将 Pastera 的发布、更新检查和仓库入口迁移到新建 GitHub 组织 pastera-app,给后续 Windows 仓库和同步协议仓库留出清晰边界。 实现内容: - 更新 README 下载入口、Sparkle appcast、SUFeedURL 和 GitHub Releases API owner。 - 更新 appcast 发布脚本生成的 GitHub release URL。 - 调整相关更新源和 release URL 测试断言。 验证: - git diff --check - xcodebuild CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -scheme pastera -project pastera.xcodeproj -clonedSourcePackagesDirPath "$PWD/.spm-cache/SourcePackages" -packageCachePath "$PWD/.spm-cache/PackageCache" -skipPackagePluginValidation -skipMacroValidation -only-testing:pasteraTests/SparkleUpdateFeedTests -only-testing:pasteraTests/PasteraGitHubReleaseUpdateCheckerTests test 风险/未完成项: - 未运行完整 clean test;本次只覆盖发布链接和更新检查相关测试。 - 现有 SwiftLint 文件长度/类型长度 warning 仍存在,本次未处理。
业务目的: - 解决 PR 在 GitHub Actions macOS runner 上稳定失败的 AppKit 布局像素断言,保持仓库迁移 PR 可合并。 实现内容: - 将菜单面板顶部位置断言改为兼容 AppKit 按屏幕可见区域 clamp 后的位置。 - 对偏好设置页和同步页的测试断言加入最小像素容差,保留原有相对位置、数量和边界约束。 验证: - git diff --check - xcodebuild CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -scheme pastera -project pastera.xcodeproj -clonedSourcePackagesDirPath /Users/feeyo/workspace/github.com/AllenAlanEllenBarm/pastera/.spm-cache/SourcePackages -packageCachePath /Users/feeyo/workspace/github.com/AllenAlanEllenBarm/pastera/.spm-cache/PackageCache -skipPackagePluginValidation -skipMacroValidation -only-testing:pasteraTests/SyncPreferenceTopSectionTests -only-testing:pasteraTests/PreferencePaneAlignmentTests -only-testing:pasteraTests/KeyboardAccessibilityTests -only-testing:pasteraTests/HistoryMenuKeyEquivalentTests test - xcodebuild CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -scheme pastera -project pastera.xcodeproj -clonedSourcePackagesDirPath /Users/feeyo/workspace/github.com/AllenAlanEllenBarm/pastera/.spm-cache/SourcePackages -packageCachePath /Users/feeyo/workspace/github.com/AllenAlanEllenBarm/pastera/.spm-cache/PackageCache -skipPackagePluginValidation -skipMacroValidation clean test 风险/未完成项: - GitHub Actions 需要推送后重新跑;本地验证通过但 runner 状态以 PR checks 为准。
业务目的: - 补齐 GitHub Actions 上暴露的第二处菜单面板顶部位置断言,避免 AppKit 在 runner 可见屏幕边界处 clamp 后误报失败。 实现内容: - 将 pinnedMainMenuPanelKeepsOriginalMenuTopLeftPosition 的 maxY 断言改为和同文件锚点测试一致的 visibleFrame-aware 检查。 - 将前一处临时变量折回单行表达式,保持 HistoryMenuKeyEquivalentTests 不触发 SwiftLint type_body_length error。 验证: - git diff --check - xcodebuild CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -scheme pastera -project pastera.xcodeproj -clonedSourcePackagesDirPath /Users/feeyo/workspace/github.com/AllenAlanEllenBarm/pastera/.spm-cache/SourcePackages -packageCachePath /Users/feeyo/workspace/github.com/AllenAlanEllenBarm/pastera/.spm-cache/PackageCache -skipPackagePluginValidation -skipMacroValidation -only-testing:pasteraTests/HistoryMenuKeyEquivalentTests test 风险/未完成项: - 需要新提交后的 GitHub Actions 重新确认。
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.
目的
把 Pastera 的发布入口、Sparkle 更新源和 GitHub Releases API 迁移到新建的
pastera-app/Pastera,配合后续 Windows 客户端与同步协议仓库拆分。改动
验证
git diff --checkxcodebuild CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -scheme pastera -project pastera.xcodeproj -clonedSourcePackagesDirPath "$PWD/.spm-cache/SourcePackages" -packageCachePath "$PWD/.spm-cache/PackageCache" -skipPackagePluginValidation -skipMacroValidation -only-testing:pasteraTests/SparkleUpdateFeedTests -only-testing:pasteraTests/PasteraGitHubReleaseUpdateCheckerTests test风险/未完成项
clean test;本次只覆盖发布链接和更新检查相关测试。