diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -31,7 +31,7 @@ export default Avatar;
export const SEED_DATA = {
name: "Avatar",
tag: "Avatar",
- category: COMPONENT_TYPES.media,
+ category: COMPONENT_TYPES.deprecated,
props: {
size: {
group: GROUPS.basic,
| chore(avatar): deprecate temporarily | null | draftbit/react-native-jigsaw | MIT License | TypeScript |
@@ -276,7 +276,6 @@ class ReleaseHelper:
self.github_project,
self.tag,
[artifact],
- "github.com",
"gitlab_upload_release_binaries",
self.password,
)
@@ -294,7 +293,6 @@ class ReleaseHelper:
self.github_project,
self.tag,
[artifact],
- "github.com",
"gitlab_upload_release_binaries",
self.password,
)
| chore: signing-fix | null | cryptoadvance/specter-desktop | MIT License | Python |
@@ -434,11 +434,6 @@ pub enum ReferentialAction {
}
impl ReferentialAction {
- /// True if action is SetNull
- pub fn is_set_null(self) -> bool {
- matches!(self, ReferentialAction::SetNull)
- }
-
/// True if the action modifies the related items.
pub fn triggers_modification(self) -> bool {
!matches!(self, Self::NoAct... | chore: removed leftover | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -4,17 +4,13 @@ filter_nil_kv_pairs = fn pairs when is_list(pairs) ->
Enum.filter(pairs, fn {_k, v} -> v !== nil end)
end
-if config_env() == :prod and System.get_env("LOGFLARE_AGENT_API_KEY") != nil and
- System.get_env("LOGFLARE_AGENT_URL") != nil do
+if config_env() == :prod do
config :logflare_agent,
[
api_key: S... | chore: only enable httpbackend when logflare logger backend url is given | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -173,8 +173,8 @@ class CSSPositionedLayout {
double offsetLeft = child.baseScrollContainerOffsetX - scrollContainer.scrollLeft;
// Retrieve scroll container width from constraints cause scroll container always has tight
// constaints and scroll container may not have size in layout stage so can not retrieve from siz... | chore: variable opt | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -149,8 +149,6 @@ post_to_gitlab () {
-H "Content-Type: application/json" \
-H "PRIVATE-TOKEN: $GITLAB_TOKEN" \
"$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/repository/commits/$CI_COMMIT_SHA/comments"
- # Previously we posted to the merge request, using the comment_key=body above:
- # "$CI_SERVER_URL/api/v4/project... | chore: remove stale code, change GH action outputs to only be output for that | null | infracost/infracost | Apache License 2.0 | Shell |
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import {Harness} from '../testing/harness';
+
+import {Switch} from './lib/switch';
+
+/**
+ * Test harness for switch elements.
+ */
+export class SwitchHarness extends Harness<Switch> {
+ protected override async getIntera... | chore(switch): add test harness | null | material-components/material-components-web-components | Apache License 2.0 | TypeScript |
@@ -46,7 +46,7 @@ public void me(CommandSource commandSource) {
commandSource.sendMessage(List.of(
" ",
CloudNet.instance().version() + " created by Dytanic, maintained by the CloudNet Community",
- "Discord: https://discord.cloudnetservice.eu/",
+ "Discord: <https://discord.cloudnetservice.eu/>",
" ",
"ClusterId: " + ... | chore(node): Wrap discord invite with <> | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -115,6 +115,10 @@ module.exports = {
return `import { ${name} } from '@tds/core-${kebabizeName}'`
}
+ if (name === 'SVGIcon') {
+ return `import { Accessible, Speed, Success } from '@tds/core-decorative-icon'`
+ }
+
return `import ${name} from '@tds/core-${kebabizeName}'`
},
@@ -213,6 +217,7 @@ module.exports = {
co... | chore(config): add svg icon import rule | null | telus/tds-core | MIT License | JavaScript |
@@ -84,31 +84,30 @@ class WizardModal extends Component {
};
handlePrevious = () => {
- const stepBack = this.state.step - 1;
- this.changedBack(stepBack);
- this.setState(() => ({ step: stepBack }));
+ const { onBack } = this.props;
+ this.setState(
+ state => ({ step: state.step - 1 }),
+ () => {
+ if (onBack) {
+ on... | chore(wizardmodal): implement pr feedback | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -40,7 +40,8 @@ fi
#git push --follow-tags "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG.git" $CURRENT_BRANCH > /dev/null;
git remote -v
-git push --follow-tags "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG.git" main > /dev/null 2>&1;
+git fetch
+git push --follow-tags origin HEAD:refs/heads/main -v --no-verify
n... | chore(ci): try new fix for publish.sh | null | sap/fundamental-ngx | Apache License 2.0 | Shell |
@@ -35,11 +35,6 @@ namespace electron {
namespace {
-// Dummy class type that used for crashing the program.
-struct DummyClass {
- bool crash;
-};
-
// Called when there is a fatal error in V8, we just crash the process here so
// we can get the stack trace.
void FatalErrorCallback(const char* location, const char* me... | chore: simplify intentional-crash code | null | electron/electron | MIT License | C++ |
@@ -70,7 +70,7 @@ defmodule Ash.DataLayer.Ets do
case GenServer.start(__MODULE__, {resource, table},
name: Module.concat(table, TableManager)
) do
- {:error, {:already_started, pid}} ->
+ {:error, {:already_started, _pid}} ->
ETS.Set.wrap_existing(table)
{:error, error} ->
@@ -130,6 +130,7 @@ defmodule Ash.DataLayer.Et... | chore: fix warnings/compiler errors | null | ash-project/ash | MIT License | Elixir |
@@ -184,7 +184,7 @@ class Audit extends Model
* @param int $options
* @param int $depth
*
- * @return array
+ * @return array|string
*/
public function getMetadata($json = false, $options = 0, $depth = 512)
{
@@ -208,7 +208,7 @@ class Audit extends Model
* @param int $options
* @param int $depth
*
- * @return array
+ *... | chore(Audit): updated PHPdoc return value | null | owen-it/laravel-auditing | MIT License | PHP |
import MDCComponent from '@material/base/component';
import MDCIconToggleFoundation from './foundation';
-/* eslint-disable no-unused-vars */
-import {MDCRippleAdapter} from '@material/ripple/adapter';
-/* eslint-enable no-unused-vars */
import {MDCRipple, MDCRippleFoundation} from '@material/ripple';
export {MDCIconTo... | chore(icon-toggle): Remove unused import | null | material-components/material-components-web | MIT License | JavaScript |
@@ -162,20 +162,33 @@ final class Activation {
var trackingScriptPresent = !! googlesitekit.admin.trackingOptIn;
+ var optInCheckbox = document.getElementById( 'googlesitekit-opt-in' );
+ var startSetupLink = document.getElementById( 'start-setup-link' ).
+
+ if ( ! optInCheckbox ) {
+ console.error( "Expected element ... | chore: Refactor querySelector usage | null | google/site-kit-wp | Apache License 2.0 | PHP |
@@ -908,8 +908,6 @@ describe('Test blueprint api context', () => {
const context = getContext(rundown)
- expect(context.formatDateAsTimecode(0)).toEqual('00:00:00:00')
-
const d = new Date('2019-01-01 18:33:34:896')
expect(context.formatDateAsTimecode(d.getTime())).toEqual('18:33:34:22')
})
| chore: fixed failing test | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -51,6 +51,6 @@ func QuitWithUserError(err error) {
QuitToStdErr(err)
}
if s.Code() == codes.Unauthenticated {
- QuitToStdErr(errors.New("unauthorized, please login and then pass the -s flag to any subsequent command(s)"))
+ QuitToStdErr(errors.New("unauthorized, please login first, then pass the -s flag to every com... | chore(cmd): enhance unauthenticated message | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -12,6 +12,8 @@ public class ActivityDescriptor
[DataMember(Order = 4)] public string Category { get; set; } = default!;
[DataMember(Order = 5)] public ActivityTraits Traits { get; set; }
[DataMember(Order = 6)] public string[] Outcomes { get; set; } = Array.Empty<string>();
- [DataMember(Order = 7)] public ActivityP... | chore(client): update activity descriptor to include input and output properties | null | elsa-workflows/elsa-core | MIT License | C# |
@@ -12,6 +12,11 @@ if [[ ! -z $NVM_DIR ]]; then # skip if nvm is not available
nvm install
fi
+echo "Installing dependencies from Homebrew..."
+brew bundle --file=- <<EOF
+brew 'redis', restart_service: true
+EOF
+
echo "Installing dependencies..."
yarn install || (npm install --global yarn@latest && yarn install)
| chore: add redis to installed services | null | artsy/force | MIT License | Shell |
@@ -88,6 +88,7 @@ function onUpdatedPackageInfoForRundown(rundownId: RundownId, packageIds: Array<
/** All segments that need updating */
const segmentsToUpdate = new Set<SegmentId>()
+ let regenerateRundownBaseline = false
for (const packageId of packageIds) {
const pkg = cache.ExpectedPackages.findOne(packageId)
@@ -... | chore: add note about regenerating baseline | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -565,8 +565,10 @@ public class TaskQueryExpressionTest extends ResourceProcessEngineTestCase {
identityService.deleteUser(user.getId());
}
for (Task task : taskService.createTaskQuery().list()) {
+ if (task.getProcessInstanceId() == null) {
taskService.deleteTask(task.getId(), true);
}
+ }
identityService.clearAuthe... | chore(test): delete only standalone tasks | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -1472,7 +1472,9 @@ bool SuperMediaPlayer::DoCheckBufferPass()
//check buffering status
if ((mBufferingFlag || mFirstBufferFlag) && !mSet->bDisableBufferManager) {
- if ((cur_buffer_duration > HighBufferDur && (!HAVE_VIDEO || videoDecoderFull || APP_BACKGROUND == mAppStatus)) || mEof) {
+ if (((cur_buffer_duration > ... | chore(superMediaPlayer): end buffering if highbuffer larger than max buffer | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -50,7 +50,7 @@ defmodule Mix.Tasks.Ash.ReplaceDocLinks do
~s(<a href="https://ash-hq.org/docs/dsl/#{library}/latest/#{sanitize_name(item)}">#{name || item}</a>)
:link, %{type: "module", item: item, name_override: name, library: library}, _ ->
- ~s(<a href="/docs/module/#{library}/latest/#{sanitize_name(item)}">#{nam... | chore: fix docs link | null | ash-project/ash | MIT License | Elixir |
@@ -195,6 +195,8 @@ class LDAPSettings(Document):
frappe.msgprint(_("Password changed successfully."))
else:
frappe.throw(_("Failed to change password."))
+ else:
+ frappe.throw(_("No Entry for the User {0} found within LDAP!").format(user))
else:
frappe.throw(_("LDAP User does not exist!"))
| chore: correct indentation for ldap exceptions | null | frappe/frappe | MIT License | Python |
@@ -4,8 +4,10 @@ import (
"bytes"
"context"
"encoding/base64"
+ "errors"
"log"
"strings"
+ "time"
v12 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -113,6 +115,10 @@ func (cg *ClusterGenerator) getClusterCredentials(namespace string, releaseSuffi
return nil, nil, nil, err
}
+ if len(config.Clusters) == 0 {
+ return nil, ni... | chore: cluster generator retry | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -217,7 +217,15 @@ function integration::bazel_with_emulators() {
--output_path="${PWD}" \
--update_ci=false \
--config_file="${PWD}/generator/integration_tests/golden_config.textproto"
- git diff --exit-code generator/integration_tests/golden/
+ git diff --exit-code \
+ generator/integration_tests/golden/ \
+ ':(exc... | chore(ci): exclude ungenerated files from post-generation diff | null | googleapis/google-cloud-cpp | Apache License 2.0 | Shell |
@@ -1703,19 +1703,6 @@ pub enum InfluxDbType {
Timestamp,
}
-/// Address of the chunk within the catalog
-#[derive(Debug, Clone, Eq, PartialEq)]
-pub struct PartitionAddr {
- /// Database name
- pub db_name: Arc<str>,
-
- /// What table does the chunk belong to?
- pub table_name: Arc<str>,
-
- /// What partition does t... | chore: delete dead code `PartitionAddr` | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -441,24 +441,24 @@ fn test_cli_args_output() {
}
// TCP-only route test cases
- // [
- // "tcp://127.0.0.1:12345,tcp://10.1.20.34:11111",
- // "2",
- // "tcp://99.234.21.34:8808, tcp://0.0.0.0:2341, tcp://1.1.1.1:3033",
- // "3",
- // ]
- // .windows(2)
- // .for_each(|route_hop| {
- // if let Ok(output_kind) = Outp... | chore(rust): uncomment cli parse tests | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -11,7 +11,7 @@ import BarChart from '../charts/BarChart';
import LineChart from '../charts/LineChart';
function AnalyticsCard(props) {
- const [startDate, setStartDate] = useState(moment().subtract(90, 'days'));
+ const [startDate, setStartDate] = useState(moment().subtract(7, 'days'));
const [endDate, setEndDate] =... | chore: commented out nlu stats graphs | null | botfront/botfront | Apache License 2.0 | JavaScript |
@@ -35,7 +35,10 @@ public struct Installments: Encodable, Equatable {
case plan
}
- /// Creates a new `Installments` instance with default value options.
+ /// Creates a new `Installments` instance.
+ /// - Parameters:
+ /// - totalMonths: Total month value of the installments.
+ /// - plan: Selected plan.
public init(... | chore: fix init commenting of installments | null | adyen/adyen-ios | MIT License | Swift |
@@ -86,6 +86,16 @@ const bundleMap = {
zh_TW: zhTW,
};
+const allEntriesInlined = Object.entries(bundleMap).every(([_key, value]) => typeof (value) === "object");
+
+/* eslint-disable */
+if (allEntriesInlined) {
+ console.warn(`Inefficient bundling detected: consider bundling i18n imports as URLs instead of inlining t... | chore: add warning of inefficient bundling of i18n files | null | sap/ui5-webcomponents | Apache License 2.0 | JavaScript |
@@ -134,17 +134,17 @@ func (k *K8sClusterMesh) generateService() (*corev1.Service, error) {
var initContainerArgs = []string{`rm -rf /var/run/etcd/*;
export ETCDCTL_API=3;
/usr/local/bin/etcd --data-dir=/var/run/etcd --name=clustermesh-apiserver --listen-client-urls=http://127.0.0.1:2379 --advertise-client-urls=http://... | chore: Tidy up subshells in quoted script | null | cilium/cilium-cli | Apache License 2.0 | Go |
@@ -35,9 +35,10 @@ echo "step 1/5: fetching AWS regions (skipping, using fixed list of regions for
# Actually, this should give us the regions where the Lambda service is provided:
# REGIONS=$(aws ssm get-parameters-by-path --path /aws/service/global-infrastructure/services/lambda/regions --output text --query "Paramet... | chore(lambda): add more regions where the layer is published | null | instana/nodejs-sensor | MIT License | Shell |
@@ -328,7 +328,7 @@ func (s *statusSync) updateStatus(ctx context.Context, newIngressPoint []apiv1.L
batch := p.Batch()
for _, ing := range ings {
- batch.Queue(s.runUpdate(ctx, ing, newIngressPoint, s.CoreClient))
+ batch.Queue(s.runUpdateIngressV1beta1(ctx, ing, newIngressPoint, s.CoreClient))
}
for _, ing := range t... | chore(status): rename runUpdate -> runUpdateIngressV1beta1 | null | kong/kubernetes-ingress-controller | Apache License 2.0 | Go |
@@ -553,7 +553,7 @@ Aggregate.prototype.option = function(value) {
*
* ####Example:
*
- * var cursor = Model.aggregate(..).cursor({ batchSize: 1000, useMongooseAggCursor: true }).exec();
+ * var cursor = Model.aggregate(..).cursor({ batchSize: 1000 }).exec();
* cursor.each(function(error, doc) {
* // use doc
* });
| chore: remove unnecessary useMongooseAggCursor in 5.x docs re: | null | automattic/mongoose | MIT License | JavaScript |
@@ -125,7 +125,7 @@ class Database {
await this.nuxt.callHook('content:file:beforeUpdate', item)
- const document = await this.items.findOne({ path: item.path })
+ const document = this.items.findOne({ path: item.path })
this.items.update({ ...document, ...item })
}
@@ -136,7 +136,7 @@ class Database {
*/
async removeF... | chore(lib): remove useless await | null | nuxt/content | MIT License | JavaScript |
@@ -110,10 +110,7 @@ export class ListsFacade {
})
);
- selectedList$ = this.store.select(listsQuery.getSelectedList).pipe(
- filter(list => list !== undefined),
- shareReplay(1)
- );
+ selectedList$ = this.store.select(listsQuery.getSelectedList);
selectedListPermissionLevel$ = this.authFacade.loggedIn$.pipe(
switchMa... | chore: reset list selection when leaving it | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -31,9 +31,7 @@ internal final class DropInNavigationController: UINavigationController, Keyboar
}
deinit {
- if let keyboardObserver = keyboardObserver {
- removeObserver(keyboardObserver)
- }
+ keyboardObserver.map(removeObserver(_:))
}
@available(*, unavailable)
| chore: simplified the deinit function of DropInNavigationController to use optional.map instead of if statement | null | adyen/adyen-ios | MIT License | Swift |
@@ -54,41 +54,45 @@ type NewRelic struct {
// New returns a collection of New Relic APIs.
func New(opts ...ConfigOption) (*NewRelic, error) {
- config := config.New()
+ cfg := config.New()
// Loop through config options
for _, fn := range opts {
if nil != fn {
- if err := fn(&config); err != nil {
+ if err := fn(&cfg);... | chore(newrelic): avoid shadow variable name config | null | newrelic/newrelic-client-go | Apache License 2.0 | Go |
@@ -20,8 +20,8 @@ readonly PKG_ROOT="$(git rev-parse --show-toplevel)"
function get_image_from_helm_chart() {
local -r image_name="${1}"
- image_repository="$(cat ${PKG_ROOT}/charts/latest/azuredisk-csi-driver/values.yaml | yq -r .image.${image_name}.repository)"
- image_tag="$(cat ${PKG_ROOT}/charts/latest/azuredisk-c... | chore: update verify-helm-chart.sh | null | kubernetes-sigs/azuredisk-csi-driver | Apache License 2.0 | Shell |
+use std::ops::Deref;
use serde::de::DeserializeOwned;
use serde::Serialize;
use super::Error;
@@ -6,6 +7,14 @@ use std::marker::PhantomData;
#[derive(Clone)]
pub struct CommonIndex(pub crate::CfTree);
+impl Deref for CommonIndex {
+ type Target = crate::CfTree;
+
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+... | chore: implement deref on CommonIndex | null | meilisearch/meilisearch | MIT License | Rust |
@@ -7,21 +7,35 @@ import (
)
var indexTmpl = template.Must(template.New("index.html").Parse(`<html>
+ <head>
+ <style>
+form { display: table; }
+p { display: table-row; }
+label { display: table-cell; }
+input { display: table-cell; }
+ </style>
+ </head>
<body>
<form action="/login" method="post">
<p>
- Authenticate ... | chore: make example-app form prettier | null | dexidp/dex | Apache License 2.0 | Go |
@@ -203,9 +203,9 @@ const ObjectPage: FC<ObjectPagePropTypes> = forwardRef((props: ObjectPagePropTyp
const classes = useStyles();
useEffect(() => {
+ setSelectedSubSectionId(props.selectedSubSectionId);
if (props.selectedSubSectionId) {
isProgrammaticallyScrolled.current = true;
- setSelectedSubSectionId(props.selected... | chore(ObjectPage): Always update selected sub section ID | null | sap/ui5-webcomponents-react | Apache License 2.0 | TypeScript |
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-
-use deno_core::error::AnyError;
-use deno_core::resolve_url;
-use deno_core::url::Position;
-use deno_core::url::Url;
-use deno_core::ModuleSpecifier;
-
-/// Normalizes a file name returned from the TypeScript compiler into a URI that
-/// s... | chore(lsp): remove dead code | null | denoland/deno | MIT License | Rust |
@@ -147,16 +147,17 @@ pub fn json_merge(a: &mut Value, b: &Value) {
}
}
+/// A structure for deserializing a `tsconfig.json` file for the purposes of
+/// being used internally within Deno.
+///
+/// The only key in the JSON object that Deno cares about is the
+/// `compilerOptions` property. A valid `tsconfig.json` fi... | chore: remove unused keys from TsConfigJson | null | denoland/deno | MIT License | Rust |
@@ -17,9 +17,13 @@ const git = require(`./git`);
exports.last = async function last() {
const packages = Array.from(await list());
const version = _(await Promise.all(packages
+ // TODO stop omitting eslint config once it's fully removed from the repo
+ .filter((p) => p !== `@ciscospark/eslint-config`)
.map(getDistTag)... | chore(tooling): hack in fixes due to inadvertent 2.x publication | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -233,6 +233,7 @@ export default function Virtual({ swiper, extendParams, on }) {
update();
});
on('init update resize', () => {
+ if (!swiper.params.virtual.enabled) return;
if (swiper.params.cssMode) {
swiper.wrapperEl.style.setProperty('--swiper-virtual-size', `${swiper.virtualSize}px`);
}
| chore: fix virtual css mode size element | null | nolimits4web/swiper | MIT License | JavaScript |
package org.talend.component;
+import org.apache.http.client.utils.URIBuilder;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.openqa.selenium.By;
@@ -8,6 +9,9 @@ import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.WebDriverW... | chore: improve e2e gotostory | null | talend/ui | Apache License 2.0 | Java |
@@ -134,7 +134,7 @@ describe('fields', () => {
await page.locator('.tabs-field__tab-button:has-text("Tab with Array")').click();
await page.click('#action-save', { delay: 100 });
- await wait(100);
+ await wait(250);
// Go back to row tab, make sure the new value is still present
await page.locator('.tabs-field__tab-bu... | chore: adds more delay to flaky test | null | payloadcms/payload | MIT License | TypeScript |
@@ -39,6 +39,8 @@ def plot_parallel_coordinate(
) -> "Axes":
"""Plot the high-dimensional parameter relationships in a study with Matplotlib.
+ Note that, if a parameter contains missing values, a trial with missing values is not plotted.
+
.. seealso::
Please refer to :func:`optuna.visualization.plot_parallel_coordina... | chore: Unified the visualization plot_parallel_coordinate doc | null | optuna/optuna | MIT License | Python |
@@ -15,6 +15,7 @@ type UnencryptedMessage struct {
// Decode implements bin.Decoder.
func (u *UnencryptedMessage) Decode(b *bin.Buffer) error {
{
+ // Reading auth_key_id that should be always equal to zero.
id, err := b.Long()
if err != nil {
return err
| chore: add comment to UnencryptedMessage Decode | null | gotd/td | MIT License | Go |
@@ -22,8 +22,8 @@ export default ({ states, stateScripts, governors }) => {
return (
<Form
method="POST"
- name="crdt-advocacy"
- action="/todo/set-this-value"
+ name="crdt-get-better-data"
+ action="/race/get-better-data/success"
netlify-honeypot="covid-bot-field"
data-netlify="true"
>
| chore(advocacy-form): update name and action | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -146,9 +146,9 @@ public class TimeoutTest {
// with non-retryable settings.
assertThat(callOptionsUsed.getDeadline()).isNotNull();
assertThat(callOptionsUsed.getDeadline())
- .isGreaterThan(Deadline.after(newTimeout.toSecondsPart() - 1, TimeUnit.SECONDS));
+ .isGreaterThan(Deadline.after(toSecondsPart(newTimeout) - ... | chore: wrap Java 9 APIs with Java 7-compatible equivalents | null | googleapis/gax-java | BSD 3-Clause New or Revised License | Java |
@@ -80,7 +80,7 @@ def github(string, entities):
}
)
- utils.output('end', answerkey, utils.translate(answerkey, {
+ return utils.output('end', answerkey, utils.translate(answerkey, {
'limit': limit,
'tech': tech,
'result': result
| chore(package/trend): French translations for the GitHub module answers | null | leon-ai/leon | MIT License | Python |
@@ -36,22 +36,23 @@ defmodule Ash.Flow.Chart.Mermaid do
init = "flowchart TB"
init
- |> add_arguments(arguments)
+ |> add_arguments(arguments, flow)
|> add_steps(steps, steps, opts)
|> add_links(steps, steps, opts)
|> IO.iodata_to_binary()
end
- defp add_arguments(message, []) do
- message
- end
-
- defp add_arguments(... | chore: add flow descriptions | null | ash-project/ash | MIT License | Elixir |
//! this repository for more information.
#![crate_type = "lib"]
-#![doc(html_root_url = "https://docs.rs/clap/2.29.0")]
+#![doc(html_root_url = "https://docs.rs/clap/2.29.1")]
#![deny(missing_docs, missing_debug_implementations, missing_copy_implementations, trivial_casts,
unused_import_braces, unused_allocation)]
// ... | chore: udpates html doc root | null | clap-rs/clap | Apache License 2.0 | Rust |
@@ -208,18 +208,50 @@ public class O3HysteresisTest extends AbstractO3Test {
}
@Test
- public void testBigUncommitedToMove() throws Exception {
- executeWithPool(0, this::testBigUncommitedToMove0);
- }
-
- private void testBigUncommitedToMove0(CairoEngine engine, SqlCompiler compiler, SqlExecutionContext sqlExecutionCo... | chore(ooo): increase o3 move uncommitted test coverage | null | questdb/questdb | Apache License 2.0 | Java |
@@ -20,17 +20,15 @@ limitations under the License.
void falco::outputs::output_program::open_pfile()
{
-
if(m_pfile == nullptr)
{
m_pfile = popen(m_oc.options["program"].c_str(), "w");
- // todo(leogr): handle errno
- }
- // if(!m_buffered)
- // {
- // m_pipe.rdbuf()->pubsetbuf(0, 0);
- // }
+ if(!m_buffered)
+ {
+ set... | chore(userspace/falco): finalize program output impl | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -67,8 +67,8 @@ where
Ok(serde_bare::to_vec(self)?)
}
- fn decode(e: &Encoded) -> Result<Self> {
- Ok(serde_bare::from_slice(e.as_slice())?)
+ fn decode(encoded: &Encoded) -> Result<Self> {
+ Ok(serde_bare::from_slice(encoded.as_slice())?)
}
}
| chore(rust): return error on parser failures instead of panicking | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -29,7 +29,6 @@ class Clear extends AbstractCommand
$this
->setName('clear')
->setDescription('Removes generated files')
- ->setAliases(['clean'])
->setDefinition(
new InputDefinition([
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
| chore: remove `clean` alias | null | cecilapp/cecil | MIT License | PHP |
@@ -6,6 +6,7 @@ import '@carbon/charts/style.css';
import isEmpty from 'lodash/isEmpty';
import 'c3/c3.css';
import styled from 'styled-components';
+import isNil from 'lodash/isNil';
import { TimeSeriesCardPropTypes, CardPropTypes } from '../../constants/PropTypes';
import { CARD_SIZES } from '../../constants/LayoutCo... | chore(chart): line color, y-axis label format, new stories for test | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -15,10 +15,6 @@ public protocol PaymentMethodAware: AnyObject {
/// A component that handles the initial phase of getting payment details to initiate a payment.
public protocol PaymentComponent: Component, PartialPaymentOrderAware, PaymentMethodAware {
- /// The context object for this component.
- @_spi(AdyenIntern... | chore: remove redundant context | null | adyen/adyen-ios | MIT License | Swift |
@@ -79,8 +79,8 @@ const LongTermCarePage = ({ data }) => {
id="ltc-1"
height={520}
mobileHeight={450}
- viewUrl="https://public.tableau.com/views/WebsiteCharts-CTPLong-TermCare/FigMap?:language=en&:display_count=y&publish=yes&:origin=viz_share_link"
- viewUrlMobile="https://public.tableau.com/views/WebsiteCharts-CTPLon... | chore: Update charts | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -421,7 +421,7 @@ mod drop {
kv.expect_upsert_kv()
.with(predicate::eq(UpsertKVReq::new(
&test_key,
- MatchSeq::Any,
+ MatchSeq::GE(1),
Operation::Delete,
None,
)))
@@ -447,7 +447,7 @@ mod drop {
kv.expect_upsert_kv()
.with(predicate::eq(UpsertKVReq::new(
&test_key,
- MatchSeq::Any,
+ MatchSeq::GE(1),
Operation::Dele... | chore(meta): fix user-mgr test: formalize SeqMatch usage: should be ::Exact(n) instead of ::Any | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -256,7 +256,7 @@ public class PropServerConfiguration implements ServerConfiguration {
private String httpVersion;
public PropServerConfiguration(String root, Properties properties) throws ServerConfigurationException, JsonException {
- this.sharedWorkerCount = getInt(properties, "shared.worker.count", 2);
+ this.sh... | chore: set default shared worker pool size to cpu count - 1 | null | questdb/questdb | Apache License 2.0 | Java |
#!/bin/bash
set -euo pipefail
-bail="--no-bail"
+bail="--bail"
while [[ "${1:-}" != "" ]]; do
case $1 in
-h|--help)
- echo "Usage: build.sh [--bail|-b] [--force|-f]"
+ echo "Usage: build.sh [--no-bail] [--force|-f]"
exit 1
;;
- -b|--bail)
- bail="--bail"
+ --no-bail)
+ bail="--no-bail"
;;
-f|--force)
export CDK_BUILD="... | chore: Make build.sh bail by default | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -9,8 +9,8 @@ const httpEventNormalizerMiddleware = () => {
}
// event.headers ??= {} // Will always have at least one header
- event.queryStringParameters ??= {}
event.pathParameters ??= {}
+ event.queryStringParameters ??= {}
if (version === '1.0') {
event.multiValueQueryStringParameters ??= {}
}
| chore: order clean up | null | middyjs/middy | MIT License | JavaScript |
@@ -8,6 +8,7 @@ defmodule Logflare.SavedSearches do
alias Logflare.DateTimeUtils
require Logger
+ @spec get(number()) :: SavedSearch.t()
def get(id) do
Repo.get(SavedSearch, id)
end
@@ -31,16 +32,19 @@ defmodule Logflare.SavedSearches do
|> Repo.insert()
end
+ @spec delete(SavedSearch.t()) :: {:ok, SavedSearch.t()}
def... | chore: add specs | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -1086,7 +1086,9 @@ QString decodeHtmlEntities(const QString &html)
const char *src = data.constData();
auto *dest = new char[strlen(src) + 1];
decode_html_entities_utf8(dest, src);
- return QString::fromUtf8(dest);
+ QString ret = QString::fromUtf8(dest);
+ delete[] dest;
+ return ret;
}
bool canCreateLinkType(const... | chore: fix leak in decodeHtmlEntities | null | bionus/imgbrd-grabber | Apache License 2.0 | C++ |
//! mode as well as for arbitrary other predicates that are expressed
//! by DataFusion's `Expr` type.
-use std::{collections::{BTreeSet, HashSet}, fmt};
+use std::{
+ collections::{BTreeSet, HashSet},
+ fmt,
+};
use data_types::timestamp::TimestampRange;
use datafusion::{
| chore: run fmt | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -76,10 +76,10 @@ class BACSDirectDebitPresenterTests: XCTestCase {
sut.amountConsentToggleItem?.value = true
sut.legalConsentToggleItem?.value = true
- sut.holderNameItem?.value = "Katrina del Mar"
- sut.bankAccountNumberItem?.value = "9058374292"
- sut.sortCodeItem?.value = "743082"
- sut.emailItem?.value = "katrin... | chore: Refactor tests to use a data mock instead | null | adyen/adyen-ios | MIT License | Swift |
-module.exports = {
- presets: [
- ['@babel/env', {
- modules: false,
- }],
- '@babel/react',
- '@babel/typescript',
- ],
- plugins: [
- '@babel/plugin-syntax-dynamic-import',
- '@babel/plugin-proposal-class-properties',
- ['@babel/plugin-transform-runtime', { corejs: 2 }],
-
- // plugin-babel-import config
- ['import'... | chore: delete babel config.js | null | zhongantech/zarm | MIT License | JavaScript |
@@ -22,6 +22,8 @@ defmodule Ash.Schema do
for attribute <- Ash.Resource.Info.attributes(__MODULE__) do
read_after_writes? = attribute.generated? and is_nil(attribute.default)
+ Ash.Schema.require_type(attribute.type)
+
field(attribute.name, attribute.type,
primary_key: attribute.primary_key?,
read_after_writes: read_af... | chore: fix compiling embedded types (why??) | null | ash-project/ash | MIT License | Elixir |
@@ -3,9 +3,10 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("application")
- id("com.github.johnrengelman.shadow") version "7.0.0"
- id("org.jetbrains.kotlin.jvm") version "1.5.0"
id("com.apollographql.apollo") version "2.5.6"
+ id("com.github.johnrengelman.shadow") version "7.0.0"
+ kotlin("jv... | chore(deps): update kotlin | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -633,8 +633,8 @@ export async function register(context: vscode.ExtensionContext, client: BaseLan
<div id="loading">
<div style="display: flex; align-items: center; flex-direction: column; min-height: 100vh; justify-content: space-evenly;">
- <a href="https://cdn.jsdelivr.net/gh/johnsoncodehk/sponsors/company/sponso... | chore: show all sponsors on loading | null | johnsoncodehk/volar | MIT License | TypeScript |
@@ -6,7 +6,7 @@ echo "##################################################\n\n"
echo "---------------- CLONING TRANSLATIONS REPO ----------------\n"
-git clone --progress --verbose git@code.is.adyen.com:Checkout/translations.git $SRCROOT/translations
+git clone --progress --verbose git@gitlab.is.adyen.com:adyen/streams/c... | chore: updated the translations repo in the localization.sh script | null | adyen/adyen-ios | MIT License | Shell |
// See the License for the specific language governing permissions and
// limitations under the License.
-use common_datavalues::DataSchemaRef;
-use common_datavalues::DataType;
-use common_datavalues::TypeDeserializerImpl;
-use common_exception::Result;
-use common_io::prelude::BufferReadExt;
-use common_io::prelude::... | chore(format): rm unused FormatDiagnostic | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -264,7 +264,7 @@ fn main() {
fn spawn_watch_shell(failed_exercise_hint: &Arc<Mutex<Option<String>>>) {
let failed_exercise_hint = Arc::clone(failed_exercise_hint);
- println!("Type 'hint' to get help or 'clear' to clear the screen");
+ println!("Type 'hint' or open the corresponding README.md file to get help or typ... | chore(watch): add hint for the exercises README.md | null | rust-lang/rustlings | MIT License | Rust |
@@ -7,13 +7,6 @@ module.exports = {
rules: {
strict: 2,
- // Fails with npm 7 monorepos due to the following bug:
- // https://github.com/benmosher/eslint-plugin-import/issues/1986
- 'import/no-extraneous-dependencies': 0,
- 'import/no-unresolved': 0,
- 'node/no-missing-require': 0,
- 'node/no-missing-import': 0,
-
// ... | chore: remove some dead code in `.eslintrc.js` | null | netlify/build | MIT License | JavaScript |
@@ -230,11 +230,11 @@ func (stmt *UseDatabaseStmt) inferParameters(tx *SQLTx, params map[string]SQLVal
}
func (stmt *UseDatabaseStmt) execAt(tx *SQLTx, params map[string]interface{}) (*SQLTx, error) {
- if tx.engine.multidbHandler != nil {
if tx.explicitClose {
- return nil, fmt.Errorf("%w: database selection can not b... | chore(embedded/sql): database selection as non-transactional | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -407,7 +407,7 @@ public abstract class NodeUpdater implements FallibleCommand {
Map<String, String> getDefaultDevDependencies() {
Map<String, String> defaults = new HashMap<>();
- defaults.put("typescript", "4.5.3");
+ defaults.put("typescript", "4.7.4");
final String WORKBOX_VERSION = "6.5.0";
| chore: Upgrade to typescript 4.7.4 | null | vaadin/flow | Apache License 2.0 | Java |
+#!/bin/sh
+
+yarn build
+curl https://sweetalert2.github.io -o index.html
+sed -i 's|src="/|src="https://sweetalert2.github.io/|g' index.html
+sed -i 's|https://cdn.jsdelivr.net/npm/sweetalert2@8/||g' index.html
+sed -i 's|="./|="https://sweetalert2.github.io/|g' index.html
| chore: add tools/deploy-to-netlify.sh | null | sweetalert2/sweetalert2 | MIT License | Shell |
@@ -165,7 +165,7 @@ exports.config = {
//
// If you only want to run your tests until a specific amount of tests have failed use
// bail (default is 0 - don't bail, run all tests).
- bail: 0,
+ bail: 1,
//
// Saves a screenshot to a given path if a command fails.
// screenshotPath: './errorShots/',
@@ -236,7 +236,8 @@ ... | chore(tooling): add bail after failure to journey tests | null | webex/react-widgets | MIT License | JavaScript |
@@ -138,10 +138,14 @@ extern "sysv64" fn syscall_rust(
SYS_GETKEY => {
let ret = h.get_key(&usermemscope, a, b);
+ #[cfg(feature = "dbg")]
+ eprintln!(
+ "syscall SYS_GETKEY = {}",
+ ret.map_or_else(|e| -e as usize, |v| v)
+ );
+
match ret {
Err(e) => {
- #[cfg(feature = "dbg")]
- eprintln!("syscall {} = {}", nr, e.che... | chore(shim-kvm): combine debug syscall prints | null | enarx/enarx | Apache License 2.0 | Rust |
# MIT License. See license.txt
from __future__ import unicode_literals
-import frappe, unittest, os
-from frappe.utils import cint
+import os
+import unittest
+
+import frappe
+from frappe.utils import cint, add_to_date, now
from frappe.model.naming import revert_series_if_last, make_autoname, parse_naming_series
+from... | chore: added rename_doc tests | null | frappe/frappe | MIT License | Python |
@@ -101,6 +101,10 @@ namespace Cicada {
int SegmentList::merge(SegmentList *pSList)
{
+ if (pSList == nullptr) {
+ return -1;
+ }
+
int seqNum = static_cast<int>(mLastSeqNum);
auto &sList = pSList->getSegments();
int size = sList.size();
| chore(HLS): prevent null pointer crash | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -104,7 +104,7 @@ describe('binding-resources', function () {
assert.strictEqual(receiver.value, '0', `change 3 not yet propagated`);
- await ctx.scheduler.yieldAll();
+ await wait(50);
assert.strictEqual(receiver.value, '3', `change 3 propagated`);
});
| chore: fix debounce test | null | aurelia/aurelia | MIT License | TypeScript |
+#!/bin/bash -ex
+# Copyright 2022 Kubeflow Pipelines contributors
+#
+# Licensed 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 b... | chore: create presubmit-formatting-sdk.sh script | null | kubeflow/pipelines | Apache License 2.0 | Shell |
@@ -72,11 +72,11 @@ import org.gluu.oxauth.model.common.ResponseMode;
import org.gluu.oxauth.model.crypto.AbstractCryptoProvider;
import org.gluu.oxauth.model.crypto.OxAuthCryptoProvider;
import org.gluu.oxauth.model.error.IErrorType;
-import org.gluu.util.security.SecurityProviderUtility;
import org.gluu.oxauth.model.... | chore: revert BaseTest after merge from Fips | null | gluufederation/oxauth | MIT License | Java |
@@ -26,6 +26,7 @@ class ABIElementsTest: XCTestCase {
XCTAssertEqual(EthError(name: "Error", inputs: [.init(name: " ", type: .address)]).errorDeclaration, "Error(address)")
XCTAssertEqual(EthError(name: "Error", inputs: [.init(name: " ", type: .address), .init(name: "", type: .uint(bits: 256))]).errorDeclaration, "Erro... | chore: test update - added array type to error arguments | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -21,7 +21,7 @@ module.exports = function visitor({ types: t }, { nativeLifeCycleMap, routes },
}
}
} else {
- path.skip();
+ path.stop();
}
}
}
| chore: path stop | null | raxjs/rax-app | MIT License | JavaScript |
@@ -13,10 +13,12 @@ mkdir -p $PROJECT_NAME && cd $PROJECT_NAME
CWD=$(pwd)
CURRENT_COMMIT=$(git rev-parse HEAD)
echo "
-git \"file:///$CWD/../\" \"$CURRENT_COMMIT\"
-github \"ReactiveCocoa/ReactiveSwift\" ~> 4.0
+git \"file://$CWD/../\" \"$CURRENT_COMMIT\"
" > Cartfile
+echo " === Carthage update"
+../Scripts/carthage.s... | chore: update Carthage integration script | null | adyen/adyen-ios | MIT License | Shell |
import de.dytanic.cloudnet.common.function.ThrowableSupplier;
import java.util.Collection;
import java.util.Collections;
-import java.util.Objects;
import java.util.concurrent.CancellationException;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionException;
-import java.util.concurr... | chore(driver): simply CompletableTask | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -6,6 +6,8 @@ import (
"log"
"time"
+ "github.com/1024casts/snake/pkg/conf"
+
otelgorm "github.com/1024casts/gorm-opentelemetry"
// MySQL driver.
@@ -56,13 +58,13 @@ func NewMySQL(c *Config) (db *gorm.DB) {
// Initialize otel plugin with options
plugin := otelgorm.NewPlugin(
- // include any options here
+ otelgorm.W... | chore: add service name option for gorm | null | go-eagle/eagle | MIT License | Go |
set -e
-PACKAGES=$(echo packages/node_modules/{*,@ciscospark/*} | xargs -n 1 | sed 's/packages\/node_modules\///' | xargs -n 1 | grep -v '^@ciscospark$')
+PACKAGES=$(echo packages/node_modules/{*,@ciscospark/*} | xargs -n 1 | sed 's/packages\/node_modules\///' | xargs -n 1 | grep -v '^@ciscospark$' | grep -v '^samples$... | chore(tooling): exclude samples folder from package.json lint | null | webex/webex-js-sdk | MIT License | Shell |
@@ -653,7 +653,7 @@ function parseMerge(j: JSCodeshift, ast: Node, value: string[], action: string):
`const ${configIdentifier} = require('${configPath}')`,
`const merge = require('webpack-merge')`
];
- ast = addMergeImports(ast, mergeImports);
+ ast.replaceWith(addMergeImports(ast, mergeImports));
return ast.find(j.Pr... | chore: use replaceWith | null | webpack/webpack-cli | MIT License | TypeScript |
set -exu pipefail
-git checkout master
git fetch
-git checkout $(git describe --abbrev=0 --tags)
+git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
sudo docker-compose pull
sudo docker-compose build
sudo docker-compose run --rm python pipenv run python /app/search/indexing/create_indexes.py
| chore: update deploy script on dev | null | socialgouv/code-du-travail-numerique | Apache License 2.0 | Shell |
# Andrew Martin, 2018-05-10 21:52:47
# sublimino@gmail.com
#
-## Usage: %SCRIPT_NAME% [options] scenario
+## Usage: perturb.sh [options] scenario
##
## Options:
## --auto-populate [regex] Pull master and slaves from doctl
##
## --force Ignore consistency and overwrite checks
## --skip-check Skips remote host connectivi... | chore: code tidy up and simplify | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
@@ -403,11 +403,11 @@ func (d *db) Get(req *schema.KeyRequest) (*schema.Entry, error) {
return d.getAt(EncodeKey(req.Key), req.AtTx, 0, d.st, d.st.NewTxHolder())
}
-func (d *db) get(key []byte, index store.KeyIndex, tx *store.Tx) (*schema.Entry, error) {
- return d.getAt(key, 0, 0, index, tx)
+func (d *db) get(key []by... | chore(pkg/database): use shared tx holder when resolving tx entries | null | codenotary/immudb | Apache License 2.0 | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.