Two way sync - potential solution
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.2k
- Forks
- 3.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 7
Description
Actual behaviour:
- Files created in a folder which has been previously marked ad "available offline" are not automatically uploaded
Expected behaviour:
- 2way sync (as mentioned in: #1663, #1683, #1437, and #960)
Any file created in that folder should be automatically uploaded.
Potential temporary solution:
A free third-party app Tasker (https://tasker.dinglisch.net/) is capable of: 1) running a background service monitoring changes in files and folder, 2) sending different types of intents.
- Would it be possible to send an intent to the ownCloud client forcing upload of a single file?
- What is the intent and syntax of the additional data that needs to be provided for a successful request (I assume at least the local path to the file). After brief analysis of the code I found this:
com.owncloud.android.files.services.FileUploader, but I am not sure if this is the correct one.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing com.owncloud.android.files.services.FileUploader and the related issues #1663, #1683, #1437, and #960. Determine whether the requested two-way sync behavior or a Tasker-triggered single-file upload is in scope; completion would require a clearly defined request, intent data syntax, and upload behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- cloud, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100