cwielenb/CNCF-Dataset huggingface dataset:
Project: Kui (App Definition and Development / Application Definition & Image Build)
File: kui_shell_core.HistoryModel.md

/ / HistoryModel .HistoryModel A tuple of History entries, one per Tab (as specified by its given uuid) new HistoryModel(`uuid`) | Name | Type | | :-- | :- | | `uuid` | `string` | `Private` \_cursor: `number` `Private` \_lines: [] `Static` `Private` masterUUID: `string` Facilitate copying master history to new Tabs `get` cursor(): `number` `number` add(`line`): `number` add a line of repl history | Name | Type | | :-- | :-- | | `line` | `Pick`<, `"raw"`\> | `number` find(`filter`): Search the history model | Name | Type | Description | | :- | : | :- | | `filter` | `FilterFunction` | a search string, search regexp, or search function | findIndex(`filter`, `startIdx?`): `number` Search the history model | Name | Type | Description | | :- | : | : | | `filter` | `string` \| `RegExp` \| `FilterFunction` | a search string, search regexp, or search function | | `startIdx?` | `number` | if undefined or negative, start from the end, otherwise, search backwards from the given index | `number` first(): return to the oldest entry `Private` guardedChange(`incr`): `number` change the cursor, protecting against under- and overflow | Name | Type | | :-- | :- | | `incr` | `number` | `number` `Private` key(`uuid?`): `string` The persistence key for this tab | Name | Type | | :-- | :- | | `uuid` | `string` | `string` last(): return to the newest entry line(`idx`): return the given line of history | Name | Type | | :- | :- | | `idx` | `number` | lineByIncr(`incr`): | Name | Type | | :-- | :- | | `incr` | `number` | next(): go forward one entry previous(): go back one entry `Private` restore(`uuid?`): `any` Low-level restore from persistent storage | Name | Type | | :-- | :- | | `uuid` | `string` | `any` `Private` save(`lines?`, `uuid?`): `void` Low-level save to persistent storage | Name | Type | | : | :- | | `lines` | [] | | `uuid` | `string` | `void` slice(`start`, `end?`): [] | Name | Type | | : | :- | | `start` | `number` | | `end?` | `number` | [] update(`cursor`, `updateFn`): `Promise`<`void`\> update a line of repl history -- for async operations | Name | Type | | : | :-- | | `cursor` | `number` | | `updateFn` | (`line`: ) => `void` \| `Promise`<`void`\> | `Promise`<`void`\> wipe(): `boolean` Clear out all history `boolean`
Project: KICS (Provisioning / Security & Compliance)
File: 9b6b0f38-92a2-41f9-b881-3a1083d99f1b.md

title: Run Utilities And POSIX Commands hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 9b6b0f38-92a2-41f9-b881-3a1083d99f1b Query name: Run Utilities And POSIX Commands Platform: Dockerfile Severity: <span style="color:#5bc0de">Info</span> Category: Supply-Chain URL: Some POSIX commands and interactive utilities shouldn't run inside a Docker Container<br> ```dockerfile title="Positive test num. 1 - dockerfile file" hl_lines="4 5" FROM golang:1.12.0-stretch WORKDIR /go COPY . /go RUN top RUN ["ps", "-d"] CMD ["go", "run", "main.go"] ``` ```dockerfile title="Negative test num. 1 - dockerfile file" FROM ubuntu RUN apt-get update && apt-get install -y x11vnc xvfb firefox RUN mkdir ~/.vnc RUN x11vnc -storepasswd 1234 ~/.vnc/passwd RUN bash -c 'echo "firefox" >> /.bashrc' RUN apt-get install nano vim EXPOSE 5900 CMD ["x11vnc", "-forever", "-usepw", "-create"] ```
Project: RabbitMQ (App Definition and Development / Streaming & Messaging)
File: 3.11.12.md

RabbitMQ `3.11.12` is a maintenance release in the `3.11.x` . Please refer to the upgrade section from if upgrading from a version prior to 3.11.0. This release requires Erlang 25. has more details on Erlang version requirements for RabbitMQ. As of 3.11.0, RabbitMQ requires Erlang 25. Nodes will fail to start on older Erlang releases. Erlang 25 as our new baseline means much improved performance on ARM64 architectures, across all architectures, and the most recent TLS 1.3 implementation available to all RabbitMQ 3.11 users. Release notes can be found on GitHub at . Boot time import of definitions from a `conf.d`-style directory failed unless `definitions.skipifunchanged` was set to `true`, for example, like in this `rabbitmq.conf`: ``` ini definitions.skipifunchanged = false definitions.importbackend = localfilesystem definitions.local.path = /path/to/RabbitMQ/definitions/conf.d/ ``` GitHub issue: Improved resiliency of dead-lettering. GitHib issue: When the maximum allowed number of connections to the node was limited using the `connection_max` key and the limit was reached, newly connecting client previously would run into a TCP connection timeout. Now a more specific error will be returned to the client before connection closure. Contributed by @SimonUnge (AWS). GitHub issue: `rabbitmqctl add_vhosts` failed with an exception when `--default-queue-type` option was provided. GitHub issue: HTTP API endpoint `PUT /api/vhosts/{name}` incorrectly used `defaultqueuetype` for default queue type key name. It is now `defaultqueuetype`, the same key as returned by `GET /api/vhosts/{name}`. GitHub issue: HTTP API will now respond with a `405 Method Not Allowed` instead of a 500 when an unsupported method is used by the client. Contributed by @gomoripeti (CloudAMQP). GitHub issue: Fixed AMQP 1.0 authentication issue that affected OAuth 2 token users. GitHub issue: None in this release. To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-3.11.12.tar.xz` instead of the source tarball produced by GitHub.
Project: YDB (App Definition and Development / Database)
File: execution.md

The `SELECT` query result is calculated as follows: Determine the set of input tables by evaluating the clauses. Apply / to input tables. Execute or ; aliases set in `FLATTEN BY` become visible after this point. {% if feature_join %}* Execute every .{% endif %} Add to (or replace in) the data the columns listed in . Execute &mdash; Discard all the data mismatching the predicate. Execute , evaluate aggregate functions. Apply the filter . {% if featurewindowfunctions %} * Evaluate ;{% endif %} Evaluate expressions in `SELECT`. Assign names set by aliases to expressions in `SELECT`. Apply top-level to the resulting columns. Execute similarly every subquery inside , combine them (see ). Perform sorting with . Apply to the result.
Project: YugabyteDB (App Definition and Development / Database)
File: yba_provider_aws_delete.md

Delete an AWS YugabyteDB Anywhere provider Delete an AWS provider in YugabyteDB Anywhere ``` yba provider aws delete [flags] ``` ``` -f, --force [Optional] Bypass the prompt for non-interactive usage. -h, --help help for delete ``` ``` -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, update. -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 a YugabyteDB Anywhere AWS provider
Project: GraphScope (App Definition and Development / Database)
File: cypher_procedure.md

GraphScope Interactive offers a seamless way for users to transform Cypher queries into stored procedures, eliminating the need for intricate C++ programming. Drawing inspiration from Neo4j, we empower users to craft a query skeleton, incorporating runtime parameters denoted by `$param_name`. For optimal organization and clarity, we mandate that each Cypher stored procedure be encapsulated within a distinct file. This file should exclusively house one Cypher query, although line breaks can be employed for readability. For instance, if you aim to retrieve the count of nodes labeled "person" with a personId that matches a runtime-specified value, you can draft the query as shown below and save it as `query1.cypher`: ```cypher MATCH (p :PERSON {id: $personId }) RETURN p.firstName, p.lastName ``` To compile the aforementioned Cypher query and activate it as a stored procedure, utilize the `gs_interactive procedure` command: ```bash bin/gs_interactive procedure compile -g modern -n "query1" \ -d "a sample test query" \ -i ./examples/modern/query1.cypher ``` It's crucial to note that each stored procedure is intrinsically linked to a specific graph, as indicated by the `-g` option. This graph must pre-exist. In the absence of a specified graph, the system will prompt you to utilize the default graph. Once the stored procedure is activated, a service restart is imperative: ```bash ./bin/gs_interactive service restart ``` Subsequently, from the cypher-shell, you can invoke the stored procedure as follows: ```cypher CALL query1(1L) YIELD *; ``` In conclusion, GraphScope Interactive's ability to effortlessly convert Cypher queries into stored procedures streamlines and simplifies the user experience, making graph analytics more accessible and efficient.
Project: StarRocks (App Definition and Development / Database)
File: week_iso.md

displayed_sidebar: "English" Returns the ISO standard week of the year for the specified date as an integer within the range of `1` to `53`. ```Haskell INT WEEK_ISO(DATETIME date) ``` `date`: the date you want to convert. It must be of the DATE or DATETIME type. The following example returns the ISO standard week of the year for the date `2008-02-20 00:00:00`: ```SQL MySQL > select week_iso ('2008-02-20 00:00:00'); +--+ | week_iso('2008-02-20 00:00:00') | +--+ | 8 | +--+ ``` WEEK_ISO
Project: Operator Framework (App Definition and Development / Application Definition & Image Build)
File: sdk-code-annotations.md

Implementation Owner: @estroz Status: implemented This proposal has been implemented. See the PR . Code can be annotated with special comment lines that tell a code parser information about document code. Two prominent examples are and Kubernetes . The Operator SDK generates code that, after modification by users, is parsed, transformed, and then represented in an alternate form; SDK-specific code annotations can be used to inform SDK-specific tasks, like generating from API's. Define an annotation system that encapsulates current parsing needs and is extensible for future needs. Annotations should follow this EBNF: ``` comment token = ? the character(s) that define a line comment in some language, ex. // in go ? ; global prefix token = "+operator-sdk" ; global prefix = comment token , global prefix token ; use case token = ":use-case" ; use case prefix = global prefix , use case token , { use case token } ; ( a set of annotations for some use case ) parent path token = "parent" ; child path token = ".child" ; full path = parent path token , { child path token } ; prefixed path = use case prefix , ":" , full path ; value = ['"'] , "text" , ['"'] ; annotation = prefixed path , "=" , value ; ``` The "use case" token is meant to encapsulate the usage for an annotation, ex. `:gen-csv` is used for generating CSV's. A path token should have use-case-specific structure. The following API code would be successfully parsed by in the manner described below: ```Go type EtcdCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status"` } type ClusterSpec struct { // Pod defines the policy to create pod for the etcd pod. // // Updating Pod does not take effect on any existing etcd pods. Pod *PodPolicy `json:"pod,omitempty"` } // PodPolicy defines the policy to create pod for the etcd container. type PodPolicy struct { ... // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Resource Requirements" Resources v1.ResourceRequirements `json:"resources,omitempty"` ... } ``` By defining a set of paths with a `:gen-csv` use case token, an annotation parser "knows" that the `EtcdCluster` spec `ClusterSpec` has a `struct` field of type `PodPolicy` that should be included in the CSV manifest `spec.customresourcedefinitions` field as a `specDescriptor` entry with a `displayName` value of `Resource Requirements`. For an annotation set to be user-friendly, these elements must be kept as simple as possible for the given task. Their parser implementation must be accompanied by documentation that explains how to create annotations for all supported fields, how the parser will interpret those annotations, and any constraints or requirements on paths or values.
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.6.84.md

layout: release date: 2023-04-20 tag: v0.6.84 [UI] Fixes along missing design-configurator header, and code cleanup @Abhishek-kumar09 (#7585) Thank you to our contributors for making this release possible: @Abhishek-kumar09 and @leecalcote
Project: CloudARK KubePlus (App Definition and Development / Application Definition & Image Build)
File: compile-components.md

Compiling different components: Install Go version 1.14.5 ``` $ wget -c https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local $ export PATH=$PATH:/usr/local/go/bin $ ADD PATH=$PATH:/usr/local/go/bin to ~/.profile $ source ~/.profile $ go version ``` Code setup: ``` $ mkdir -p go/src/github.com/cloud-ark $ cd go/src/github.com/cloud-ark/ $ git clone --depth 1 https://github.com/cloud-ark/kubeplus.git $ cd kubeplus ``` Platform Operator ``` $ cd platform-operator $ GO111MODULE=off $ go build . $ cd .. ``` Helm Pod ``` $ cd platform-operator/helm-pod $ GO111MODULE=on $ go get -u k8s.io/client-go@v0.17.2 github.com/googleapis/gnostic@v0.3.1 ./... $ go build . $ cd ../../ ``` Mutating Webhook -- ``` $ cd mutating-webhook $ go build . $ cd .. ``` Mutating Webhook Helper ``` $ cd mutating-webhook-helper $ go build . $ cd .. ```
Project: Druid (App Definition and Development / Database)
File: tutorial-jdbc.md

id: tutorial-jdbc title: Use the JDBC driver to query Druid sidebar_label: JDBC connector tutorial <!-- ~ 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. --> Redirecting you to the JDBC driver API... <head> <script>window.location.replace("https://druid.apache.org/docs/latest/api-reference/sql-jdbc.html")</script> </head> <a href="https://druid.apache.org/docs/latest/api-reference/sql-jdbc.html">Click here if you are not redirected.</a>
Project: Druid (App Definition and Development / Database)
File: faq.md

title: Frequently Asked Questions <!-- 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. --> Edit this page in the repo. To see your changes, navigate to them from the .
Project: ClickHouse (App Definition and Development / Database)
File: v23.12.2.59-stable.md

sidebar_position: 1 sidebar_label: 2024 Backported in : The MergeTree setting `cleandeletedrows` is deprecated, it has no effect anymore. The `CLEANUP` keyword for `OPTIMIZE` is not allowed by default (unless `allowexperimentalreplacingmergewith_cleanup` is enabled). (). Flatten only true Nested type if flatten_nested=1, not all Array(Tuple) (). Fix working with read buffers in StreamingFormatExecutor (). Fix lost blobs after dropping a replica with broken detached parts (). Fix segfault when graphite table does not have agg function (). MergeTreePrefetchedReadPool disable for LIMIT only queries (). NO CL ENTRY: 'Revert "Refreshable materialized views (takeover)"'. (). Fix an error in the release script - it didn't allow to make 23.12. (). Update version_date.tsv and changelogs after v23.12.1.1368-stable (). Fix teststorages3queue/test.py::testdrop_table (). Handle another case for preprocessing in Keeper (). Fix testuservalid_until ().
Project: Stolon (App Definition and Development / Database)
File: stolonctl_clusterdata_write.md

Write cluster data Write cluster data ``` stolonctl clusterdata write [flags] ``` ``` -f, --file string file containing the new cluster data -h, --help help for write -y, --yes don't ask for confirmation ``` ``` --cluster-name string cluster name --kube-context string name of the kubeconfig context to use --kube-namespace string name of the kubernetes namespace to use --kube-resource-kind string the k8s resource kind to be used to store stolon clusterdata and do sentinel leader election (only "configmap" is currently supported) --kubeconfig string path to kubeconfig file. Overrides $KUBECONFIG --log-level string debug, info (default), warn or error (default "info") --metrics-listen-address string metrics listen address i.e "0.0.0.0:8080" (disabled by default) --store-backend string store backend type (etcdv2/etcd, etcdv3, consul or kubernetes) --store-ca-file string verify certificates of HTTPS-enabled store servers using this CA bundle --store-cert-file string certificate file for client identification to the store --store-endpoints string a comma-delimited list of store endpoints (use https scheme for tls communication) (defaults: http://127.0.0.1:2379 for etcd, http://127.0.0.1:8500 for consul) --store-key string private key file for client identification to the store --store-prefix string the store base prefix (default "stolon/cluster") --store-skip-tls-verify skip store certificate verification (insecure!!!) --store-timeout duration store request timeout (default 5s) ``` - Manage current cluster data
Project: ClickHouse (App Definition and Development / Database)
File: v22.3.16.1190-lts.md

sidebar_position: 1 sidebar_label: 2023 Backported in : Fix issue with passing MySQL timeouts for MySQL database engine and MySQL table function. Closes ?notificationreferrerid=NT_kwDOAzsV57MzMDMxNjAzNTY5OjU0MjAzODc5. (). Backported in : Updated normaliser to clone the alias ast. resolves Implementation: Updated QueryNormalizer to clone alias ast, when its replaced. Previously just assigning the same leads to exception in LogicalExpressinsOptimizer as it would be the same parent being inserted again. * This bug is not seen with new analyser (allowexperimentalanalyzer), so no changes for it. I added a test for the same. (). Backported in : Bring sha512 sums back to the building step. (). Backported in : Kill stress tests after 2.5h in case of hanging process. (). Backported in : Retry the integration tests on compressing errors. (). Backported in : - Fix several buffer over-reads. (). Backported in : An issue with the following exception has been reported while trying to read a Parquet file from S3 into ClickHouse:. (). Backported in : Fix sumMap() for Nullable(Decimal()). (). Backported in : Fixed `ALTER ... RESET SETTING` with `ON CLUSTER`. It could be applied to one replica only. Fixes . (). Backported in : Fix undefined behavior in the `quantiles` function, which might lead to uninitialized memory. Found by fuzzer. This closes . (). Backported in : Prevent `ReadonlyReplica` metric from having negative values. (). NO CL ENTRY: 'Fix multipart upload for large S3 object, backport to 22.3'. ().
Project: StarRocks (App Definition and Development / Database)
File: bitmap_union_int.md

displayed_sidebar: "English" Count the number of different values in columns of type TINYINT, SMALLINT and INT, return the sum of COUNT (DISTINCT expr) same. ```Haskell BIGINT bitmapunionint(expr) ``` `expr`: column expression. The supported column type is TINYINT, SMALLINT and INT. Returns a value of the BIGINT type. ```Plaintext mysql> select bitmapunionint(k1) from tbl1; ++ | bitmapunionint(`k1`) | ++ | 2 | ++ ```
Project: ClickHouse (App Definition and Development / Database)
File: v21.2.5.5-stable.md

sidebar_position: 1 sidebar_label: 2022 Backported in : Fix crash which could happen if unknown packet was received from remove query (was introduced in ). (). Backported in : Fix 'Empty task was returned from async task queue' on query cancellation. (). Backported in : Fixed behaviour, when `ALTER MODIFY COLUMN` created mutation, that will knowingly fail. (). Backported in : - Block parallel insertions into storage join. (). Backported in : Out of bound memory access was possible when formatting specifically crafted out of range value of type `DateTime64`. This closes . This closes . (). Backported in : Fix `inputformatnullasdefault` take effective when types are nullable. This fixes . (). Backported in : Fixes . Fixed bug that could cause duplicates with insert query (if one of the callbacks came a little too late). (). Backported in : Fix bug with `joinusenulls` and joining `TOTALS` from subqueries. This closes and . ().
Project: Podman (App Definition and Development / Application Definition & Image Build)
File: dns.md

Set custom DNS servers. This option can be used to override the DNS configuration passed to the container. Typically this is necessary when the host DNS configuration is invalid for the container (e.g., 127.0.0.1). When this is the case the --dns flag is necessary for every run. The special value none can be specified to disable creation of /etc/resolv.conf in the container by Podman. The /etc/resolv.conf file in the image is used without changes.