[TECHNICAL] Changes in transfers-related code
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
まず2種類のアップロードを追跡し、一時コピーがいつ作成され、削除されるのかを特定します。次に、提案されている sourceLocation フィールドと tmpPath フィールド、およびパラメータの変更に照らして、TransferDao と RemoveSourceFileWorker を調査します。転送モデルと関連する操作が更新され、必要なユニットテストと QA 計画に対応できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
There are several things to find out and some others to improve regarding transfers. Here we can list and discuss everything related with that.
THINGS TO FIND OUT:
- Is a temporal copy (in
.../tmp/...) created for every type of upload? (from content URI, from system) - Why are there 2 different types of upload in case a temporal copy is always made?
- In the case of uploads from content URI, when is the temporal copy removed?
THINGS TO IMPROVE:
- Create 2 different fields in database for transfers:
sourceLocation, which can be a content URI or a path, whatever is the case, andtmpPath, which is the path where the temporal files used for uploads are located. If a temporal copy is always made, both should be always not null (at least once they get copied, which can be before the creation of the transfer object) TransferDaofunctions can use@Updateor@Upsertinstead of@QueryRemoveSourceFileWorkershouldn't receive a content URI as parameter, it can be a path as well. And the key variable (KEY_PARAM_CONTENT_URIcurrently) should be located in the worker itself
TASKS
- Research (if needed)
- Create branch feature/feature_name
- Development tasks
- Implement whatever
- ...
- Implement unit tests (if needed)
- Code review and apply changes requested
- Design test plan
- QA
- Merge branch feature/feature_name into master
- 主要言語
- Kotlin
- スター
- 4.2k
- フォーク
- 3.1k
- 平均マージ
- 3日 9時間
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
owncloud/android のほかの issue
-
Camera Uploads Contributions are welcome Technical
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
owncloud/android#5040 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
KW-related Type:bug UI / UX
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
Type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
owncloud/android#4485 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
Contributions are welcome p3-medium Type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
owncloud/android#4300 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
owncloud/android#3720 · コメント 8 件 ·
メンテナーはふだん 1 日以内に返信
owncloud/android の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Bug Domain changed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
keiyoushi/extensions-source#21225 ·
メンテナーはふだん 1 日以内に返信
-
👀 example 📱 iOS
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
hyochan/react-native-nitro-sound#871 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
evryfs/asyncapi-generator#272 ·
メンテナーはふだん 1 日以内に返信
-
android:plan main:plan packages:learn
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信