Skip to content

Use Git submodules for P2P apps in /pages/p2p/ #20

@akhileshthite

Description

@akhileshthite

Currently, our P2P apps are maintained locally in the ./src/pages/p2p/ directory. To simplify maintenance and keep each app independent, I propose we switch to using Git submodules for these apps. This change would allow us to update and manage each P2P app in its own repository and other forks, making it easier to track changes, pull updates, and collaborate.

Proposed changes:

  • Move the current P2P apps in /pages/p2p/ to their respective repositories (e.g., chat.p2plabs.xyz, etc.).
  • Add these repositories as submodules in the main project.
  • Update our build process to ensure that submodules are initialized and updated when installing dependencies.
"scripts": {
  "postinstall": "git submodule update --init --recursive"
}

This command will ensure that whenever someone runs npm install, all submodules are automatically initialized and updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: lowFor minor issues that don’t affect the project in significant ways

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions