Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
80c1390d
Unverified
Commit
80c1390d
authored
Feb 14, 2018
by
Serge Hallyn
Committed by
GitHub
Feb 14, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2165 from brauner/2018-02-14/coding_style
CODING_STYLE: add coding style file
parents
bb540ac3
4a308d66
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
22 deletions
+16
-22
CODING_STYLE.md
CODING_STYLE.md
+0
-0
CONTRIBUTING
CONTRIBUTING
+16
-22
No files found.
CODING_STYLE.md
0 → 100644
View file @
80c1390d
This diff is collapsed.
Click to expand it.
CONTRIBUTING
View file @
80c1390d
...
@@ -5,8 +5,7 @@ This project accepts contributions. In order to contribute, you should
...
@@ -5,8 +5,7 @@ This project accepts contributions. In order to contribute, you should
pay attention to a few things:
pay attention to a few things:
1 - your code must follow the coding style rules
1 - your code must follow the coding style rules
2 - the format of the submission must be email patches or github
2 - the format of the submission must Github pull requests
pull requests
3 - your work must be signed
3 - your work must be signed
...
@@ -20,25 +19,12 @@ the directory 'Documentation' of the Linux kernel source tree.
...
@@ -20,25 +19,12 @@ the directory 'Documentation' of the Linux kernel source tree.
It can be accessed online too:
It can be accessed online too:
http
://lxr.linux.no/linux+v2.6.27/Documentation/CodingStyle
http
s://www.kernel.org/doc/html/v4.10/process/coding-style.html
Submitting Modifications:
Submitting Modifications:
-------------------------
-------------------------
The contributions should be email patches or github pull requests.
The contributions must be Github pull requests.
The guidelines are the same as the patch submission for the Linux kernel
except for the DCO which is defined below. The guidelines are defined in the
'SubmittingPatches' file, available in the directory 'Documentation'
of the Linux kernel source tree.
It can be accessed online too:
https://www.kernel.org/doc/Documentation/SubmittingPatches
You can submit your patches to the lxc-devel@lists.linuxcontainers.org mailing
list. Use http://lists.linuxcontainers.org/listinfo/lxc-devel to subscribe
to the list.
Licensing for new files:
Licensing for new files:
------------------------
------------------------
...
@@ -56,20 +42,16 @@ Anything else (non-libaries) needs to be Free Software and needs to be
...
@@ -56,20 +42,16 @@ Anything else (non-libaries) needs to be Free Software and needs to be
allowed to link with LGPLv2.1+ code (if needed). LXC upstream prefers
allowed to link with LGPLv2.1+ code (if needed). LXC upstream prefers
LGPLv2.1+ or GPLv2 for those.
LGPLv2.1+ or GPLv2 for those.
When introducing a new file into the project, please make sure it has a
When introducing a new file into the project, please make sure it has a
copyright header making clear under which license it's being released
copyright header making clear under which license it's being released
and if it doesn't match the criteria described above, please explain
and if it doesn't match the criteria described above, please explain
your decision on the lxc-devel mailing-list when submitting your patch.
your decision on the lxc-devel mailing-list when submitting your patch.
Developer Certificate of Origin:
Developer Certificate of Origin:
--------------------------------
--------------------------------
To improve tracking of contributions to this project we will use a
To improve tracking of contributions to this project we will use a
process modeled on the modified DCO 1.1 and use a "sign-off" procedure
process modeled on the modified DCO 1.1 and use a "sign-off" procedure.
on patches that are being emailed around or contributed in any other
way.
The sign-off is a simple line at the end of the explanation for the
The sign-off is a simple line at the end of the explanation for the
patch, which certifies that you wrote it or otherwise have the right
patch, which certifies that you wrote it or otherwise have the right
...
@@ -111,3 +93,15 @@ You can do it by using option -s or --signoff when you commit
...
@@ -111,3 +93,15 @@ You can do it by using option -s or --signoff when you commit
git commit --signoff ...
git commit --signoff ...
using your real name (sorry, no pseudonyms or anonymous contributions.)
using your real name (sorry, no pseudonyms or anonymous contributions.)
In addition we support the following DCOs which maintainers can use to indicate
that a patch is acceptable:
Acked-by: Random J Developer <random@developer.org>
Reviewed-by: Random J Developer <random@developer.org>
If you are contributing as a group who is implementing a feature together such
that it cannot be reasonably attributed to a single developer please use:
Co-developed-by: Random J Developer 1 <random_1@developer.org>
Co-developed-by: Random J Developer 2 <random_1@developer.org>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment