Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-docs
Commits
be0d8ea0
Commit
be0d8ea0
authored
4 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
Update Coding rules
parent
9895f372
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
guidelines/Coding-rules.md
+8
-0
8 additions, 0 deletions
guidelines/Coding-rules.md
guidelines/Libring-coding-rules.md
+0
-23
0 additions, 23 deletions
guidelines/Libring-coding-rules.md
with
8 additions
and
23 deletions
guidelines/Coding-rules.md
0 → 100644
+
8
−
0
View file @
be0d8ea0
**
This page gives rules and/or guidances to all
developers that want to integrate some code to Jami
**
C++ format rules are defined by this clang-format file:
https://git.jami.net/savoirfairelinux/ring-daemon/blob/master/.clang-format
All developers are recommended to format their code using the script in
`jami-project/format.sh`
.
This is done automatically (as a pre-commit hook) when using
`./make-ring.py --init`
\ No newline at end of file
This diff is collapsed.
Click to expand it.
guidelines/Libring-coding-rules.md
deleted
100644 → 0
+
0
−
23
View file @
9895f372
**
This page gives rules and/or guidances to all
developers that want to integrate some code to the LibRing (the Ring
daemon).
**
-
Following rules apply to this sub-project only. Others may re-use
this one in parts or whole, have their own, etc. Refer to their
pages for that.
<!-- -->
-
Some rules are _strict_ and are
**strongly marked**
or using
modals like SHALL or MUST.
**!!!Not respecting these rules results in code-review rejection!!!**
-
Some are guidance or recommendation (using modals like SHOULD or
RECOMMEND), it's up to the developer to balance them with his own
way to write code.
<!-- -->
-
Rules are defined by this clang-format file:
https://git.jami.net/savoirfairelinux/ring-daemon/blob/master/.clang-format
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment