Skip to content

Commit

Permalink
crio from open source version 1.31.0 can be built successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
wt2017 committed Dec 26, 2024
1 parent 42ed395 commit 7d7d64f
Show file tree
Hide file tree
Showing 9,074 changed files with 2,739,694 additions and 1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
125 changes: 125 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
---
Language: Cpp
BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: "^ IWYU pragma:"
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
- Regex: ".*"
Priority: 1
IncludeIsMainRegex: "(Test)?$"
IndentCaseLabels: false
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseTab: Never
33 changes: 33 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
codecov:
notify:
after_n_builds: 1
require_ci_to_pass: false

coverage:
precision: 2
round: down
range: 50..75

status:
project:
default:
enabled: true
# allowed to drop coverage and still result in a "success" commit status
threshold: null
if_not_found: success
if_no_uploads: success
if_ci_failed: error
patch:
default:
enabled: true
threshold: null
if_not_found: success
if_no_uploads: success
if_ci_failed: error
changes: false

comment:
layout: "header, diff"
behavior: default
require_changes: false
8 changes: 8 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GitHub code owners
# See https://help.github.com/articles/about-codeowners/
#
# KEEP THIS FILE SORTED. Order is important. Last match takes precedence.

* @mrunalp
internal/oci/runtime_vm.go @fidencio
pkg/storage/** @nalind @rhatdan
83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Bug Report
description: Report a bug encountered while operating CRI-O
labels: kind/bug
body:
- type: textarea
id: problem
attributes:
label: What happened?
description: |
Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner.
If this matter is security related, please disclose it privately via [a github security advisory](https://github.com/cri-o/cri-o/security/advisories).
validations:
required: true

- type: textarea
id: expected
attributes:
label: What did you expect to happen?
validations:
required: true

- type: textarea
id: repro
attributes:
label: How can we reproduce it (as minimally and precisely as possible)?
validations:
required: true

- type: textarea
id: additional
attributes:
label: Anything else we need to know?

- type: textarea
id: kubeVersion
attributes:
label: CRI-O and Kubernetes version
value: |
<details>
```console
$ crio --version
# paste output here
```
```console
$ kubectl version --output=json
# paste output here
```
</details>
validations:
required: true

- type: textarea
id: osVersion
attributes:
label: OS version
value: |
<details>
```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
```
</details>
validations:
required: true

- type: textarea
id: environment
attributes:
label: Additional environment details (AWS, VirtualBox, physical, etc.)
value: |
<details>
</details>
validations:
required: true
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/failing-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Failing Test
description: Report continuously failing tests or jobs in the CRI-O CI
labels: kind/failing-test
body:
- type: textarea
id: jobs
attributes:
label: Which jobs are failing?
placeholder: |
Please only use this template for submitting reports about continuously failing tests or jobs in the CRI-O CI.
validations:
required: true

- type: textarea
id: tests
attributes:
label: Which tests are failing?
validations:
required: true

- type: textarea
id: since
attributes:
label: Since when has it been failing?
validations:
required: true

- type: input
id: testgrid
attributes:
label: Testgrid link

- type: textarea
id: reason
attributes:
label: Reason for failure (if possible)

- type: textarea
id: additional
attributes:
label: Anything else we need to know?
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/org_member.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CRI-O Organization Member Request
description: Request membership status in the CRI-O organization
title: "REQUEST: New org member status for <your-GH-handle>"
body:
- id: github
type: input
attributes:
label: GitHub Username
placeholder: e.g. @example_user
validations:
required: true
- id: requirements
type: checkboxes
attributes:
label: Requirements
options:
- label: I have reviewed the [community membership guidelines](https://git.k8s.io/community/community-membership.md)
required: true
- label: I have [enabled 2FA on my GitHub account](https://github.com/settings/security)
required: true
- label: I have one sponsor from the list of approvers in at least one OWNERS file within the CRI-O repository
required: true
- label: I have spoken to my sponsor ahead of this application, and they have agreed to sponsor my application
required: true
- id: sponsor
type: input
attributes:
label: "Sponsor"
description: GitHub handle of your sponsor
placeholder: e.g. @sponsor
validations:
required: true
- id: contributions
type: textarea
attributes:
label: List of contributions to the CRI-O project
placeholder: |
- PRs reviewed / authored
- Issues responded to
validations:
required: true
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Reviewer Request
description: Request reviewer status in the CRI-O organization
title: "REQUEST: New reviewer status for <your-GH-handle>"
body:
- id: github
type: input
attributes:
label: GitHub Username
placeholder: e.g. @example_user
validations:
required: true
- id: requirements
type: checkboxes
attributes:
label: Requirements
options:
- label: I have reviewed the [community membership guidelines](https://git.k8s.io/community/community-membership.md)
required: true
- label: I have [enabled 2FA on my GitHub account](https://github.com/settings/security)
required: true
- label: I have one sponsor from the list of approvers in at least one OWNERS file within the CRI-O repository
required: true
- label: I have spoken to my sponsor ahead of this application, and they have agreed to sponsor my application
required: true
- id: sponsor
type: input
attributes:
label: "Sponsor"
description: GitHub handle of your sponsor
placeholder: e.g. @sponsor
validations:
required: true
- id: contributions
type: textarea
attributes:
label: List of contributions to the CRI-O project
placeholder: |
- PRs reviewed / authored
- Issues responded to
validations:
required: true
Loading

0 comments on commit 7d7d64f

Please sign in to comment.