Welcome to the QuE-MRT GitHub organization! This README provides essential guidelines for cloning repositories, setting up your environment, and following best practices for collaborative development.
The QuE-MRT project aims to build a commercially available end-to-end platform to enhance, acquire and visualize magnetic resonance signals of metabolic processes in humans by use of Hyperpolarization. The goal is to translate Hyperpolarized (HP) Magnetic Resonance Imaging (MRI) into clinical applications in Germany and worldwide. The project is funded by the German agency Bundesministerium für Bildung und Forschung (BMBF) for four years (2022 - 2026) and brings together three German universities and four companies. Read more about QuE-MRT here.
- Cloning Repositories
- Setting Up Your Environment
- Branching Strategy
- Commits and Pull Requests
- Coding Standards
- Code Review Process
- Contact and Support
To clone a repository from this organization:
-
Navigate to the repository you wish to clone on GitHub.
-
Click the "Code" button and copy the repository URL (either SSH or HTTPS).
-
Open your terminal, navigate to the directory where you want to store the repository, and enter:
git clone <repository_url>
Replace <repository_url> with the copied URL of the repository.
Note: Ensure you have the proper permissions to clone and contribute to repositories in this organization.
- Make sure you have Git installed on your local machine.
- If using SSH, configure your SSH keys with GitHub by following these instructions.
- Follow any specific repository setup instructions in its
README.mdfile.
To maintain an organized Git history, please adhere to the following branching strategy:
- Main Branch: The production-ready branch. Only tested and approved changes should be merged here.
- Development Branch: All new features and bug fixes should start here before going to
main. - Feature/Hotfix Branches: Create new branches for each feature or hotfix. Name these as follows:
- Features:
feature/feature-name - Hotfixes:
hotfix/issue-description
- Features:
Example:
git checkout -b feature/add-new-feature- Write clear, descriptive commit messages that explain the purpose of the change.
- Open a Pull Request (PR) when your work is ready for review. Be sure to:
- Set the correct base branch for your PR (usually development).
- Provide a summary of the changes and link any relevant issues.
- Request at least one reviewer from the team.
To ensure consistency across our codebase, please follow these standards:
- Code Formatting: Adhere to the language-specific formatting rules (e.g., Prettier for JavaScript, Black for Python, Style Guidelines or MBeautifierfor Matlab).
- Documentation: Document functions, classes, and modules as needed.
- Testing: Ensure your code includes appropriate tests and passes all existing tests before making a pull request.
- Reviewers should check for code quality, adherence to standards, and the absence of bugs.
- Once the PR is approved by at least one reviewer, you may merge it into the development branch.
- After merging, update your local development branch and (if needed) delete the feature/hotfix branch:
git checkout development
git pull origin development
git branch -d <branch-name>
git push origin --delete <branch-name>For any open-source repositories in this organization, contributors are encouraged to use either the MIT License or the GNU General Public License v3 (GPLv3) to ensure that projects remain accessible and freely usable by the community.
- MIT License: A permissive license that allows for minimal restrictions on reuse, making it ideal for projects where you want to maximize compatibility and ease of integration with other projects.
- GPLv3: A copyleft license that requires derivative works to remain open-source and licensed under GPLv3, ensuring the project's continued openness even as it’s modified and distributed by others.
- Create a
LICENSEfile at the root of your repository. - Select your preferred license template:
- For MIT, use this MIT License template.
- For GPLv3, use this GPLv3 template.
- Paste the license text into the
LICENSEfile and fill in any required information, such as the year and your name. - Commit the
LICENSEfile to your repository.
Note: Please consult with your project lead or organization admins if you are unsure about which license to use.
For questions, discussions, or support, please reach out to one of the organization admins.
