Skip to content
Dmitry Sorokin (@sorydima) edited this page Nov 18, 2024 · 1 revision

Wiki for the Katya ® Platform Manifest Repository

Welcome to the Katya ® Platform Manifest repository! This wiki provides essential information about the platform's manifest files, including their purpose, usage, and guidelines for contributing to the Katya ecosystem.


Overview

The Katya ® Platform Manifest repository houses the XML-based manifest files necessary for synchronizing and building the Katya platform's source code. These manifests define the structure, repositories, and dependencies required for assembling the Katya OS and its applications.


Table of Contents

  1. Getting Started
  2. Repository Structure
  3. Manifest Features
  4. Usage
  5. Contributing
  6. Troubleshooting
  7. Licensing

Getting Started

  1. Clone the Repository

    git clone https://github.com/Katya-Incorporated/platform_manifest.git  
  2. Install Repo Tool
    Ensure you have the repo tool installed for managing multiple Git repositories:

    curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo  
    chmod a+x ~/bin/repo  
  3. Initialize the Workspace
    Use the repo tool to initialize your workspace with the manifest:

    repo init -u https://github.com/Katya-Incorporated/platform_manifest.git -b main  
  4. Sync the Source Code
    Synchronize all required repositories:

    repo sync  

Repository Structure

  • /manifests: Contains XML files defining repository configurations for different builds and environments.
  • /docs: Documentation related to manifest usage and configuration.
  • /scripts: Helper scripts for working with manifests and automation.
  • README.md: Overview of the repository and basic setup instructions.

Manifest Features

  1. Repository Mapping

    • Maps all repositories required for building the Katya platform.
  2. Branch Management

    • Specifies branches to ensure compatibility between components.
  3. Dependency Tracking

    • Lists interdependencies between modules for seamless builds.
  4. Customization

    • Allows developers to create custom manifests for specific builds or environments.

Usage

  1. Select a Manifest

    • Choose the appropriate manifest XML file based on your project or build type.
  2. Initialize the Environment

    repo init -m <manifest-file.xml>  
  3. Update Repositories

    • Periodically synchronize repositories to get the latest changes:
      repo sync  
  4. Building the Platform

    • Once synchronized, follow the Katya platform build instructions in the relevant documentation.

Contributing

We welcome contributions to improve the manifest files or documentation.

  1. Fork the Repository
    Create a personal copy of the repository to make changes.

  2. Create a Branch
    Use a descriptive name for your changes.

  3. Update the Manifest

    • Add or update repository information, dependencies, or branch details.
  4. Submit a Pull Request

    • Provide a detailed explanation of your changes and link any relevant issues.
  5. Follow Contribution Guidelines
    Refer to the CONTRIBUTING.md file for standards and practices.


Troubleshooting

  1. Sync Issues

    • Run repo sync with verbose logging for detailed output:
      repo sync -v  
  2. Manifest Errors

    • Validate your XML files using online validators or tools like xmllint.
  3. Dependency Conflicts

    • Ensure all repositories are on compatible branches.
  4. Support

    • Open an issue in the Issues section for additional help.

Licensing

The platform manifest files are distributed under the Katya Open Source License. They are free to use, modify, and share under the terms of this license.

Thank you for contributing to the Katya ® Platform Manifest! Together, we build a secure and innovative future.