Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pub:development:source_code [25.09.2024 12:27] – removed - external edit (Unknown date) 127.0.0.1 | pub:development:source_code [28.09.2024 15:59] (current) – [Community Edition] Predrag Tasevski | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Source Code ====== | ||
+ | |||
+ | <WRAP warning> **Warring**\\ | ||
+ | The content of this page is still in progress and needs some tweaking.</ | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | Welcome to the Unicis Source Code Handbook. This guide provides an overview of how we manage our source code across different repositories, | ||
+ | |||
+ | ===== Repository Overview ===== | ||
+ | |||
+ | Unicis manages two separate sets of repositories: | ||
+ | * **Private Repositories**: | ||
+ | * **Public Repository**: | ||
+ | |||
+ | ===== Private Repositories on GitLab ===== | ||
+ | |||
+ | Our private repositories are used for internal development and contain sensitive, proprietary code. These repositories are not open to the public. | ||
+ | |||
+ | ==== Unicis Platform Business Edition ==== | ||
+ | |||
+ | The Business Edition of the Unicis Platform includes enterprise features and custom integrations. | ||
+ | |||
+ | === Repository Structure (Next.js Tech Stack) === | ||
+ | |||
+ | <codify tree> | ||
+ | unicis-platform | ||
+ | ├── components | ||
+ | ├── data | ||
+ | ├── hooks | ||
+ | ├── lib | ||
+ | └── locales/en | ||
+ | └── models | ||
+ | └── pages | ||
+ | └── prisma | ||
+ | └── public | ||
+ | └── style | ||
+ | └── test/ | ||
+ | └── types | ||
+ | </ | ||
+ | |||
+ | === Access === | ||
+ | |||
+ | Access to this repository is restricted to authorized personnel. Ensure you have the necessary permissions to clone and contribute to this repository. | ||
+ | |||
+ | === Development Guidelines === | ||
+ | |||
+ | * **Branching Strategy**: Use a Git branching strategy such as GitFlow. | ||
+ | * **Commit Messages**: Follow the commit message guidelines to ensure clarity and consistency. | ||
+ | * **Code Reviews**: All changes must go through a code review process before being merged. | ||
+ | |||
+ | ==== Unicis Apps (Atlassian Forge Framework) ==== | ||
+ | |||
+ | This repository contains the source code for various applications developed using the Atlassian Forge framework. | ||
+ | |||
+ | === Repository Structure === | ||
+ | |||
+ | <codify tree> | ||
+ | unicis-apps | ||
+ | ├── app1 | ||
+ | ├── app2 | ||
+ | ├── common | ||
+ | └── README.md | ||
+ | </ | ||
+ | |||
+ | === Development Guidelines === | ||
+ | |||
+ | * **Modular Structure**: | ||
+ | * **Dependency Management**: | ||
+ | |||
+ | ==== Website (Docusaurus) ==== | ||
+ | |||
+ | This repository hosts the source code for the Unicis website. | ||
+ | |||
+ | === Repository Structure === | ||
+ | |||
+ | <codify tree> | ||
+ | website | ||
+ | ├── blog | ||
+ | ├── docs | ||
+ | ├── resources | ||
+ | ├── src | ||
+ | ├── static | ||
+ | ├── versioned_docs | ||
+ | ├── versioned_sidebars | ||
+ | </ | ||
+ | |||
+ | === Deployment === | ||
+ | |||
+ | * **Website**: | ||
+ | |||
+ | ==== Handbook (Hugo CMS) ==== | ||
+ | |||
+ | This repository hosts the source code for the Unicis handbook. | ||
+ | |||
+ | === Repository Structure === | ||
+ | |||
+ | <codify tree> | ||
+ | unicis-handbook | ||
+ | ├── archetypes | ||
+ | ├── assets | ||
+ | ├── content | ||
+ | ├── layouts/ | ||
+ | ├── layouts/ | ||
+ | ├── static | ||
+ | ├── themes | ||
+ | </ | ||
+ | |||
+ | === Deployment === | ||
+ | |||
+ | * **Handbook**: | ||
+ | |||
+ | ===== Public Repository on GitHub ===== | ||
+ | |||
+ | Our public repository on GitHub is open for contributions from the community. This repository contains the Community Edition of the Unicis Platform. | ||
+ | |||
+ | ==== Community Edition ==== | ||
+ | |||
+ | The Community Edition is a feature-limited version of the Unicis Platform, designed to be open and extensible. | ||
+ | |||
+ | === Repository Structure === | ||
+ | |||
+ | <codify tree> | ||
+ | unicis-platform-ce | ||
+ | ├── components | ||
+ | ├── data | ||
+ | ├── hooks | ||
+ | ├── lib | ||
+ | └── locales/en | ||
+ | └── models | ||
+ | └── pages | ||
+ | └── prisma | ||
+ | └── public | ||
+ | └── style | ||
+ | └── test/ | ||
+ | └── types | ||
+ | </ | ||
+ | |||
+ | === Access === | ||
+ | |||
+ | The repository is public and can be accessed by anyone at: [[https:// | ||
+ | |||
+ | ==== Contribution Guide ==== | ||
+ | |||
+ | We welcome contributions from the community. Please follow the guidelines outlined in the [[https:// | ||
+ | |||
+ | === Key Points === | ||
+ | |||
+ | * **Fork the Repository**: | ||
+ | * **Create a Branch**: Use a descriptive branch name for your feature or bug fix. | ||
+ | * **Pull Requests**: Submit a pull request with a detailed description of your changes. | ||
+ | * **Code of Conduct**: Adhere to the community [[https:// | ||
+ | |||
+ | ===== Best Practices ===== | ||
+ | |||
+ | * **Consistent Coding Standards**: | ||
+ | * **Documentation**: | ||
+ | * **Testing**: | ||
+ | * **Security**: | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== Common Issues ==== | ||
+ | |||
+ | * **Access Issues**: Ensure you have the correct permissions for private repositories. | ||
+ | * **Build Failures**: Check CI/CD pipeline logs for errors and address them accordingly. | ||
+ | * **Merge Conflicts**: | ||
+ | |||
+ | ==== Debugging Tips ==== | ||
+ | |||
+ | * **Logs**: Review logs for any runtime errors or warnings. | ||
+ | * **Documentation**: | ||
+ | |||
+ | ===== Resources ===== | ||
+ | |||
+ | * **GitLab Documentation**: | ||
+ | * **GitHub Documentation**: | ||
+ | * **Unicis Community**: | ||
+ | |||
+ | By following this handbook, you will be well-equipped to manage and contribute to the Unicis Platform effectively. For any further assistance, please reach out to the DevOps team or consult the provided resources. | ||