cwielenb/CNCF-Dataset huggingface dataset:
Project: Keycloak (Provisioning / Security & Compliance)
File: building.md

Ensure you have JDK 17 (or newer) and Git installed java -version git --version Instead of using a locally installed Maven, call the Maven wrapper script `mvnw` in the main folder of the project. This will use the Maven version which is supported by this project. First clone the Keycloak repository: git clone https://github.com/keycloak/keycloak.git cd keycloak To build Keycloak run: ./mvnw clean install This will build all modules and run the testsuite. To build Keycloak with adapters run: ./mvnw clean install -Pdistribution To build only the server run: ./mvnw -pl quarkus/deployment,quarkus/dist -am -DskipTests clean install You can then find the ZIP distribution in `quarkus/dist/target` folder. NOTE Classes from `org.keycloak.testsuite.*` packages aren't suitable to be used in production. This project contains opt-in support for incremental Maven builds using the which is disabled by default. To enable it for a single Maven command execution, enable it as follows: ./mvnw -D -Dmaven.build.cache.enabled=true ... To enable it by default, add it to the `MAVEN_OPTS` environment variable: export MAVEN_OPTS="-Dmaven.build.cache.enabled=true" To start Keycloak during development first build as specified above, then run: java -jar quarkus/server/target/lib/quarkus-run.jar start-dev To stop the server press `Ctrl + C`. For more details, follow the . We don't currently enforce a code style in Keycloak, but a good reference is the code style used by WildFly. This can be retrieved from .To import formatting rules, see following . If your changes require updates to the database read . If your changes require introducing new dependencies or updating dependency versions please discuss this first on the dev mailing list. We do not accept new dependencies to be added lightly, so try to use what is available. Some parts of the project rely on generated code using Maven plugins. These steps might be skipped when building using IDE resulting in compilation errors. To work around this make sure to build the project first using Maven. After the initial build with Maven you should be able to build the project using the IDE as it will use the classes previously generated by Maven plugins. Make sure you don't rebuild the whole project using the IDE as it would delete the generated classes. E.g. in IntelliJ IDEA use `Build Build Project` instead of `Build Rebuild Project`. NOTE If you are building the Operator from your IDE, make sure to build the project with the `operator` profile enabled in Maven as it's excluded by default: ./mvnw clean install -Poperator -DskipTests
Project: ClickHouse (App Definition and Development / Database)
File: v23.11.4.24-stable.md

sidebar_position: 1 sidebar_label: 2024 Flatten only true Nested type if flatten_nested=1, not all Array(Tuple) (). Fix working with read buffers in StreamingFormatExecutor (). Disable system.kafka_consumers by default (due to possible live memory leak) (). Fix invalid preprocessing on Keeper (). Fix Integer overflow in Poco::UTF32Encoding (). Remove parallel parsing for JSONCompactEachRow (). Fix parallel parsing for JSONCompactEachRow (). Fix lost blobs after dropping a replica with broken detached parts (). MergeTreePrefetchedReadPool disable for LIMIT only queries (). Handle another case for preprocessing in Keeper (). Fix testuservalid_until ().
Project: Gradle Build Tool (App Definition and Development / Application Definition & Image Build)
File: PULL_REQUEST_TEMPLATE.md

<! The issue this PR addresses --> <!-- Fixes #? --> <! Why do you believe many users will benefit from this change? --> <! Link to relevant issues or forum discussions here --> . to indicate that you agree to the terms of . , e.g. the code was written by yourself or the original code is licensed under . in pull request so that additional changes can be pushed by Gradle team. [ ] Provide integration tests (under `<subproject>/src/integTest`) to verify changes from a user perspective. [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic. [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes. [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`. [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`. Before merging the PR, comments starting with must be fixed should be fixed may be fixed celebrate happy things
Project: YDB (App Definition and Development / Database)
File: distinct.md

Selecting unique rows. {% note info %} Applying `DISTINCT` to calculated values is not currently implemented. For this purpose, use a subquery or the clause . {% endnote %} Example ```yql SELECT DISTINCT value -- only unique values from the table FROM my_table; ``` The `DISTINCT` keyword can also be used to apply only to distinct values. For more information, see the documentation for .
Project: StarRocks (App Definition and Development / Database)
File: timediff.md

displayed_sidebar: "English" Returns the difference between two DATETIME expressions. The return value must be of the TIME type. ```Haskell TIME TIMEDIFF(DATETIME expr1, DATETIME expr2)` ``` ```Plain Text MySQL > SELECT TIMEDIFF(now(),utc_timestamp()); +-+ | timediff(now(), utc_timestamp()) | +-+ | 08:00:00 | +-+ MySQL > SELECT TIMEDIFF('2019-07-11 16:59:30','2019-07-11 16:59:21'); +--+ | timediff('2019-07-11 16:59:30', '2019-07-11 16:59:21') | +--+ | 00:00:09 | +--+ MySQL > SELECT TIMEDIFF('2019-01-01 00:00:00', NULL); ++ | timediff('2019-01-01 00:00:00', NULL) | ++ | NULL | ++ ``` TIMEDIFF
Project: ClickHouse (App Definition and Development / Database)
File: v21.3.16.5-lts.md

sidebar_position: 1 sidebar_label: 2022 Backported in : Do not remove data on ReplicatedMergeTree table shutdown to avoid creating data to metadata inconsistency. (). Backported in : Aggregate function parameters might be lost when applying some combinators causing exceptions like `Conversion from AggregateFunction(topKArray, Array(String)) to AggregateFunction(topKArray(10), Array(String)) is not supported`. It's fixed. Fixes and . (). Backported in : Fix reading of custom TLDs (stops processing with lower buffer or bigger file). (). Backported in : Now partition ID in queries like `ALTER TABLE ... PARTITION ID xxx` validates for correctness. Fixes . (). Backported in : (). Backported in : Fix synchronization in GRPCServer This PR fixes . (). Backported in : - Fix uninitialized memory in functions `multiSearch` with empty array, close . (). Backported in : In rare cases `system.detached_parts` table might contain incorrect information for some parts, it's fixed. Fixes . (). Backported in : Fixed incorrect validation of partition id for MergeTree tables that created with old syntax. (). Backported in : Fix incorrect result for query with row-level security, prewhere and LowCardinality filter. Fixes . (). Backported in : fix metric BackgroundMessageBrokerSchedulePoolTask, maybe mistyped. (). Backported in : Prevent crashes for some formats when NULL (tombstone) message was coming from Kafka. Closes . (). Backported in : Fix cases, when read buffer fails with 'attempt to read after end of file'. Closes . (). Backported in : Temporarily switched ubuntu apt repository to mirror ru.archive.ubuntu.com as default one(archive.ubuntu.com) is not responding from our CI. (). Backported in : Fixed possible excessive number of conditions moved from `WHERE` to `PREWHERE` (optimization controlled by settings `optimizemoveto_prewhere`). (). Backported in : Fix inconsistent result in queries with `ORDER BY` and `Merge` tables with enabled setting `optimizereadin_order`. (). Fix prometheus metric name (). Fix mysqlkillsyncthreadrestore_test (). Try fix rabbitmq tests (). Update PVS checksum (). Fix race between REPLACE PARTITION and MOVE PARTITION (). Follow-up to (). Set version of tzlocal to 2.1 (). Another try to fix BackgroundPoolTask decrement. (). More accurate check that zk root exists. ().
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.7.1.md

layout: release date: 2023-12-11 tag: v0.7.1 Bump axios from 0.26.1 to 1.6.0 in /install/docker-extension/ui @dependabot (#9340) [chore] upgrade to meshkit v0.7.0 @MUzairS15 (#9606) [feat] add enhancements, fix latency while searching models @VihasMakwana (#9573) [UI] Changed User.js from class based component to functional component @Mohith234 (#8918) [feat] add enhancements, fix latency while searching models @VihasMakwana (#9573) : don't exit in case of context is persisted @VihasMakwana (#9608) Thank you to our contributors for making this release possible: @MUzairS15, @Mohith234, @VihasMakwana, @Yashsharma1911, @aabidsofi19, @dependabot and @leecalcote
Project: StarRocks (App Definition and Development / Database)
File: json_query.md

displayed_sidebar: "English" Queries the value of an element that can be located by the `json_path` expression in a JSON object and returns a JSON value. ```Haskell jsonquery(jsonobjectexpr, jsonpath) ``` `jsonobjectexpr`: the expression that represents the JSON object. The object can be a JSON column, or a JSON object that is produced by a JSON constructor function such as PARSE_JSON. `json_path`: the expression that represents the path to an element in the JSON object. The value of this parameter is a string. For information about the JSON path syntax that is supported by StarRocks, see . Returns a JSON value. If the element does not exist, the json_query function returns an SQL value of `NULL`. Example 1: Query the value of an element that can be located by the `'$.a.b'` expression in the specified JSON object. In this example, the json_query function returns a JSON value of `1`. ```plaintext mysql> SELECT jsonquery(PARSEJSON('{"a": {"b": 1}}'), '$.a.b') ; -> 1 ``` Example 2: Query the value of an element that can be located by the `'$.a.c'` expression in the specified JSON object. In this example, the element does not exist. Therefore, the json_query function returns an SQL value of `NULL`. ```plaintext mysql> SELECT jsonquery(PARSEJSON('{"a": {"b": 1}}'), '$.a.c') ; -> NULL ``` Example 3: Query the value of an element that can be located by the `'$.a[2]'` expression in the specified JSON object. In this example, the JSON object, which is an array named a, contains an element at index 2, and the value of the element is 3. Therefore, the JSON_QUERY function returns a JSON value of `3`. ```plaintext mysql> SELECT jsonquery(PARSEJSON('{"a": [1,2,3]}'), '$.a[2]') ; -> 3 ``` Example 4: Query an element that can be located by the `'$.a[3]'` expression in the specified JSON object. In this example, the JSON object, which is an array named a, does not contain an element at index 3. Therefore, the json_query function returns an SQL value of `NULL`. ```plaintext mysql> SELECT jsonquery(PARSEJSON('{"a": [1,2,3]}'), '$.a[3]') ; -> NULL ```
Project: KubeBlocks by ApeCloud (App Definition and Development / Database)
File: kbcli_plugin_index_delete.md

title: kbcli plugin index delete Remove a configured index ``` kbcli plugin index delete [flags] ``` ``` kbcli plugin index delete myIndex ``` ``` -h, --help help for delete ``` ``` --as string Username to impersonate for the operation. User could be a regular user or a service account in a namespace. --as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups. --as-uid string UID to impersonate for the operation. --cache-dir string Default cache directory (default "$HOME/.kube/cache") --certificate-authority string Path to a cert file for the certificate authority --client-certificate string Path to a client certificate file for TLS --client-key string Path to a client key file for TLS --cluster string The name of the kubeconfig cluster to use --context string The name of the kubeconfig context to use --disable-compression If true, opt-out of response compression for all requests to the server --insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure --kubeconfig string Path to the kubeconfig file to use for CLI requests. --match-server-version Require server version to match client version -n, --namespace string If present, the namespace scope for this CLI request --request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0") -s, --server string The address and port of the Kubernetes API server --tls-server-name string Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used --token string Bearer token for authentication to the API server --user string The name of the kubeconfig user to use ``` - Manage custom plugin indexes
Project: StarRocks (App Definition and Development / Database)
File: e.md

displayed_sidebar: "English" Returns the constant e (the base of natural logarithms). ```SQL E(); ``` This function takes no parameters. Returns the constant e as an DOUBLE. ```Plaintext mysql> select e(); +-+ | e() | +-+ | 2.718281828459045 | +-+ 1 row in set (0.01 sec) ```
Project: ArangoDB (App Definition and Development / Database)
File: app.md

+++ title = "The Application" weight = 25 +++ The application is of course also based on Outcome, and like the HTTP library is also of mixed-failure design in that failure can be returned via error code, type erased `exception_ptr` or indeed a C++ exception throw. {{% snippet "finale.cpp" "app" %}} Here we localise a passthrough `error_code` solely for the purpose of ADL bridging, otherwise the localised `outcome` configured is the default one which comes with Outcome. . The way we are going to configure interop is as follows: The application shall use `error_code` for anticipated failure and C++ exception throws for unanticipated failure. We shall choose the convention that `app::outcome` with exception ptr solely and exclusively represents a type erased failure from a third party library. Thus if one calls `.value()` on an `app::outcome`, both anticipated failure within the app and type erased failure from a third party library shall be converted to a C++ exception throw.
Project: KICS (Provisioning / Security & Compliance)
File: 8b36775e-183d-4d46-b0f7-96a6f34a723f.md

title: Missing AppArmor Profile hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 8b36775e-183d-4d46-b0f7-96a6f34a723f Query name: Missing AppArmor Profile Platform: Kubernetes Severity: <span style="color:#edd57e">Low</span> Category: Access Control URL: Containers should be configured with an AppArmor profile to enforce fine-grained access control over low-level system resources<br> ```yaml title="Positive test num. 1 - yaml file" hl_lines="4 5 36" apiVersion: v1 kind: Pod metadata: name: hello-apparmor-1 annotations: container.apparmor.security.beta.kubernetes.io/hello1: dummy container.apparmor.security.beta.kubernetes.io/hello2: dummy spec: containers: name: hello1 image: busybox command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ] name: hello2 image: busybox command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ] name: hello3 image: busybox command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ] apiVersion: apps/v1 kind: Deployment metadata: name: ubuntu-test1 namespace: testns labels: deployment: ubuntu-1 spec: replicas: 1 selector: matchLabels: container: ubuntu-1 template: metadata: labels: container: ubuntu-1 annotations: container.apparmor.security.beta.kubernetes.io/ubuntu-1-container: dummy spec: containers: name: ubuntu-1-container image: 0x010/ubuntu-w-utils:latest ``` ```yaml title="Negative test num. 1 - yaml file" apiVersion: v1 kind: Pod metadata: name: hello-apparmor-2positive annotations: container.apparmor.security.beta.kubernetes.io/hello: localhost/k8s-apparmor-example-allow-write spec: containers: name: hello image: busybox command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ] ```
Project: RabbitMQ (App Definition and Development / Streaming & Messaging)
File: 3.8.31.md

RabbitMQ `3.8.31` is a maintenance release. All users are recommended to upgrade to this release. RabbitMQ releases are distributed via , , and . This release and . explains what package repositories and tools can be used to provision modern Erlang versions. See the for general documentation on upgrades and for release notes of other releases. If upgrading from a `3.7.x` release, see upgrade and compatibility notes first. If upgrading from a `3.6.x` or older , first upgrade to and then to this version. Any questions about this release, upgrades or RabbitMQ in general are welcome on the and . Release notes can be found on GitHub at . Cleaned up some compiler options that are no longer relevant. Contributed by Pter @gomoripeti Gmri (CloudAMQP). GitHub issue: "In flight" messages directed to an exchange that has just been deleted will be silently dropped or instead of causing an exception. GitHub issue: `credentials_obfuscation` was upgraded To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-3.8.31.tar.xz` instead of the source tarball produced by GitHub.
Project: KICS (Provisioning / Security & Compliance)
File: 6b76f589-9713-44ab-97f5-59a3dba1a285.md

title: Components Request Body Definition Is Unused hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 6b76f589-9713-44ab-97f5-59a3dba1a285 Query name: Components Request Body Definition Is Unused Platform: OpenAPI Severity: <span style="color:#5bc0de">Info</span> Category: Best Practices URL: Components request bodies definitions should be referenced or removed from Open API definition<br> ```json title="Positive test num. 1 - json file" hl_lines="35" { "openapi": "3.0.0", "info": { "title": "Simple API Overview", "version": "1.0.0" }, "paths": { "/": { "get": { "operationId": "listVersionsv2", "summary": "List API versions", "responses": { "200": { "$ref": "#/components/schemas/MyObject" } } } } }, "components": { "schemas": { "MyObject": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } } } }, "requestBodies": { "MyObjectBody": { "description": "A JSON object containing my object information", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MyObject" } } } } } } } ``` ```yaml title="Positive test num. 2 - yaml file" hl_lines="23" openapi: 3.0.0 info: title: Simple API Overview version: 1.0.0 paths: "/": get: operationId: listVersionsv2 summary: List API versions responses: '200': "$ref": "#/components/schemas/MyObject" components: schemas: MyObject: type: object properties: id: type: string name: type: string requestBodies: MyObjectBody: description: A JSON object containing my object information content: application/json: schema: "$ref": "#/components/schemas/MyObject" ``` ```json title="Negative test num. 1 - json file" { "openapi": "3.0.0", "info": { "title": "Simple API Overview", "version": "1.0.0" }, "paths": { "/": { "get": { "operationId": "listVersionsv2", "summary": "List API versions", "responses": { "200": { "$ref": "#/components/schemas/MyObject" } }, "requestBody": { "$ref": "#/components/requestBodies/MyObjectBody" } } } }, "components": { "schemas": { "MyObject": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } } } }, "requestBodies": { "MyObjectBody": { "description": "A JSON object containing my object information", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MyObject" } } } } } } } ``` ```yaml title="Negative test num. 2 - yaml file" openapi: 3.0.0 info: title: Simple API Overview version: 1.0.0 paths: "/": get: operationId: listVersionsv2 summary: List API versions responses: '200': "$ref": "#/components/schemas/MyObject" requestBody: "$ref": "#/components/requestBodies/MyObjectBody" components: schemas: MyObject: type: object properties: id: type: string name: type: string requestBodies: MyObjectBody: description: A JSON object containing my object information content: application/json: schema: "$ref": "#/components/schemas/MyObject" ```
Project: DevSpace (App Definition and Development / Application Definition & Image Build)
File: devspace_set_var.md

title: "Command - devspace set var" sidebar_label: devspace set var Sets a variable ``` devspace set var [flags] ``` ``` Sets a specific variable Examples: devspace set var key=value devspace set var key=value key2=value2 ``` ``` -h, --help help for var --overwrite If true will overwrite the variables value even if its set already (default true) ``` ``` --config string The devspace config file to use --debug Prints the stack trace if an error occurs --disable-profile-activation If true will ignore all profile activations --inactivity-timeout int Minutes the current user is inactive (no mouse or keyboard interaction) until DevSpace will exit automatically. 0 to disable. Only supported on windows and mac operating systems (default 180) --kube-context string The kubernetes context to use -n, --namespace string The kubernetes namespace to use --no-warn If true does not show any warning when deploying into a different namespace or kube-context than before -p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified --profile-parent strings One or more profiles that should be applied before the specified profile (e.g. devspace dev --profile-parent=base1 --profile-parent=base2 --profile=my-profile) --profile-refresh If true will pull and re-download profile parent sources --restore-vars If true will restore the variables from kubernetes before loading the config --save-vars If true will save the variables to kubernetes after loading the config --silent Run in silent mode and prevents any devspace log output except panics & fatals -s, --switch-context DEPRECATED: Switches and uses the last kube context and namespace that was used to deploy the DevSpace project --var strings Variables to override during execution (e.g. --var=MYVAR=MYVALUE) --vars-secret string The secret to restore/save the variables from/to, if --restore-vars or --save-vars is enabled (default "devspace-vars") ```