forked from rpm-software-management/dnf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5bb316d
Showing
79 changed files
with
5,539 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
--- | ||
Language: Cpp | ||
BasedOnStyle: Google | ||
Standard: Cpp11 | ||
|
||
|
||
# Characters per line | ||
ColumnLimit: 120 | ||
|
||
|
||
# Do not wrap comments according to ColumnLimit | ||
ReflowComments: false | ||
|
||
|
||
# Indentation | ||
IndentWidth: 4 | ||
AccessModifierOffset: -4 | ||
UseTab: false | ||
|
||
# Keep up to 2 empty lines | ||
MaxEmptyLinesToKeep: 2 | ||
|
||
|
||
# sort and group includes: c++, system, project | ||
SortIncludes: true | ||
IncludeBlocks: Regroup | ||
IncludeCategories: | ||
# C++ Standard Library headers | ||
- Regex: '<[[:alnum:]_-]+>' | ||
Priority: 5 | ||
# system libraries | ||
- Regex: '<.+>' | ||
Priority: 4 | ||
# project includes - libdnf absolute paths | ||
- Regex: '"libdnf/.+"' | ||
Priority: 3 | ||
# project includes - libdnf-cli absolute paths | ||
- Regex: '"libdnf-cli/.+"' | ||
Priority: 2 | ||
# project includes | ||
- Regex: '".+"' | ||
Priority: 1 | ||
|
||
|
||
# Always break after an open bracket, if the parameters don't fit on a single line, e.g.: | ||
# | ||
# someLongFunction( | ||
# argument1, argument2); | ||
# | ||
AlignAfterOpenBracket: AlwaysBreak | ||
|
||
|
||
# Forbid simple braced statements on a single line. | ||
# | ||
# Allowed: | ||
# if (a) { | ||
# return; | ||
# } | ||
# | ||
# Forbidden: | ||
# if (a) { return; } | ||
# | ||
AllowShortBlocksOnASingleLine: false | ||
|
||
|
||
# Forbid short case labels on a single line. | ||
# | ||
# Allowed: | ||
# switch (a) { | ||
# case 1: | ||
# x = 1; | ||
# break; | ||
# } | ||
# | ||
# Forbidden: | ||
# switch (a) { | ||
# case 1: x = 1; break; | ||
# case 2: return; | ||
# } | ||
# | ||
AllowShortCaseLabelsOnASingleLine: false | ||
|
||
|
||
# Allow only single line methods defined inside a class. | ||
# | ||
# Allowed: | ||
# class Foo { | ||
# void f() { foo(); } | ||
# }; | ||
# void f() { | ||
# foo(); | ||
# } | ||
# | ||
# Forbidden: | ||
# void f() { foo(); } | ||
AllowShortFunctionsOnASingleLine: Inline | ||
|
||
|
||
# Forbid if statements on a single line. | ||
# | ||
# Allowed: | ||
# if (a) | ||
# return ; | ||
# else { | ||
# return; | ||
# } | ||
# | ||
# Forbidden: | ||
# if (a) return; | ||
# else | ||
# return; | ||
# | ||
AllowShortIfStatementsOnASingleLine: Never | ||
|
||
|
||
# Forbid loops on a single line. | ||
# | ||
# Allowed: | ||
# while (i < 1) { | ||
# i--; | ||
# } | ||
# | ||
# Forbidden: | ||
# while (i < 1) i--; | ||
# | ||
AllowShortLoopsOnASingleLine: false | ||
|
||
|
||
# Force middle pointer alignment. | ||
# | ||
# Examples: | ||
# char * str; | ||
# const std::string & str; | ||
# | ||
DerivePointerAlignment: false | ||
PointerAlignment: Middle | ||
|
||
|
||
# Allow only one argument/parameter per line. | ||
# | ||
# Allowed: | ||
# void f(int aaaaaaaaaaaaaaaaaaaa, | ||
# int aaaaaaaaaaaaaaaaaaaa, | ||
# int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {} | ||
# | ||
# Forbidden: | ||
# void f(int aaaaaaaaaaaaaaaaaaaa, int aaaaaaaaaaaaaaaaaaaa, | ||
# int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {} | ||
# | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
|
||
|
||
# If the function declaration doesn't fit on a line, put all parameters on the next line. | ||
# | ||
# Allowed: | ||
# void myFunction( | ||
# int a, int b, int c, int d, int e); | ||
# | ||
# Forbidden: | ||
# void myFunction(int a, | ||
# int b, | ||
# int c, | ||
# int d, | ||
# int e); | ||
# | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
|
||
|
||
# Allow only per line constructor intitializers. | ||
# | ||
# Allowed: | ||
# MyClass::MyClass() | ||
# : member0(0) | ||
# , member1(2) | ||
# | ||
# Forbidden: | ||
# MyClass::MyClass() : | ||
# member0(0), member1(2) | ||
# | ||
AllowAllConstructorInitializersOnNextLine: false | ||
BreakConstructorInitializers: BeforeComma | ||
|
||
|
||
# Align consecutive C/C++ preprocessor macros. | ||
# | ||
# Example: | ||
# #define SHORT_NAME 42 | ||
# #define LONGER_NAME 0x007f | ||
# #define EVEN_LONGER_NAME (2) | ||
# #define foo(x) (x * x) | ||
# #define bar(y, z) (y + z) | ||
# | ||
AlignConsecutiveMacros: true | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
Checks: '*,readability-*,-google-runtime-references,-modernize-use-trailing-return-type,-hicpp-signed-bitwise,-fuchsia*,-modernize-use-nodiscard' | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '' | ||
AnalyzeTemporaryDtors: false | ||
FormatStyle: none | ||
CheckOptions: | ||
- key: readability-identifier-naming.ClassCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.FunctionCase | ||
value: lower_case | ||
- key: readability-identifier-naming.GlobalConstantCase | ||
value: UPPER_CASE | ||
- key: readability-identifier-naming.NamespaceCase | ||
value: lower_case | ||
- key: readability-identifier-naming.ParameterCase | ||
value: lower_case | ||
- key: readability-identifier-naming.StructCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.VariableCase | ||
value: lower_case | ||
|
||
- key: readability-implicit-bool-conversion.AllowIntegerConditions | ||
value: '0' | ||
- key: readability-implicit-bool-conversion.AllowPointerConditions | ||
value: '1' | ||
- key: readability-inconsistent-declaration-parameter-name.IgnoreMacros | ||
value: '1' | ||
- key: readability-inconsistent-declaration-parameter-name.Strict | ||
value: '1' | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
build/* | ||
__pycache__ | ||
*.log | ||
*.src.rpm | ||
*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
The current Red Hat's Software Management / DNF team | ||
==================================================== | ||
Aleš Matěj <[email protected]> | ||
Daniel Mach <[email protected]> | ||
Jaroslav Mracek <[email protected]> | ||
Jaroslav Rohel <[email protected]> | ||
Lukáš Hrázký <[email protected]> | ||
Marek Blaha <[email protected]> | ||
Nicola Sella <[email protected]> | ||
Pavla Kratochvilova <[email protected]> | ||
|
||
|
||
All contributors to libdnf (incl. hawkey and libhif) | ||
==================================================== | ||
Adam Williamson <[email protected]> | ||
Ales Kozumplik <[email protected]> | ||
Aleš Matěj <[email protected]> | ||
Benjamin Kircher <[email protected]> | ||
Bernhard Rosenkränzer <[email protected]> | ||
Colin Walters <[email protected]> | ||
Corentin Noël <[email protected]> | ||
Dan Callaghan <[email protected]> | ||
Dan Horák <[email protected]> | ||
Daniel Mach <[email protected]> | ||
Eduard Čuba <[email protected]> | ||
Elan Ruusamäe <[email protected]> | ||
Giuseppe Scrivano <[email protected]> | ||
Christian Brunner <[email protected]> | ||
Courtney Pacheco <[email protected]> | ||
Igor Gnatenko <[email protected]> | ||
iliana weller <[email protected]> | ||
James Cassell <[email protected]> | ||
Jan Pazdziora <[email protected]> | ||
Jan Silhan <[email protected]> | ||
Jaroslav Mracek <[email protected]> | ||
Jaroslav Rohel <[email protected]> | ||
Jeff Law <[email protected]> | ||
Jens Petersen <[email protected]> | ||
Jonathan Dieter <[email protected]> | ||
Jonathan Lebon <[email protected]> | ||
Jonathan Wakely <[email protected]> | ||
Jo Shields <[email protected]> | ||
Kalev Lember <[email protected]> | ||
Kevin Howell <[email protected]> | ||
Kevin Kofler <[email protected]> | ||
Khem Raj <[email protected]> | ||
Lukáš Hrázký <[email protected]> | ||
Lumir Balhar <[email protected]> | ||
Marek Blaha <[email protected]> | ||
Marius Vollmer <[email protected]> | ||
Martin Hatina <[email protected]> | ||
Martin Sehnoutka <[email protected]> | ||
Matthew Barnes <[email protected]> | ||
Mihai Moldovan <[email protected]> | ||
Michael Mraka <[email protected]> | ||
Michael Schroeder <[email protected]> | ||
Michal Domonkos <[email protected]> | ||
Michal Luscon <[email protected]> | ||
Michal Minar <[email protected]> | ||
Michal Ruprich <[email protected]> | ||
Michal Toman <[email protected]> | ||
Neal Gompa <[email protected]> | ||
Nils Philippsen <[email protected]> | ||
Panu Matilainen <[email protected]> | ||
Pat Riehecky <[email protected]> | ||
Pavla Kratochvilova <[email protected]> | ||
Peter Hjalmarsson <[email protected]> | ||
Peter Robinson <[email protected]> | ||
Petr Viktorin <[email protected]> | ||
Radek Holy <[email protected]> | ||
Rafael Fonseca <[email protected]> | ||
Richard Hughes <[email protected]> | ||
Ruixin <[email protected]> | ||
Scott Tsai <[email protected]> | ||
Tomas Mlcoch <[email protected]> | ||
Tomasz Kłoczko <[email protected]> | ||
Tyrone Abdy <[email protected]> | ||
Valentina Mukhamedzhanova <[email protected]> | ||
Ville Skyttä <[email protected]> | ||
Vít Ondruch <[email protected]> | ||
Yavor Atanasov <[email protected]> | ||
Yuri Chornoivan <[email protected]> | ||
Zdeněk Pavlas <[email protected]> | ||
Zhang Xianwei <[email protected]> |
Oops, something went wrong.