Difference between revisions of "Userspace patches"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(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.
 
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].
 
  
 
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 ==
  
Userspace source code is available from GIT repository at
+
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:
  
  
== Editing ==
 
  
FIXME
+
== Preparing patches ==
  
== 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]
  
FIXME
+
For existing code patches, please follow a style which is used for code around.   
  
 
== Send pull request ==
 
== Send pull request ==
  
{{Note|You need to be registered in Stash first in order to be able to create 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:

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.


See also