Remove dead Jetpack Social share-limit code
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 54/100
調査の方向性
Start with JetpackSocialError.swift, PublicizeInfo+CoreDataClass.swift, PublicizeInfo+CoreDataProperties.swift, and Blog.swift to understand the Swift-only removals and Core Data references. Then inspect the WordPress.xcdatamodeld versions and the project's migration tests before creating a new model version. Done means the unused code, entity, and relationship are removed and an upgrade from a build with saved PublicizeInfo rows succeeds.
索引モデルが issue の本文から書いたものです。
説明
#25747 removed the legacy Jetpack Social / Publicize code, including the share-limit sync. Jetpack Social no longer has per-post share limits (see #23217). The code below is now unused on trunk (e64c851c0d): nothing outside its own files references it, tests included.
Swift only
-
WordPress/Classes/Jetpack/Utility/JetpackSocialError.swift. Delete the file. All three cases (missingSharingLimit,noConnectionViewInvalidState,noSharesViewInvalidState) belonged to views that #25747 deleted. -
PublicizeInfo.sharingLimitand the nestedSharingLimitstruct, inModules/Sources/WordPressData/Swift/PublicizeInfo+CoreDataClass.swift
Core Data (needs a new model version)
The whole PublicizeInfo entity is unused. Nothing creates, fetches or reads one. The only reference is the Blog.publicizeInfo relationship that declares it.
- Remove the
PublicizeInfoentity (shareLimit,sharesRemaining,toBePublicizedCount,sharedPostsCount) and theBlog.publicizeInforelationship in a newWordPress.xcdatamodeldversion. The current version isWordPress 158. Removing an entity and a relationship should be a lightweight migration, but test it by upgrading from a build that hasPublicizeInforows saved. - Delete
PublicizeInfo+CoreDataClass.swiftandPublicizeInfo+CoreDataProperties.swift, and remove@NSManaged public var publicizeInfofromBlog.swift.
The Swift-only items can land on their own, ahead of the model change.
The unused Jetpack Social WPAnalyticsEvent cases are tracked separately in #21221.
Generated by Claude Code
- 主要言語
- Swift
- スター
- 3.9k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 136
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wordpress-mobile/WordPress-iOS のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
wordpress-mobile/WordPress-iOS#26423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Pri] Low [Status] Ready for Dev [Type] Bug /Me
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
wordpress-mobile/WordPress-iOS#26279 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Pri] Low [Status] Ready for Dev [Type] Bug Share Extension
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
wordpress-mobile/WordPress-iOS#26276 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Pri] Low [Status] Ready for Dev [Type] Bug Blogging Prompts Notifications
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
wordpress-mobile/WordPress-iOS#26256 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Status] Ready for Dev [Type] Bug Reader
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
wordpress-mobile/WordPress-iOS#26254 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
wordpress-mobile/WordPress-iOS の issue をすべて見る
似ている issue
-
Optional callbacks log "Unable to create JSCallback" when passed null対応中かも @cmsj が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
cmsj/Hammerspoon2#464 ·
-
android bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
VocaHQ/vocaphone#470 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
new-compilers request
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
compiler-explorer/compiler-explorer#9640 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100