Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs-storage: A Crate for Handling Properties, Tags, and Scores #17

Open
tareknaser opened this issue Mar 15, 2024 · 1 comment
Open

fs-storage: A Crate for Handling Properties, Tags, and Scores #17

tareknaser opened this issue Mar 15, 2024 · 1 comment
Assignees

Comments

@tareknaser
Copy link
Collaborator

Description

Create a new crate to handle properties, tags, and scores, which are currently implemented separately in ark-cli and arklib-android. This crate will provide a unified API for managing these aspects of resources.

Current State

Currently, ark-cli and arklib-android each implement their own API to handle properties, tags, and scores. These functionalities are spread across different parts of the codebase. See:

Proposal

We should create a separate crate within ark-rust workspace. This crate will centralize the logic for managing properties, tags, and scores so to provide a consistent API.

Next Steps

  1. Implement the functionality to store, load, and manipulate properties, tags, and scores.
  2. Integrate the new crate into ark-cli and arklib-android, replacing the existing implementations with calls to the new crate's API.
@tareknaser tareknaser self-assigned this Mar 15, 2024
@kirillt
Copy link
Member

kirillt commented Mar 16, 2024

Tags and Scores are the simplest storages (single file) and can be started as soon as #10 is completed.

Properties is more advanced and requires folder storage be implemented first.

Repo arklib-android is going to be replaced by ark-android. The transition is same as from arklib to ark-rust. It is in progress right now, we should separate existing modules better on Android side so Rust crates would map directly to Android libraries.

@kirillt kirillt moved this to Todo in Development Mar 16, 2024
@kirillt kirillt changed the title A Crate for Handling Properties, Tags, and Scores fs-storage: A Crate for Handling Properties, Tags, and Scores Apr 3, 2024
tareknaser pushed a commit to tareknaser/ark-rust that referenced this issue Apr 6, 2024
tareknaser pushed a commit to tareknaser/ark-rust that referenced this issue Apr 6, 2024
tareknaser pushed a commit to tareknaser/ark-rust that referenced this issue Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants