Skip to content

[SDK] We're developing a new sdk components to sync codes for developing KitX Project #287

@Dynesshely

Description

@Dynesshely

🪦 Is your feature request related to a problem? Please describe.

Because cross-device connectivity is a highlight of the KitX project, it is often necessary to synchronize code and jointly debug on multiple devices when developing KitX.

Previously, I synchronized code through a private git server, and needed to rebase git when officially submitting, which was not very convenient.

So we developed this tool and integrated it into the KitX SDK. You can execute the tool through the cheese scaffolding in the future.

🪧 Describe the solution you'd like

  1. Use .sync-ignore file to identity which paths ignored and which extensions ignored.
  2. Use cheese to launch this tool, for example:
    • cheese -e sync-server to launch a server in current folder.
    • cheese -e sync-client to launch a client in current folder.
  3. Server will watch the folder for any file changes and provide files catalog in /catalog endpoint.
  4. Client will request /catalog endpoint every 1 sec for changes, and get new file content in /file/<path> endpoint.

🧾 Describe alternatives you've considered

No response

📎 Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttrackingThis issue is tracking by another issueworking onWe are working on this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions