cwielenb/CNCF-Dataset huggingface dataset:
Project: KubeVela (App Definition and Development / Application Definition & Image Build)
File: kustomize-strategy-merge.eg.md

```yaml apiVersion: core.oam.dev/v1beta1 kind: Application metadata: name: bucket-app spec: components: name: bucket-comp type: kustomize traits: type: kustomize-strategy-merge properties: patchesStrategicMerge: apiVersion: apps/v1 kind: Deployment metadata: name: podinfo spec: template: spec: serviceAccount: custom-service-account ```
Project: ClickHouse (App Definition and Development / Database)
File: README.md

Allows to view test-suite history for master branch. ```bash $ sudo pip install -r requirements.txt $ test-history --token XXX --since '2020-01-22 00:00:00' --substr Performance' +||--+ | Date | SHA | Performance test | +=====================+=========+====================+ | 2020-01-22 12:54:59 | 47ffa40 | success | +||--+ | 2020-01-22 13:06:16 | 0d484be | failure | +||--+ | 2020-01-22 14:18:34 | 289f169 | success | +||--+ | 2020-01-22 14:27:27 | e357c6f | not run | +||--+ | 2020-01-22 15:29:30 | 6cd6b4d | not run | +||--+ | 2020-01-22 16:52:26 | 6fc7a82 | not run | +||--+ | 2020-01-22 16:55:52 | c683c77 | failure | +||--+ | 2020-01-22 16:58:36 | d68f8d1 | pending | +||--+ | 2020-01-22 17:59:43 | ba7ab32 | success | +||--+ | 2020-01-22 18:32:38 | eadb902 | failure | +||--+ | 2020-01-22 19:11:34 | 8f241ea | success | +||--+ | 2020-01-22 19:56:49 | f0b7422 | failure | +||--+ | 2020-01-22 21:26:16 | 55be790 | not run | +||--+ | 2020-01-22 22:23:59 | c00636b | not run | +||--+ | 2020-01-22 23:09:23 | 8cfe9a4 | failure | +||--+ | 2020-01-23 00:10:33 | a02b59f | success | +||--+ | 2020-01-23 05:56:11 | 48b3f33 | failure | +||--+ | 2020-01-23 05:56:54 | d807088 | success | +||--+ | 2020-01-23 06:01:48 | 2e84949 | failure | +||--+ | 2020-01-23 11:18:19 | b80e3dc | pending | +||--+ | 2020-01-23 11:53:30 | 0e906b2 | pending | +||--+ ``` Script allows to specify start date for commits range in `'%Y-%m-%d %H:%M:%S'` format with `--since` option, default is three days. Also there is `--substr` option which allows to filter test suites by substring occurrence. Github token is required for script and can be found at https://github.com/settings/tokens.
Project: Kui (App Definition and Development / Application Definition & Image Build)
File: kui_shell_core.UsageRow.md

/ / UsageRow .UsageRow `Optional` advanced: `boolean` `Optional` alias: `string` `Optional` aliases: `string`[] `Optional` allowed: (`string` \| `number` \| `boolean`)[] `Optional` allowedIsPrefixMatch: `boolean` `Optional` available: [] `Optional` boolean: `boolean` `Optional` booleanOK: `boolean` `Optional` command: `string` `Optional` commandPrefix: `string` `Optional` commandSuffix: `string` `Optional` consumesPositional: `boolean` `Optional` defaultValue: `string` \| `number` \| `boolean` `Optional` dir: `boolean` `Optional` docs: `string` `Optional` example: `string` `Optional` file: `boolean` `Optional` header: `string` `Optional` hidden: `boolean` `Optional` implicitOK: `string`[] `Optional` label: `string` `Optional` name: `string` `Optional` narg: `number` `Optional` noclick: `boolean` `Optional` notNeededIfImplicit: `boolean` `Optional` numeric: `boolean` `Optional` partial: `boolean` `Optional` positional: `boolean` `Optional` synonyms: `string`[] `Optional` title: `string`
Project: YugabyteDB (App Definition and Development / Database)
File: managed-api.md

title: YugabyteDB Managed REST API headerTitle: REST API linkTitle: REST API description: REST API YugabyteDB Managed. headcontent: Manage YugabyteDB Managed accounts and deployments using the REST API menu: preview_yugabyte-cloud: parent: managed-automation identifier: managed-api weight: 10 type: docs The YugabyteDB Managed REST API allows you to deploy and manage your database clusters in YugabyteDB Managed programmatically. Some examples of what you can accomplish using this API include: Deploy and manage clusters Deploy and manage read replicas Pause and resume clusters automatically, based on a schedule or external events Run on-demand backups and restores Change backup and maintenance schedules Configure monitoring and alerts {{< youtube id="bD9CNHwet74?si=UpNu1jedrvni2mht" title="YugabyteDB Managed REST API" >}} {{< sections/2-boxes >}} {{< sections/bottom-image-box title="Get Started" description="Manage YugabyteDB Managed using the API." buttonText="API Documentation" buttonUrl="https://api-docs.yugabyte.com/docs/managed-apis/9u5yqnccbe8lk-yugabyte-db-managed-rest-api" >}} {{< /sections/2-boxes >}}
Project: KubeMQ (App Definition and Development / Streaming & Messaging)
File: kubemq_commands.md

Execute Kubemq 'commands' Execute Kubemq 'commands ``` kubemq commands [flags] ``` ``` kubemq commands send kubemq commands receive kubemq commands attach ``` ``` -h, --help help for commands ``` - - Command attach to 'commands' channels command - Command receive a body from 'commands' channel command - Command send messages to 'commands' channel command
Project: Plural (App Definition and Development / Application Definition & Image Build)
File: PULL_REQUEST_TEMPLATE.md

<! Hello Plural contributor! It's great to have you on board! --> <!-- Describe your changes here, include the motivation/context, test coverage, --> <!-- the type of change i.e. breaking change, new feature, or bug fix --> <!-- and related GitHub issue or screenshots (if applicable). --> <!-- Adding a meaningful title and description allows us to better communicate --> <!-- your work with our users. --> <!-- For breaking changes, add the `breaking-change` label. --> <!-- For bug fixes, add the `bug-fix` label. --> <!-- For new features and notable changes, add the `enhancement` label. --> <! Please describe the tests you have added and your testing environment (if applicable). --> <! Go over all the following points to make sure you've checked all that apply before merging. --> <! If you're unsure about any of these, don't hesitate to ask in our Discord. --> [ ] If required, I have updated the Plural documentation accordingly. [ ] I have added tests to cover my changes. [ ] I have added a meaningful title and summary to convey the impact of this PR to a user. [ ] I have added relevant labels to this PR to help with categorization for release notes.
Project: YDB (App Definition and Development / Database)
File: table-ttl-set.md

Use the `table ttl set` subcommand to set for the specified table. General format of the command: ```bash {{ ydb-cli }} [global options...] table ttl set [options...] <table path> ``` `global options`: . `options`: . `table path`: The table path. View a description of the TTL set command: ```bash {{ ydb-cli }} table ttl set --help ``` | Name | Description | | | `--column` | The name of the column that will be used to calculate the lifetime of the rows. The column must have the or type.<br>In case of the numeric type, the value will be interpreted as the time elapsed since the beginning of the . Measurement units must be specified in the `--unit` parameter. | | `--expire-after` | Additional time before deleting that must elapse after the lifetime of the row has expired. Specified in seconds.<br>The default value is `0`. | | `--unit` | The value measurement units of the column specified in the `--column` parameter. It is mandatory if the column has the type.<br>Possible values:<ul><li>`seconds (s, sec)`: Seconds.</li><li>`milliseconds (ms, msec)`: Milliseconds.</li><li>`microseconds (us, usec)`: Microseconds.</li><li>`nanoseconds (ns, nsec)`: Nanoseconds.</li></ul> | | `--run-interval` | The interval for running the operation to delete rows with expired TTL. Specified in seconds. The default database settings do not allow an interval of less than 15 minutes (900 seconds).<br>The default value is `3600`. | {% include %} Set TTL for the `series` table ```bash {{ ydb-cli }} -p quickstart table ttl set \ --column createtime \ --expire-after 3600 \ --run-interval 1200 \ series ```
Project: KICS (Provisioning / Security & Compliance)
File: ce7c874e-1b88-450b-a5e4-cb76ada3c8a9.md

title: Github Organization Webhook With SSL Disabled hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: ce7c874e-1b88-450b-a5e4-cb76ada3c8a9 Query name: Github Organization Webhook With SSL Disabled Platform: Terraform Severity: <span style="color:#ff7213">Medium</span> Category: Encryption URL: Check if insecure SSL is being used in the GitHub organization webhooks<br> ```tf title="Positive test num. 1 - tf file" hl_lines="7" resource "githuborganizationwebhook" "positive1" { name = "web" configuration { url = "https://google.de/" content_type = "form" insecure_ssl = true } active = false events = ["issues"] } ``` ```tf title="Negative test num. 1 - tf file" resource "githuborganizationwebhook" "negative1" { name = "web" configuration { url = "https://google.de/" content_type = "form" insecure_ssl = false } active = false events = ["issues"] } ```
Project: SeaTunnel (App Definition and Development / Streaming & Messaging)
File: Hive.md

Hive source connector Read data from Hive. :::tip In order to use this connector, You must ensure your spark/flink cluster already integrated hive. The tested hive version is 2.3.9. If you use SeaTunnel Engine, You need put seatunnel-hadoop3-3.1.4-uber.jar and hive-exec-3.1.3.jar and libfb303-0.9.3.jar in $SEATUNNEL_HOME/lib/ dir. ::: Read all the data in a split in a pollNext call. What splits are read will be saved in snapshot. [x] file format [x] text [x] csv [x] parquet [x] orc [x] json | name | type | required | default value | |-|--|-|-| | table_name | string | yes | - | | metastore_uri | string | yes | - | | krb5_path | string | no | /etc/krb5.conf | | kerberos_principal | string | no | - | | kerberoskeytabpath | string | no | - | | hdfssitepath | string | no | - | | hivesitepath | string | no | - | | read_partitions | list | no | - | | read_columns | list | no | - | | compress_codec | string | no | none | | common-options | | no | - | Target Hive table name eg: db1.table1 Hive metastore uri The path of `hdfs-site.xml`, used to load ha configuration of namenodes The target partitions that user want to read from hive table, if user does not set this parameter, it will read all the data from hive table. Tips: Every partition in partitions list should have the same directory depth. For example, a hive table has two partitions: par1 and par2, if user sets it like as the following: read_partitions = [par1=xxx, par1=yyy/par2=zzz], it is illegal The path of `krb5.conf`, used to authentication kerberos The principal of kerberos authentication The keytab file path of kerberos authentication The read column list of the data source, user can use it to implement field projection. The compress codec of files and the details that supported as the following shown: txt: `lzo` `none` json: `lzo` `none` csv: `lzo` `none` orc/parquet: automatically recognizes the compression type, no additional settings required. Source plugin common parameters, please refer to for details ```bash Hive { tablename = "default.seatunnelorc" metastore_uri = "thrift://namenode001:9083" } ``` ```bash Hive { tables_configs = [ { tablename = "default.seatunnelorc_1" metastore_uri = "thrift://namenode001:9083" }, { tablename = "default.seatunnelorc_2" metastore_uri = "thrift://namenode001:9083" } ] } ``` Add Hive Source Connector ) Support user-defined partitions ()
Project: Packer (App Definition and Development / Application Definition & Image Build)
File: LICENSE.md

This license is temporary while a more official one is drafted. However, this should make it clear: The text contents of this website are MPL 2.0 licensed. The design contents of this website are proprietary and may not be reproduced or reused in any way other than to run the website locally. The license for the design is owned solely by HashiCorp, Inc.
Project: ArangoDB (App Definition and Development / Database)
File: requires.md

+++ title = "`BOOSTOUTCOMEREQUIRES(...)`" description = "A C++ 20 `requires(...)`, if available." +++ A C++ 20 `requires(...)`, if available. Overridable: Define before inclusion. Default: To `requires(...)` if on C++ 20 or later, else to nothing. Header: `<boost/outcome/config.hpp>`
Project: StarRocks (App Definition and Development / Database)
File: sha2.md

displayed_sidebar: "English" Calculates the SHA-224 hash value, SHA-256 hash value, SHA-384 hash value, or SHA-512 hash value of a string. ```Haskell VARCHAR sha2(VARCHAR expr, INT hash_length) ``` `Expr`: the string whose value you want to calculate. `hash_length`: the length of a hash value. The value of this parameter can be 224, 256, 384, 512, or 0. The value 0 is equivalent to 256. If you set this parameter to any other value, this function returns `NULL`. Returns a hash value of the VARCHAR type. If any of the two input parameters is `Null`, `Null` is returned. ```Plain Text mysql> select sha2('abc',224); +-+ | sha2('abc', 224) | +-+ | 23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7 | +-+ 1 row in set (0.01 sec) mysql> select sha2('abc', 384); +--+ | sha2('abc', 384) | +--+ | cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7 | +--+ 1 row in set (0.00 sec) mysql> select sha2('abc', 1),sha2('abc', null), sha2(null, 384); +-+-+--+ | sha2('abc', 1) | sha2('abc', NULL) | sha2(NULL, 384) | +-+-+--+ | NULL | NULL | NULL | +-+-+--+ 1 row in set (0.01 sec) ``` SHA2, ENCRYPTION
Project: YugabyteDB (App Definition and Development / Database)
File: yba_provider_onprem_node_preflight.md

Preflight check a node of a YugabyteDB Anywhere on-premises provider Preflight check a node of a YugabyteDB Anywhere on-premises provider ``` yba provider onprem node preflight [flags] ``` ``` --ip string [Required] IP address of the node instance. -h, --help help for preflight ``` ``` -a, --apiToken string YugabyteDB Anywhere api token. --config string Config file, defaults to $HOME/.yba-cli.yaml --debug Use debug mode, same as --logLevel debug. --disable-color Disable colors in output. (default false) -H, --host string YugabyteDB Anywhere Host (default "http://localhost:9000") -l, --logLevel string Select the desired log level format. Allowed values: debug, info, warn, error, fatal. (default "info") -n, --name string [Optional] The name of the provider for the action. Required for create, delete, describe, instance-types and nodes. -o, --output string Select the desired output format. Allowed values: table, json, pretty. (default "table") --timeout duration Wait command timeout, example: 5m, 1h. (default 168h0m0s) --wait Wait until the task is completed, otherwise it will exit immediately. (default true) ``` - Manage YugabyteDB Anywhere onprem node instances
Project: StarRocks (App Definition and Development / Database)
File: years_diff.md

displayed_sidebar: "English" Returns the year difference between two date expressions (`expr1` `expr2`), accurate to the year. ```Haskell BIGINT years_diff(DATETIME expr1,DATETIME expr2); ``` `expr1`: the end time. It must be of the DATETIME or DATE type. `expr2`: the start time. It must be of the DATETIME or DATE type. Returns a BIGINT value. NULL is returned if the date does not exist, for example, 2022-02-29. ```Plain select years_diff('2010-11-30 23:59:59', '2000-11-1 23:59:59'); ++ | years_diff('2010-11-30 23:59:59', '2000-11-1 23:59:59') | ++ | 10 | ++ select years_diff('2010-11-30', '2000-11-1'); ++ | years_diff('2010-11-30', '2000-11-1') | ++ | 10 | ++ ```
Project: KCL (Provisioning / Automation & Configuration)
File: E2G22.md

KCL will report `TypeError` when a type error occurs in compiling type check. The `ewcode` of `TypeError` is `E2G22`. For example: ```python schema Person: firstName: str lastName: int JohnDoe = Person { "firstName": "John", "lastName": "Doe" # Type ErrorlastName: intDoe is a string. } ``` The KCL program will cause the following error message. ```shell error[E2G22]: TypeError --> type/typefail0/main.k:7:5 | 7 | "lastName": "Doe" # Type ErrorlastName: intDoe is a string. | ^ expected int, got str(Doe) | --> type/typefail0/main.k:3:5 | 3 | lastName: int | ^ variable is defined here, its type is int, but got str(Doe) | ```
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.6.17.md

layout: release date: 2022-10-19 tag: v0.6.17 language: en Remove collaboration endpoint @nishantwrp (#6398) [Server] Support for publishing to catalog @gr455 (#6341) Fix light mode Slack logo in Readme.MD @3t8 (#6395) [Server] Improve error handling of invalid tokens @abdullah1308 (#6384) [Extension] Fix Bugs in Extension Points @theBeginner86 (#6388) Fixing the key prop warnings in other components @legendarykamal (#6392) [rjsf] Styles fixes @harkiratsm (#6360) New svg for the Service Account @Harshit-Dandriyal (#6404) [Extension] Fix Bugs in Extension Points @theBeginner86 (#6388) Remove `testadapters.yaml` @acald-creator (#6412) Update testadapters.yaml `k8sversions` @acald-creator (#6405) [chore] Fix Improper tags for Meshery Docker Extension @theBeginner86 (#6396) [Docs] Remove reference to deprecated package in CONTRIBUTING.md @abdullah1308 (#6380) Bump nokogiri from 1.13.6 to 1.13.9 in /docs @dependabot (#6406) Fixed Typo @UtkarshMishra12 (#6390) Thank you to our contributors for making this release possible: @3t8, @Harshit-Dandriyal, @Nikhil-Ladha, @Revolyssup, @UtkarshMishra12, @abdullah1308, @acald-creator, @dependabot, @dependabot[bot], @gr455, @harkiratsm, @leecalcote, @legendarykamal, @nishantwrp and @theBeginner86
Project: KICS (Provisioning / Security & Compliance)
File: 965a08d7-ef86-4f14-8792-4a3b2098937e.md

title: Apt Get Install Pin Version Not Defined hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 965a08d7-ef86-4f14-8792-4a3b2098937e Query name: Apt Get Install Pin Version Not Defined Platform: Dockerfile Severity: <span style="color:#ff7213">Medium</span> Category: Supply-Chain URL: When installing a package, its pin version should be defined<br> ```dockerfile title="Positive test num. 1 - dockerfile file" hl_lines="9 2 3 6" FROM busybox RUN apt-get install python RUN ["apt-get", "install", "python"] FROM busybox2 RUN apt-get install -y -t python FROM busybox3 RUN apt-get update && apt-get install -y \ python-qt4 \ python-pyside \ python-pip \ python3-pip \ python3-pyqt5 ``` ```dockerfile title="Positive test num. 2 - dockerfile file" hl_lines="9 2 3 6" FROM busybox4 RUN apt-get install python RUN ["apt-get", "install", "python"] FROM busybox5 RUN apt-get install -y -t python FROM busybox6 RUN apt-get update ; \ apt-get install -y \ python-qt4 \ python-pyside \ python-pip \ python3-pip \ python3-pyqt5 ``` ```dockerfile title="Negative test num. 1 - dockerfile file" FROM busybox RUN apt-get install python=2.7 ``` ```dockerfile title="Negative test num. 2 - dockerfile file" FROM busyboxneg2 RUN apt-get install python=2.7 FROM busyboxneg3 RUN apt-get install -y -t python=2.7 FROM busyboxneg4 RUN apt-get update; \ apt-get install -y \ python-qt4=4.11 \ python-pyside=6.0.1 \ python-pip=1.0.2 \ python3-pip=1.0 \ python3-pyqt5=5 ``` ```dockerfile title="Negative test num. 3 - dockerfile file" FROM busybox RUN apt-get install python=2.7 ; echo "A" && echo "B" ```
Project: Artifact Hub (App Definition and Development / Application Definition & Image Build)
File: helm_plugins_repositories.md

Artifact Hub is able to process Helm plugins available in git repositories. Repositories are expected to be hosted in GitHub, GitLab or Bitbucket. When adding your repository to Artifact Hub, the url used must follow the following format: `https://github.com/user/repo` `https://gitlab.com/user/repo` `https://bitbucket.org/user/repo` By default the `master` branch is used, but it's possible to specify a different one from the UI. For more information about the structure of the plugins repository, please see the . Most of the metadata Artifact Hub needs is extracted from the file. In addition to that, if a `README.md` file is available in the plugin's directory, it'll be used as the package documentation. In the same way, if a `LICENSE.*` file is available in the plugin's directory, Artifact Hub will try to detect the license used and its will be stored. There is an extra metadata file that you can add to your repository named , which can be used to setup features like or . This file must be located at the root of the repository.
Project: Ansible (Provisioning / Automation & Configuration)
File: Tests.md

<! Describe the change below, including rationale and design decisions --> <! HINT: Include "Closes #nnn" if you are fixing an existing issue --> Test Pull Request <! Include additional information to help people understand the change here --> <! A step-by-step reproduction of the problem is helpful if there is no related issue --> <! Paste verbatim command output below, e.g. before and after your change --> ```paste below ```
Project: Apache Spark (App Definition and Development / Streaming & Messaging)
File: sql-error-conditions-invalid-delimiter-value-error-class.md

layout: global title: INVALIDDELIMITERVALUE error class displayTitle: INVALIDDELIMITERVALUE error class license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. <!-- DO NOT EDIT THIS FILE. It was generated automatically by `org.apache.spark.SparkThrowableSuite`. --> Invalid value for delimiter. This error class has the following derived error classes: Delimiter cannot be more than one character: `<str>`. Delimiter cannot be empty string. Single backslash is prohibited. It has special meaning as beginning of an escape sequence. To get the backslash character, pass a string with two backslashes as the delimiter. Unsupported special character for delimiter: `<str>`.