Difference between revisions of "Userspace patches"
(add link to style guide) |
|||
Line 3: | Line 3: | ||
We are waiting for contributions to userspace utilities from OpenVZ community. | We are waiting for contributions to userspace utilities from OpenVZ community. | ||
− | |||
− | |||
This document describes how to contribute your patches to the OpenVZ userspace. | This document describes how to contribute your patches to the OpenVZ userspace. | ||
Line 10: | Line 8: | ||
== Source code == | == Source code == | ||
− | + | OpenVZ source code is available from GIT repository at | |
https://src.openvz.org/projects/OVZ | https://src.openvz.org/projects/OVZ | ||
Line 23: | Line 21: | ||
− | |||
− | + | == Preparing patches == | |
− | + | For new code please follow: | |
+ | * C++ language - [[C++ Code Style Guide]] | ||
+ | * C language - [https://www.kernel.org/doc/Documentation/CodingStyle Linux kernel code style] | ||
+ | * Python language - [https://www.python.org/dev/peps/pep-0008/ Python code style] | ||
− | + | For existing code patches, please follow a style which is used for code around. | |
== Send pull request == | == Send pull request == | ||
− | + | For contributions, please register at [https://src.openvz.org our Stash site] and follow [https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow "forking" workflow]. | |
Revision as of 13:21, 16 June 2015
We are waiting for contributions to userspace utilities from OpenVZ community.
This document describes how to contribute your patches to the OpenVZ userspace.
Source code
OpenVZ source code is available from GIT repository at
https://src.openvz.org/projects/OVZ
To clone, use
git clone https://src.openvz.org/scm/ovz/<project>.git
For example:
git clone https://src.openvz.org/scm/ovz/prlctl.git
Preparing patches
For new code please follow:
- C++ language - C++ Code Style Guide
- C language - Linux kernel code style
- Python language - Python code style
For existing code patches, please follow a style which is used for code around.
Send pull request
For contributions, please register at our Stash site and follow "forking" workflow.