owncloud / owncloud/ocis-php-sdk

unify handling cache invalidation

Open
#110 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

in some cases we can have invalid data in the objects, e.g.

  1. list drives
  2. upload files to one drive
  3. check quota of the drive

the quota will returning the data before the file upload.
What do we want to do in those cases? Recheck the server status in every get function?

Thought? @amrita-shrestha @phil-davis @nirajacharya2 @S-Panta

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SDK's get functions and the existing cache-handling logic. Clarify when server data must be refreshed after mutations, then document the expected behavior and add tests covering the list, upload, and quota sequence; the issue currently names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.