Difference between revisions of "Userspace patches"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Virtuozzo category)
(Marked this version for translation)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
+
{{Virtuozzo}}
  
 +
<translate>
 +
<!--T:1-->
 
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].
+
<!--T:2-->
 
 
 
This document describes how to contribute your patches to the OpenVZ userspace.
 
This document describes how to contribute your patches to the OpenVZ userspace.
  
== Source code ==
+
== Source code == <!--T:3-->
  
Userspace source code is available from GIT repository at
+
<!--T:4-->
 +
OpenVZ source code is available from GIT repository at
  
  https://src.openvz.org/projects/OVZ
+
  <!--T:5-->
 +
https://src.openvz.org/projects/OVZ
  
 +
<!--T:6-->
 
To clone, use
 
To clone, use
 
   
 
   
 
  git clone https://src.openvz.org/scm/ovz/<project>.git
 
  git clone https://src.openvz.org/scm/ovz/<project>.git
  
 +
<!--T:7-->
 
For example:
 
For example:
  
  git clone https://src.openvz.org/scm/ovz/prlctl.git
+
  <!--T:8-->
 +
git clone https://src.openvz.org/scm/ovz/prlctl.git
  
  
== Editing ==
 
  
FIXME
+
== Preparing patches == <!--T:9-->
  
== Preparing patches ==
+
<!--T:10-->
 +
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
+
<!--T:11-->
 +
For existing code patches, please follow a style which is used for code around.   
  
== Send pull request ==
+
== Send pull request == <!--T:12-->
  
{{Note|You need to be registered in Stash first in order to be able to create pull request.}}
+
<!--T:13-->
 +
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].
  
  
== See also ==
+
== See also == <!--T:14-->
  
 +
<!--T:15-->
 
* [[Contribute]]
 
* [[Contribute]]
 +
* [[C++ Code Style Guide]]
 
* [[Static code analysis]]
 
* [[Static code analysis]]
 
* [[Wishlist]]
 
* [[Wishlist]]
 
* [[QA|OpenVZ Testing]]
 
* [[QA|OpenVZ Testing]]
 +
</translate>
  
 
[[Category: Contributions]]
 
[[Category: Contributions]]
 
[[Category:Virtuozzo]]
 
[[Category:Virtuozzo]]

Latest revision as of 08:37, 26 December 2015

<translate> 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[edit]

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[edit]

For new code please follow:

For existing code patches, please follow a style which is used for code around.

Send pull request[edit]

For contributions, please register at our Stash site and follow "forking" workflow.


See also[edit]

</translate>