-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Client from firebolt apis #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9674fae
3d22251
6eb26ab
5fddbb3
b4c699b
834ad22
a6f3791
024461b
cafa305
d1d7424
f791d74
b50890f
b9cae53
dd33526
8d7489b
9abaaf6
1e4aeaf
6af984d
8e0532b
2237e05
7509af8
ca74133
4473c36
9eefb1d
f22fa6b
8c32429
53c8178
428360b
42fbbe0
885e33d
722fe9f
0dc3085
3094199
50d5b9e
6907317
c677889
d342ce8
22b9ebf
688fb30
7c3c37a
976eec9
8768bda
cb4f3d7
aec10c9
44cc51a
5ac502c
caca985
f7633f4
1e4d869
a739b20
86b4407
ff94826
4256851
3c0c825
b38d12d
c126c58
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,186 @@ | ||
| # vim: ft=yaml | ||
| Language: Cpp | ||
| # BasedOnStyle: LLVM | ||
| AccessModifierOffset: -4 | ||
| AlignAfterOpenBracket: Align | ||
| AlignConsecutiveMacros: | ||
| Enabled: false | ||
| AcrossEmptyLines: false | ||
| AcrossComments: false | ||
| AlignCompound: false | ||
| AlignFunctionPointers: false | ||
| PadOperators: true | ||
| AlignConsecutiveAssignments: | ||
| Enabled: false | ||
| AcrossEmptyLines: false | ||
| AcrossComments: false | ||
| AlignCompound: false | ||
| AlignFunctionPointers: false | ||
| PadOperators: true | ||
| AlignConsecutiveBitFields: | ||
| Enabled: false | ||
| AcrossEmptyLines: false | ||
| AcrossComments: false | ||
| AlignCompound: false | ||
| AlignFunctionPointers: false | ||
| PadOperators: true | ||
| AlignConsecutiveDeclarations: | ||
| Enabled: false | ||
| AcrossEmptyLines: false | ||
| AcrossComments: false | ||
| AlignCompound: false | ||
| AlignFunctionPointers: false | ||
| PadOperators: true | ||
| AlignEscapedNewlines: Right | ||
| AlignOperands: Align | ||
| AlignTrailingComments: true | ||
| AllowAllArgumentsOnNextLine: true | ||
| AllowAllConstructorInitializersOnNextLine: true | ||
| AllowAllParametersOfDeclarationOnNextLine: true | ||
| AllowShortEnumsOnASingleLine: true | ||
| AllowShortBlocksOnASingleLine: Never | ||
| AllowShortCaseLabelsOnASingleLine: false | ||
| AllowShortFunctionsOnASingleLine: Inline | ||
| AllowShortLambdasOnASingleLine: All | ||
| AllowShortIfStatementsOnASingleLine: Never | ||
| AllowShortLoopsOnASingleLine: false | ||
| AlwaysBreakAfterDefinitionReturnType: None | ||
| AlwaysBreakAfterReturnType: None | ||
| AlwaysBreakBeforeMultilineStrings: false | ||
| AlwaysBreakTemplateDeclarations: MultiLine | ||
| AttributeMacros: | ||
| - __capability | ||
| BinPackArguments: true | ||
| BinPackParameters: true | ||
| BitFieldColonSpacing: Both | ||
| BraceWrapping: | ||
| AfterCaseLabel: false | ||
| AfterClass: false | ||
| AfterControlStatement: Never | ||
| AfterEnum: false | ||
| AfterFunction: false | ||
| AfterNamespace: false | ||
| AfterObjCDeclaration: false | ||
| AfterStruct: false | ||
| AfterUnion: false | ||
| AfterExternBlock: false | ||
| BeforeCatch: false | ||
| BeforeElse: false | ||
| BeforeLambdaBody: false | ||
| BeforeWhile: false | ||
| IndentBraces: false | ||
| SplitEmptyFunction: true | ||
| SplitEmptyRecord: true | ||
| SplitEmptyNamespace: true | ||
| BreakBeforeBinaryOperators: None | ||
| BreakBeforeConceptDeclarations: true | ||
| BreakBeforeBraces: Allman | ||
| BreakBeforeInheritanceComma: false | ||
| BreakInheritanceList: BeforeColon | ||
| BreakBeforeTernaryOperators: true | ||
| BreakConstructorInitializersBeforeComma: false | ||
| BreakConstructorInitializers: BeforeColon | ||
| BreakAfterJavaFieldAnnotations: false | ||
| BreakStringLiterals: true | ||
| ColumnLimit: 120 | ||
| CommentPragmas: "^ IWYU pragma:" | ||
| CompactNamespaces: false | ||
| ConstructorInitializerAllOnOneLineOrOnePerLine: false | ||
| ConstructorInitializerIndentWidth: 4 | ||
| ContinuationIndentWidth: 4 | ||
| Cpp11BracedListStyle: true | ||
| DeriveLineEnding: true | ||
| DerivePointerAlignment: false | ||
| DisableFormat: false | ||
| EmptyLineBeforeAccessModifier: LogicalBlock | ||
| ExperimentalAutoDetectBinPacking: false | ||
| FixNamespaceComments: true | ||
| ForEachMacros: | ||
| - foreach | ||
| - Q_FOREACH | ||
| - BOOST_FOREACH | ||
| IncludeBlocks: Preserve | ||
| IncludeCategories: | ||
| - Regex: ^"(llvm|llvm-c|clang|clang-c)/ | ||
| Priority: 2 | ||
| SortPriority: 0 | ||
| CaseSensitive: false | ||
| - Regex: ^(<|"(gtest|gmock|isl|json)/) | ||
| Priority: 3 | ||
| SortPriority: 0 | ||
| CaseSensitive: false | ||
| - Regex: .* | ||
| Priority: 1 | ||
| SortPriority: 0 | ||
| CaseSensitive: false | ||
| IncludeIsMainRegex: (Test)?$ | ||
| IncludeIsMainSourceRegex: "" | ||
| IndentCaseLabels: false | ||
| IndentCaseBlocks: false | ||
| IndentGotoLabels: true | ||
| IndentPPDirectives: None | ||
| IndentExternBlock: AfterExternBlock | ||
| IndentRequires: false | ||
| IndentWidth: 4 | ||
| IndentWrappedFunctionNames: false | ||
| InsertNewlineAtEOF: false | ||
| InsertTrailingCommas: None | ||
| JavaScriptQuotes: Leave | ||
| JavaScriptWrapImports: true | ||
| KeepEmptyLinesAtTheStartOfBlocks: true | ||
| MacroBlockBegin: "" | ||
| MacroBlockEnd: "" | ||
| MaxEmptyLinesToKeep: 1 | ||
| NamespaceIndentation: None | ||
| PackConstructorInitializers: Never | ||
| PenaltyBreakAssignment: 20 | ||
| PenaltyBreakBeforeFirstCallParameter: 1000 | ||
| PenaltyBreakComment: 200 | ||
| PenaltyBreakFirstLessLess: 125 | ||
| PenaltyBreakString: 1000 | ||
| PenaltyBreakTemplateDeclaration: 10 | ||
| PenaltyExcessCharacter: 10 | ||
| PenaltyReturnTypeOnItsOwnLine: 60 | ||
| PenaltyIndentedWhitespace: 0 | ||
| PointerAlignment: Left | ||
| QualifierAlignment: Left | ||
| ReflowComments: true | ||
| SortIncludes: CaseSensitive | ||
| SortJavaStaticImport: Before | ||
| SortUsingDeclarations: true | ||
| SpaceAfterCStyleCast: false | ||
| SpaceAfterLogicalNot: false | ||
| SpaceAfterTemplateKeyword: true | ||
| SpaceBeforeAssignmentOperators: true | ||
| SpaceBeforeCaseColon: false | ||
| SpaceBeforeCpp11BracedList: false | ||
| SpaceBeforeCtorInitializerColon: true | ||
| SpaceBeforeInheritanceColon: true | ||
| SpaceBeforeParens: ControlStatements | ||
| SpaceAroundPointerQualifiers: Default | ||
| SpaceBeforeRangeBasedForLoopColon: true | ||
| SpaceInEmptyBlock: false | ||
| SpaceInEmptyParentheses: false | ||
| SpacesBeforeTrailingComments: 1 | ||
| SpacesInAngles: false | ||
| SpacesInConditionalStatement: false | ||
| SpacesInContainerLiterals: true | ||
| SpacesInCStyleCastParentheses: false | ||
| SpacesInParentheses: false | ||
| SpacesInSquareBrackets: false | ||
| SpaceBeforeSquareBrackets: false | ||
| StatementAttributeLikeMacros: | ||
| - Q_EMIT | ||
| Standard: c++17 | ||
| StatementMacros: | ||
| - Q_UNUSED | ||
| - QT_REQUIRE_VERSION | ||
| TabWidth: 8 | ||
| UseCRLF: false | ||
| UseTab: Never | ||
| WhitespaceSensitiveMacros: | ||
| - STRINGIZE | ||
| - PP_STRINGIZE | ||
| - BOOST_PP_STRINGIZE | ||
| - NS_SWIFT_NAME | ||
| - CF_SWIFT_NAME |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ RUN mkdir -p /deps | |
| ARG DEPS_GOOGLETEST_V="1.15.2" | ||
| RUN cd /deps \ | ||
| && dir="googletest-${DEPS_GOOGLETEST_V}" \ | ||
| && curl -sL https://github.com/google/googletest/releases/download/v${DEPS_GOOGLETEST_V}/$dir.tar.gz | tar xzf - \ | ||
| && i=0 && while ! curl -sL https://github.com/google/googletest/releases/download/v${DEPS_GOOGLETEST_V}/$dir.tar.gz | tar xzf -; do test "$i" -eq 5 && exit 1; i=$((i+1)); sleep 1; done \ | ||
| && cmake -B "build/$dir" \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DBUILD_SHARED_LIBS=ON \ | ||
|
|
@@ -50,7 +50,7 @@ RUN cd /deps \ | |
| ARG DEPS_JSON_SCHEMA_VALIDATOR_V="2.3.0" | ||
| RUN cd /deps \ | ||
| && dir="json-schema-validator-${DEPS_JSON_SCHEMA_VALIDATOR_V}" \ | ||
| && curl -sL https://github.com/pboettch/json-schema-validator/archive/refs/tags/${DEPS_JSON_SCHEMA_VALIDATOR_V}.tar.gz | tar xzf - \ | ||
| && i=0 && while ! curl -sL https://github.com/pboettch/json-schema-validator/archive/refs/tags/${DEPS_JSON_SCHEMA_VALIDATOR_V}.tar.gz | tar xzf - ; do test "$i" -eq 5 && exit 1; i=$((i+1)); sleep 1; done \ | ||
|
||
| && cmake -B "build/$dir" \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DBUILD_SHARED_LIBS=ON \ | ||
|
|
@@ -63,7 +63,7 @@ RUN cd /deps \ | |
| ARG DEPS_WEBSOCKETPP_V="0.8.2" | ||
| RUN cd /deps \ | ||
| && dir="websocketpp-${DEPS_WEBSOCKETPP_V}" \ | ||
| && curl -sL https://github.com/zaphoyd/websocketpp/archive/refs/tags/${DEPS_WEBSOCKETPP_V}.tar.gz | tar xzf - \ | ||
| && i=0 && while ! curl -sL https://github.com/zaphoyd/websocketpp/archive/refs/tags/${DEPS_WEBSOCKETPP_V}.tar.gz | tar xzf - ; do test "$i" -eq 5 && exit 1; i=$((i+1)); sleep 1; done \ | ||
|
||
| && cmake -B "build/$dir" \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DBUILD_SHARED_LIBS=ON \ | ||
|
|
@@ -83,7 +83,7 @@ RUN pip install --break-system-packages gcovr | |
| ARG DEPS_TRANSPORT_V | ||
| RUN cd /deps \ | ||
| && dir="firebolt-native-transport-${DEPS_TRANSPORT_V}" \ | ||
| && curl -sL https://github.com/rdkcentral/firebolt-native-transport/releases/download/v${DEPS_TRANSPORT_V}/firebolt-native-transport-${DEPS_TRANSPORT_V}.tar.gz | tar xzf - \ | ||
| && i=0 && while ! curl -sL https://github.com/rdkcentral/firebolt-native-transport/releases/download/v${DEPS_TRANSPORT_V}/firebolt-native-transport-${DEPS_TRANSPORT_V}.tar.gz | tar xzf - ; do test "$i" -eq 5 && exit 1; i=$((i+1)); sleep 1; done \ | ||
|
||
| && cmake -B "build/$dir" \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DBUILD_SHARED_LIBS=ON \ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| node_modules/ | ||
| build/ | ||
| build-*/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 1.0.0-next.24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
curl | tarpipeline downloads and extracts thegoogletestsource archive during the CI image build without any checksum or signature verification, creating a supply-chain risk. If an attacker can tamper with the GitHub release asset or intercept the connection, they could deliver a malicious archive whose build system executes arbitrary code in your build environment. Fetch the tarball via HTTPS but also pin and verify its integrity (e.g. by checking a known hash or signature) before extraction and compilation.