diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -74,6 +74,7 @@ public class UidlRequestHandlerTest {
.mock(ApplicationConfiguration.class);
Mockito.when(config.getPropertyNames())
.thenReturn(Collections.emptyEnumeration());
+ Mockito.when(config.getBuildFolder()).thenReturn(".");
VaadinService service = new VaadinServletService(null,
new DefaultDeploymentConfigu... | chore: Do not return null in BuildFolder to avoid NPI latest JDK | null | vaadin/flow | Apache License 2.0 | Java |
-// tslint:disable:no-non-null-assertion
import { IContainer, IRegistry, Reporter } from '@aurelia/kernel';
import {
AccessKeyed, AccessMember, AccessScope, AccessThis,
@@ -186,9 +185,9 @@ export function parse<TPrec extends Precedence, TType extends BindingType>(state
nextToken(state);
access++; // ancestor
if (consum... | chore(expression-parser): fix linting warnings | null | aurelia/aurelia | MIT License | TypeScript |
@@ -894,6 +894,11 @@ mod tests {
assert!(!can_move(&rules, &chunk, from_secs(9)));
assert!(can_move(&rules, &chunk, from_secs(11)));
+ // can move even if the chunk is small
+ let chunk = TestChunk::new(0, Some(0), Some(0), ChunkStorage::OpenMutableBuffer)
+ .with_row_count(DEFAULT_MUB_ROW_THRESHOLD - 1);
+ assert!(can... | chore: Add some more tests for can_move | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -102,6 +102,8 @@ export default function* integrationListSubscriptionManager() {
// Cancel active subscription if there are no subscribers
if (activeSubscription && subscribers.size === 0) {
yield cancel(activeSubscription);
+ // Reset list
+ yield put(actions.setIntegrationList([]));
activeSubscription = undefined;... | chore: reset integrations list in state cache on unsubscribe | null | opstrace/opstrace | Apache License 2.0 | TypeScript |
#!/usr/bin/env node
+/* eslint-disable no-console */
+
const path = require('path');
const fs = require('fs');
-const child_process = require('child_process');
+const { execSync } = require('child_process');
const readlineSync = require('readline-sync');
const pluginNameQuestion = 'Enter the short name for your plugin ... | chore(pluginsdk): fix lint violations in scaffold.js | null | spinnaker/deck | Apache License 2.0 | JavaScript |
@@ -18,9 +18,7 @@ const StandardTag = forwardRef(
title
},
forwardedRef
- ) => {
- console.log(closeIcon)
- return (
+ ) => (
<span
ref={forwardedRef}
className={cx(className, closeIcon && 'sui-AtomTag-hasClose')}
@@ -49,7 +47,6 @@ const StandardTag = forwardRef(
)}
</span>
)
- }
)
StandardTag.propTypes = {
| chore(components/atom/tag): remove console.log | null | sui-components/sui-components | MIT License | JavaScript |
@@ -28,11 +28,7 @@ open class PXAdvancedConfiguration: NSObject {
If set as false, then security code will be always asked.
*/
@available(*, deprecated)
- open var escEnabled: Bool {
- get {
- return true
- }
- }
+ open var escEnabled: Bool = true
/**
Add the possibility to enabled/disabled express checkout.
@@ -42,6 +... | chore: Reverted escEnabled and expressEnabled from get-only mode | null | mercadopago/px-ios | MIT License | Swift |
@@ -25,7 +25,7 @@ from google.protobuf import duration_pb2 as duration
CFT_TOOLS_DEFAULT_IMAGE = 'gcr.io/cloud-foundation-cicd/cft/developer-tools'
CFT_TOOLS_DEFAULT_IMAGE_VERSION = '0.12'
-DISABLED_MODULES = ["terraform-example-foundation"]
+DISABLED_MODULES = ["terraform-example-foundation", "cloud-foundation-trainin... | chore: skip comment bot on cloud-foundation-training repo | null | googlecloudplatform/cloud-foundation-toolkit | Apache License 2.0 | Python |
@@ -70,7 +70,7 @@ public class AuthenticationService {
// check user's app authorizations
AuthorizationService authorizationService = processEngine.getAuthorizationService();
- HashSet<String> authorizedApps = new HashSet<String>();
+ HashSet<String> authorizedApps = new HashSet<>();
authorizedApps.add(APP_WELCOME);
if... | chore(webapps): tolerate invalid groups and tenants | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -1355,9 +1355,11 @@ class CardComponentTests: XCTestCase {
wait(for: .milliseconds(300))
XCTAssertFalse(logoItemView!.isHidden)
+ wait(for: .milliseconds(300))
+
// valid card but still active. logos still should be hidden
populate(textItemView: cardNumberItemView, with: Dummy.visaCard.number!)
- wait(for: .seconds(... | chore: attemps to fix test | null | adyen/adyen-ios | MIT License | Swift |
@@ -88,7 +88,6 @@ impl From<ValidAccountId> for AccountId {
#[cfg(test)]
mod tests {
use super::*;
- use std::convert::TryInto;
#[test]
fn test_deser() {
@@ -101,7 +100,7 @@ mod tests {
#[test]
fn test_ser() {
- let key: ValidAccountId = "alice.near".try_into().unwrap();
+ let key: ValidAccountId = "alice.near".parse()... | chore: update test reference | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -4,7 +4,6 @@ using System.Collections.ObjectModel;
using System.Linq;
using NUnit.Framework;
using PeanutButter.DuckTyping;
-using PeanutButter.RandomGenerators;
using PeanutButter.Utils;
using static PeanutButter.RandomGenerators.RandomValueGen;
@@ -207,12 +206,12 @@ namespace PeanutButter.TestUtils.Generic.Tests
p... | chore: some code cleanup (remove redundancies in test fixture) | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -183,7 +183,7 @@ def start_scheduler():
@click.option("-u", "--rq-username", default=None, help="Redis ACL user")
@click.option("-p", "--rq-password", default=None, help="Redis ACL user password")
def start_worker(queue, quiet=False, rq_username=None, rq_password=None):
- """Site is used to find redis credentals."""... | chore: Typo correction | null | frappe/frappe | MIT License | Python |
@@ -40,5 +40,5 @@ func Deploy(platform *platform.Platform) error {
return err
}
- return platform.ApplySpecs(Namespace, "postgres-operator.yaml", "postgres-operator-monitoring.yaml", "postgres-exporter-config.yaml", "postgres-operator-config.yaml", "template/postgresql-db.yaml.raw")
+ return platform.ApplySpecs(Namespa... | chore: rename postgres-operator-monitoring.yaml | null | flanksource/karina | Apache License 2.0 | Go |
* Author: Kraken Team.
*/
+import 'dart:math';
import 'dart:ui' show Color;
import 'package:meta/meta.dart';
@@ -15,6 +16,127 @@ final RegExp RGBARexExp = RegExp(
multiLine: false,
);
+/// A color in the CIELAB color space.
+///
+/// The CIELAB color space contains channels for lightness [l],
+/// [a] (red and green op... | chore: CSSColor add tranformToDarkColor and tranformToLightColor | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -76,5 +76,14 @@ extension TrackableComponent {
public func viewDidAppear(viewController: UIViewController) { /* Empty Implementation */ }
/// :nodoc:
- public func viewWillAppear(viewController: UIViewController) { /* Empty Implementation */ }
+ public func viewWillAppear(viewController: UIViewController) {
+ trackT... | chore: On TrackableComponent, send telemetry event when view will appear | null | adyen/adyen-ios | MIT License | Swift |
@@ -15,7 +15,7 @@ echo "false" > $OUT_PUT_FILE_NAME
function processOutPut() {
while read -r line
do
- if [[ $line = *"Tests.swift"* ]]; then
+ if [[ $line = *"Test"* ]]; then
echo "${YELLOW}$line${NOCOLOR}"
elif [[ $line == *"warning"* ]]; then
echo "${RED}$line${NOCOLOR}"
@@ -26,7 +26,19 @@ function processOutPut() {... | chore: fixes spell_check.sh | null | adyen/adyen-ios | MIT License | Shell |
@@ -40,19 +40,12 @@ type ImmuServiceClientMock struct {
LoginF func(ctx context.Context, in *schema.LoginRequest, opts ...grpc.CallOption) (*schema.LoginResponse, error)
LogoutF func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
SetF func(ctx context.Context, in *schema.KeyValue, ... | chore: add setBatch, getBatch, setBatchOps method in mock client | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -119,8 +119,6 @@ public class PortalRootPersonAttributeDao extends AbstractFlatteningPersonAttrib
return postProcessPerson(rslt, uid);
}
-
-
/**
* This method is for matching a search query. Each matching item will subsequently be passed to
* <code>getPerson(uid)</code> for "filling."
@@ -191,7 +189,10 @@ public cla... | chore: run googleJavaFormat | null | uportal-project/uportal | Apache License 2.0 | Java |
@@ -54,6 +54,7 @@ import okhttp3.RequestBody;
* @version v2
* @see <a href="http://www.ibm.com/watson/developercloud/language-translator.html">Language Translator</a>
*/
+@Deprecated
public class LanguageTranslator extends WatsonService {
private static final String SERVICE_NAME = "language_translator";
@@ -148,7 +149,... | chore(language translator v2): Add manual tweaks | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -4,6 +4,7 @@ import { select } from "@storybook/addon-knobs";
import "cypress-storybook/react";
import NDSProvider from "../src/NDSProvider/NDSProvider";
import { ALL_NDS_LOCALES } from "../src/locales.const";
+import { theme } from "../src";
import withNDSTheme from "./nds-theme";
const localeKnobOptions = ALL_NDS_... | chore: update storybook preview to use theme | null | nulogy/design-system | MIT License | JavaScript |
@@ -13,11 +13,12 @@ if [ -z "${NEXT_VERSION}" ]; then
NEXT_VERSION_TYPE=patch
# If there are breaking changes, make it a minor bump. post-1.0, this logic
# will need to be revised
+ set +e
BREAKING_COUNT=$(git log --oneline upstream/master.. | grep -c '$BREAKING CHANGE:')
if [ $BREAKING_COUNT -gt 0 ]; then
NEXT_VERSION... | chore(tooling): do not exit under normal operation | null | webex/webex-js-sdk | MIT License | Shell |
@@ -358,7 +358,6 @@ class Element extends Node
}
RenderBoxModel targetRenderBox = createRenderBoxModel(
this,
- viewportSize: viewportSize,
prevRenderBoxModel: _renderBoxModel,
repaintSelf: repaintSelf
);
@@ -1416,7 +1415,6 @@ class Element extends Node
static RenderBoxModel createRenderBoxModel(
Element element,
{
- r... | chore: remove useless parameter | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -180,7 +180,7 @@ void FileSelectHelper::OnListDone(int error) {
std::unique_ptr<ActiveDirectoryEnumeration> entry =
std::move(directory_enumeration_);
if (error) {
- FileSelectionCanceled(NULL);
+ FileSelectionCanceled(nullptr);
return;
}
@@ -487,6 +487,11 @@ void FileSelectHelper::RunFileChooserEnd() {
listener_->F... | chore: call `ListenerDestroyed()` in `FileSelectHelper::RunFileChooserEnd()` | null | electron/electron | MIT License | C++ |
@@ -35,7 +35,7 @@ func mapGRPcErrorCode(code Code) codes.Code {
case CodUndefinedFunction:
return codes.Unimplemented
case CodInvalidDatabaseName:
- return codes.InvalidArgument
+ return codes.NotFound
default:
return codes.Unknown
}
| chore(pkg/errors): useDatabase returns notFound code when error | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -96,13 +96,9 @@ export class EventEmitter {
this.checkListenerArgument(listener);
this.emit("newListener", eventName, this.unwrapListener(listener));
if (this.hasListeners(eventName)) {
- // deno-lint-ignore ban-ts-comment
- // @ts-ignore
let listeners = this._events[eventName];
if (!Array.isArray(listeners)) {
list... | chore(node/events): remove unnecessary comments | null | denoland/deno_std | MIT License | TypeScript |
-/*
- * MIT License
- *
- * Copyright (c) Microsoft Corporation.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to ... | chore: follow up to a11y simplification | null | microsoft/playwright-dotnet | MIT License | C# |
@@ -1825,7 +1825,8 @@ void UpdateDataWithNumeric(google::cloud::spanner::Client client) {
if (!commit_result) {
throw std::runtime_error(commit_result.status().message());
}
- std::cout << "Insert was successful [spanner_update_data_with_numeric]\n";
+ std::cout
+ << "Insert was successful [spanner_update_data_with_num... | chore(spanner): correct some sample tags | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -51,7 +51,7 @@ public class SOUnboundedCountDownLatchTest {
int count = 1_000_000;
- doTest(pubSeq, subSeq, latch, dc, count);
+ doTest(pubSeq, subSeq, latch, dc, count, 0);
latch.await(count);
@@ -62,7 +62,7 @@ public class SOUnboundedCountDownLatchTest {
dc.set(0);
latch.reset();
- doTest(pubSeq, subSeq, latch, dc... | chore: assert that test does not lose messages | null | questdb/questdb | Apache License 2.0 | Java |
@@ -162,7 +162,8 @@ class DbPopulator
new_casa_case = CasaCase.find_or_create_by!(
casa_org_id: casa_org.id,
case_number: case_number,
- transition_aged_youth: false
+ transition_aged_youth: false,
+ birth_month_year_youth: ((Date.today - 1.year)..(Date.today + 1.year)).to_a.sample
)
end
volunteer = casa_org.volunteers... | chore: add birthday for CasaCase example in seed | null | rubyforgood/casa | MIT License | Ruby |
@@ -128,10 +128,22 @@ func (a *Analysis) UnmarshalJSON(bytes []byte) error {
})
}
for _, m := range bla.Managed {
- a.AddManaged(&resource.Resource{
+ res := &resource.Resource{
Id: m.Id,
Type: m.Type,
- })
+ }
+ if m.Source != nil {
+ // We loose the source type in the serialization process, for now everything is seri... | chore: allow deserialise resource sources | null | cloudskiff/driftctl | Apache License 2.0 | Go |
import * as Environment from "~/node_common/environment";
-module.exports = {
- development: {
+const developmentConfig = {
client: "pg",
connection: {
ssl: true,
@@ -11,8 +10,9 @@ module.exports = {
user: Environment.POSTGRES_ADMIN_USERNAME,
password: Environment.POSTGRES_ADMIN_PASSWORD,
},
- },
- production: {
+};
+
... | chore(env): update knex config to match NODE_ENV values | null | filecoin-project/slate | MIT License | JavaScript |
@@ -54,7 +54,6 @@ import java.io.*;
import java.net.*;
import java.util.*;
import java.util.concurrent.atomic.AtomicInteger;
-import java.util.concurrent.locks.LockSupport;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
@@ -304,9 +303,8 @@ public class ServerMain {
LogFactory.INSTANCE.flushJobsAndC... | chore(core): flush error log on network error | null | questdb/questdb | Apache License 2.0 | Java |
@@ -155,6 +155,9 @@ build_release_branch() {
NIX_COMMAND=$(envsubst <<"EOF"
set -e
+ echo "Cleaning up cargo build files..."
+ $DRY_RUN_ECHO cargo clean
+
echo "Switching to branch: $BRANCH"
$DRY_RUN_ECHO git switch -c $BRANCH
| chore: add a cargo clean in release script | null | dfinity/sdk | Apache License 2.0 | Shell |
@@ -149,9 +149,11 @@ function webpack {
# build a docker image that can serve the webpack client
function docker {
+ if [ -z "${NO_DOCKER}" ]; then
pushd "$STAGING_DIR" > /dev/null
CLIENT_HOME="$CLIENT_HOME" KUI_STAGE="$STAGING" KUI_BUILDDIR="$BUILDDIR" ./build-docker.sh
popd > /dev/null
+ fi
}
# some of the assets are... | chore: make docker build optional for webpack builder | null | ibm/kui | Apache License 2.0 | Shell |
@@ -72,7 +72,6 @@ public final class FormToggleItemView: FormValueItemView<Bool, FormToggleItemSty
stackView.alignment = .center
stackView.distribution = .fill
stackView.spacing = 8.0
- stackView.translatesAutoresizingMaskIntoConstraints = false
return stackView
}()
| chore: Remove mask translation in toggle view's stack | null | adyen/adyen-ios | MIT License | Swift |
@@ -21,7 +21,7 @@ yarn build
bash ${WORKSPACE}/scripts/ci/setup-npm.sh
# trigger lerna release
-${WORKSPACE}/node_modules/.bin/lerna publish minor --conventional-graduate \
+${WORKSPACE}/node_modules/.bin/lerna publish patch --conventional-graduate \
--create-release github
# deploy docs
| chore: force patch on release | null | sap/ui5-webcomponents-react | Apache License 2.0 | Shell |
const fs = require('fs');
const stdin = fs.readFileSync(0).toString('utf8');
-const maxInstantiations = isNaN(process.argv[2]) ? 100000 : +process.argv[2];
+const maxInstantiations = isNaN(process.argv[2]) ? 100000 : parseInt(process.argv[2], 10);
console.log(stdin);
-const numInstantiations = stdin.match(/Instantiatio... | chore: use parseInt for tsc diagnostics check re: code review comments | null | automattic/mongoose | MIT License | JavaScript |
@@ -86,7 +86,7 @@ let staticServerFolders = [
if (process.env.STATIC_SERVER_PATH) {
staticServerFolders = [
- {mounth: '/', path: process.env.STATIC_SERVER_PATH}
+ {mount: '/', path: process.env.STATIC_SERVER_PATH}
];
}
| chore(tooling): Fix typo in wdio.conf | null | webex/react-widgets | MIT License | JavaScript |
@@ -20,7 +20,7 @@ elif [[ $TRAVIS_BUILD_STAGE_NAME =~ "Release" ]]; then
CURRENT_BRANCH=refs/heads/main
# delete temp branch
- git push "https://$GHACTIONS@github.com/$TRAVIS_REPO_SLUG.git" ":$TRAVIS_BRANCH" > /dev/null 2>&1;
+ git push "https://$GHACTIONS@github.com/$TRAVIS_REPO_SLUG.git" ":$TRAVIS_BRANCH" > /dev/null... | chore(ci): some verbose | null | sap/fundamental-ngx | Apache License 2.0 | Shell |
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
*/
#pragm... | chore(format): format megbrain/exception.h | null | megengine/megengine | Apache License 2.0 | C |
@@ -70,7 +70,7 @@ open class FormTextItem: FormValueItem<String, FormTextItemStyle>, ValidatableFo
sanitizedValue = sanitizedValue.adyen.truncate(to: maxLength)
publisher.wrappedValue = sanitizedValue
- formattedValue = formatter?.formattedValue(for: sanitizedValue) ?? sanitizedValue
+ formattedValue = formatter?.forma... | chore: Format value instead of sanitizedValue | null | adyen/adyen-ios | MIT License | Swift |
@@ -76,7 +76,9 @@ public final class GiftCardComponent: PartialPaymentComponent,
formViewController.append(errorItem)
formViewController.append(numberItem)
formViewController.append(securityCodeItem)
+ formViewController.append(FormSpacerItem())
formViewController.append(button)
+ formViewController.append(FormSpacerIt... | chore: Spacing around pay button on gift card | null | adyen/adyen-ios | MIT License | Swift |
@@ -23,6 +23,7 @@ cmake --install . --prefix ./install
echo #####################################
echo # Running examples
echo #####################################
+cd ..
for i in examples/*; do
pushd $i
mkdir build
| chore: cd out of build dir before trying to run the examples | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -48,7 +48,7 @@ func DefaultOptions() Options {
Dir: ".",
Address: "127.0.0.1",
Port: 3323,
- MetricsPort: 9498,
+ MetricsPort: 9476,
ImmudbAddress: "127.0.0.1",
ImmudbPort: 3322,
Audit: false,
| chore: change immugw metrics port | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -439,6 +439,8 @@ class ImageElement extends Element {
// Attach image to renderImage box.
void _attachImage() {
+ // Creates a disposable handle to this image. Holders of this [ui.Image] must dispose of
+ // the image when they no longer need to access it or draw it.
ui.Image? clonedImage = _cachedImageInfo?.image.c... | chore: add comment for img.dart | null | openkraken/kraken | Apache License 2.0 | Dart |
* Author: Kraken Team.
*/
import 'package:kraken/css.dart';
-import './style_rule_parser.dart';
+const String _CLOSE_CURLY = '}';
class CSSParser {
static CSSRule parseRule(String text) {
@@ -14,8 +14,8 @@ class CSSParser {
static List<CSSRule> parseRules(String text) {
List<CSSRule> rules = [];
- text.split('}').forEa... | chore: css parser | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -24,7 +24,7 @@ use std::{
use anymap2::any::CloneAnySendSync;
#[cfg(target_arch = "wasm32")]
-pub use async_once_cell::OnceCell;
+use async_once_cell::OnceCell;
use dashmap::DashMap;
use futures_core::stream::Stream;
use matrix_sdk_base::{
@@ -70,7 +70,7 @@ use ruma::{
};
use serde::de::DeserializeOwned;
#[cfg(not(t... | chore: Remove unnecessary pub visibility from OnceCell imports | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -345,8 +345,6 @@ func scanRun(opts *pkg.ScanOptions) error {
}
if !analysis.IsSync() {
- globaloutput.Printf("\nHint: use gen-driftignore command to generate a .driftignore file based on your drifts\n")
-
return cmderrors.InfrastructureNotInSync{}
}
| chore: remove hint from the diagnostic output | null | cloudskiff/driftctl | Apache License 2.0 | Go |
set -euo pipefail
-readonly GOOGLE_CLOUD_CPP_CLOUD_SDK_VERSION="348.0.0"
-readonly GOOGLE_CLOUD_CPP_SDK_SHA256="8341a9b21088fd382522be247c7e51c61d8ea4ff86e6ededfa601afd5223e153"
+readonly GOOGLE_CLOUD_CPP_CLOUD_SDK_VERSION="367.0.0"
+readonly GOOGLE_CLOUD_CPP_SDK_SHA256="94328b9c6559a1b7ec2eeaab9ef0e4702215e16e8327c5b9... | chore: update cloud sdk | null | googleapis/google-cloud-cpp | Apache License 2.0 | Shell |
@@ -45,7 +45,7 @@ public class DiGeneratorForFlowNodesTest {
public void shouldGeneratePlaneForProcess() {
// when
- instance = Bpmn.createExecutableProcess().done();
+ instance = Bpmn.createExecutableProcess("process").done();
// then
Collection<BpmnDiagram> bpmnDiagrams = instance.getModelElementsByType(BpmnDiagram.c... | chore(di): clean test code | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -305,7 +305,7 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
return !seekbarWasTouched(touch)
}
- private func seekbarWasTouched(_ touch: UITouch) -> Bool {
+ open func seekbarWasTouched(_ touch: UITouch) -> Bool {
let seekbar = core?.plugins.first { $0.pluginName == Seekbar.name }
if let se... | chore: open seekbarWasTouched method o MediaControl | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
/*
- * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,25 +34,21 @@ import com.google.common.collect.Itera... | chore: remove unnecessary deprecated annotations | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -24,8 +24,10 @@ defprotocol Ockam.Address do
Allowed in guard tests. Inlined by the compiler.
"""
@doc guard: true
- defguard is_address_type(term)
+ Kernel.defguard(
+ is_address_type(term)
when is_atom(term) or (is_integer(term) and term >= 0 and term <= 255)
+ )
end
defimpl Ockam.Address, for: Any do
| chore(elixir): fix build breaking on elixir 1.12 because of defguard | null | ockam-network/ockam | Apache License 2.0 | Elixir |
import AdyenActions
#endif
-#if !targetEnvironment(simulator) && canImport(AdyenWeChatPayInternal)
- import AdyenWeChatPayInternal
-#endif
-
import Adyen
import Foundation
+#if !targetEnvironment(simulator) && canImport(AdyenWeChatPayInternal)
+
+import AdyenWeChatPayInternal
+
/// Action component to handle WeChat Pay... | chore: refactor precompile conditions | null | adyen/adyen-ios | MIT License | Swift |
@@ -14,7 +14,7 @@ ssh-keyscan -H cdn.ffxivteamcraft.com >> ~/.ssh/known_hosts
rsync -avz ./dist/apps/client/* dalamud@cdn.ffxivteamcraft.com:~/cdn.ffxivteamcraft.com/${PACKAGE_VERSION}
-ssh -4 -D 8081 dalamud@cdn.ffxivteamcraft.com << EOF
+ssh dalamud@cdn.ffxivteamcraft.com << EOF
rm ./cdn.ffxivteamcraft.com/latest
ln ... | chore(ci): nvm, it was cloudflare | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | Shell |
@@ -25,10 +25,7 @@ use std::{convert::TryInto, fmt, sync::Arc};
use blake2::Digest;
use diesel::result::{DatabaseErrorKind, Error as DieselError};
use futures::{pin_mut, StreamExt};
-use itertools::{
- FoldWhile::{Continue, Done},
- Itertools,
-};
+use itertools::Itertools;
use log::*;
use rand::{rngs::OsRng, RngCore};... | chore: removing dead code | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -134,7 +134,7 @@ public class NewScalaFeelBehaviorTest extends DmnEngineTest {
assertThat(result).isEqualTo("2019-08-08T22:22:22");
}
- @Ignore("CAM-11382")
+ // https://jira.camunda.com/browse/CAM-11382
@Test
@DecisionResource(resource = "scala_output_expression_double.dmn")
public void shouldReturnMaxDouble() {
| chore(dmn): add test coverage for feel-scala bugfix | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -570,7 +570,7 @@ func OpenWith(path string, vLogs []appendable.Appendable, txLog, cLog appendable
// ensure durability
err := store.sync()
- if err == ErrAlreadyClosed {
+ if err == ErrAlreadyClosed || err == multiapp.ErrAlreadyClosed || err == singleapp.ErrAlreadyClosed {
return
}
if err != nil {
| chore(embedded/store): handle appendable already close error | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -403,7 +403,7 @@ public abstract class NodeUpdater implements FallibleCommand {
final String WORKBOX_VERSION = "6.5.0";
if (featureFlags.isEnabled(FeatureFlags.VITE)) {
- defaults.put("vite", "v2.8.2");
+ defaults.put("vite", "v2.8.6");
defaults.put("@rollup/plugin-replace", "3.1.0");
defaults.put("rollup-plugin-bro... | chore: Upgrade to Vite 2.8.6 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -15,7 +15,13 @@ xcodebuild archive \
-sdk iphoneos \
-configuration Release \
-archivePath $BUILD_PATH/AdyenUIHost.xcarchive \
- -exportArchive \
+-allowProvisioningUpdates \
+-authenticationKeyID $3 \
+-authenticationKeyIssuerID $4 \
+-authenticationKeyPath $5
+
+xcodebuild -exportArchive \
+-archivePath $BUILD_PAT... | chore: revert merging archive and exportArchive | null | adyen/adyen-ios | MIT License | Shell |
@@ -8,6 +8,7 @@ make all
status=$(git status --porcelain)
if [ -n "$status" ]; then
>&2 echo "generated code is not accurate, please run make generate"
+ >&2 echo "ragel version is: $(ragel --version)"
>&2 echo -e "Files changed:\n$status"
exit 1
fi
| chore: make checkgenerate output ragel version | null | influxdata/flux | MIT License | Shell |
//! This module contains structs that describe the metadata for a partition
//! including schema, summary statistics, and file locations in storage.
+use observability_deps::tracing::warn;
use serde::{Deserialize, Serialize};
use std::{
borrow::{Borrow, Cow},
@@ -106,15 +107,12 @@ impl TableSummary {
// Validate that t... | chore: revert panic commit | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -123,7 +123,7 @@ impl EmissionSchedule {
if !n.starts_with("0.") {
return None;
}
- if !n.chars().skip(2).all(|i| ('0'..='9').contains(&i)) {
+ if !n.chars().skip(2).all(|i| i.is_ascii_digit()) {
return None;
}
let arr = n.chars().skip(2).map(|i| i as u8 - 48).collect::<Vec<u8>>();
| chore: replace manual implementation of char methods | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -987,7 +987,7 @@ func (t *TBtree) FlushWith(cleanupPercentage int) (wN, wH int64, err error) {
return 0, 0, ErrAlreadyClosed
}
- return t.flushTree(cleanupPercentage, false)
+ return t.flushTree(cleanupPercentage, cleanupPercentage > 0)
}
type appendableWriter struct {
| chore(embedded/tbtree): synced flush if cleanup percentage is greater than zero | null | codenotary/immudb | Apache License 2.0 | Go |
* public void createService() {
* ServiceTask task = serviceTaskProvider.serviceTask("Lobby");
* ServiceConfiguration config = ServiceConfiguration.builder(task).build();
- * ServiceInfoSnapshot createdService = config.createNewService();
+ * ServiceCreateResult createResult = config.createNewService();
*
- * if (creat... | chore: address recent service creation changes in the documentation | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
use borsh::{BorshDeserialize, BorshSerialize};
use serde::Serialize;
-use std::fmt;
-use std::{
- convert::{TryFrom, TryInto},
- str::FromStr,
-};
+use std::{borrow::Cow, fmt};
+use std::{convert::TryFrom, str::FromStr};
use crate::env::is_valid_account_id;
use crate::AccountId;
@@ -12,7 +9,17 @@ use crate::AccountId;
... | chore: update docs and limit unnecessary allocations on deser | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -85,7 +85,7 @@ public struct PaymentMethods: Decodable {
/// - Returns: The first available payment method of the given type and passes the predicate closure, or `nil` if none could be found.
public func paymentMethod<T: PaymentMethod>(ofType type: T.Type,
where predicate: (T) -> Bool) -> T? {
- regular.filter { $0 ... | chore: tiny fix to PaymentMethods.swift | null | adyen/adyen-ios | MIT License | Swift |
@@ -86,3 +86,7 @@ addSteps1_17_0()
import { addSteps as addSteps1_18_0 } from './1_18_0'
addSteps1_18_0()
+
+// Migrations for the in-development release:
+import { addSteps as addStepsX_X_X } from './X_X_X'
+addStepsX_X_X()
| chore: add migrations for the release currently in-development | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -26,8 +26,10 @@ if [ "$(uname -m)" == "x86_64" ]; then
MACHINE="x86_64"
elif [ "$(uname)" == "aarch64" ]; then
MACHINE="aarch64"
+elif [ "$(uname)" == "armv7l" ]; then
+ MACHINE="armv7"
else
- echo "This machine architecture is not supported. The supported architectures are x86_64 and aarch64."
+ echo "This machine ... | chore(install): include armv7l support for install script | null | newrelic/newrelic-cli | Apache License 2.0 | Shell |
defmodule Logflare.Auth do
- @max_age_default 86_400
-
- alias Phoenix.Token
- alias Logflare.User
- alias Logflare.Teams.Team
- alias Logflare.OauthAccessTokens.OauthAccessToken
- alias Logflare.Repo
+ @moduledoc "Authorization context"
import Ecto.Query
+ alias Phoenix.Token
+ alias Logflare.{Repo, User, Teams.Team, ... | chore: add docs & specs to functions, remove unused code | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -34,7 +34,7 @@ module.exports = {
resolve: 'gatsby-source-filesystem',
options: {
name: 'learn',
- path: `${__dirname}/src/documentation/`,
+ path: `${__dirname}/content/learn`,
},
},
{
| chore(gatsby): changed internal path for learn | null | nodejs/nodejs.dev | MIT License | JavaScript |
@@ -236,7 +236,13 @@ const BarChart = ({
{/* annotations */}
{annotations && (
<g transform={`translate(0 ${marginTop})`}>
- {annotations.map(d => (
+ {annotations
+ .filter(
+ annotation =>
+ xScaleTime(annotation.date) >= xScaleTime(dateDomain[0]) &&
+ xScaleTime(annotation.date) <= xScaleTime(dateDomain[1]),
+ )
+ .... | chore: Filter out annotations that don't apply to a date range | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -271,73 +271,136 @@ create_or_update_lesson(
section_position += 1
section = create_or_update_section(
- title: 'Front End Frameworks',
- title_url: 'front end frameworks'.parameterize,
+ title: 'React JS',
+ title_url: 'React JS'.parameterize,
course_id: course.id,
position: section_position,
- description: "We'll ... | chore: Add Seeds for React JS Section | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -559,8 +559,6 @@ func (s *ImmuServer) addUserToLoginList(u *auth.User) {
}
func (s *ImmuServer) getLoggedInUserdataFromCtx(ctx context.Context) (int64, *auth.User, error) {
- s.userdata.Lock()
- defer s.userdata.Unlock()
jsUser, err := auth.GetLoggedInUser(ctx)
if err != nil {
if strings.HasPrefix(fmt.Sprintf("%s", ... | chore(pkg/server): move userdata lock in the inner method getLoggedInUserDataFromUsername | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -99,6 +99,7 @@ DOCKER_ENV_KEYS+="SKIP_FLAKY_TESTS "
DOCKER_ENV_KEYS+="WDM_SERVICE_URL "
DOCKER_ENV_KEYS+="WORKSPACE "
DOCKER_ENV_KEYS+="JS_SDK_NPM_TOKEN "
+DOCKER_ENV_KEYS+="JS_SDK_NPM_PUBLISH_TOKEN "
# We don't want to fail if grep doesn't find the specified var
set +e
for KEY in $DOCKER_ENV_KEYS; do
| chore(run.sh): add Docker env key to fix NPM publish issue | null | webex/webex-js-sdk | MIT License | Shell |
@@ -75,7 +75,7 @@ async fn test_sled_iter() -> anyhow::Result<()> {
// Iterator output IVec
- let mut trees = vec![t1, t2];
+ let mut trees = vec![t1.clone(), t2.clone()];
for tree_iter in common_meta_sled_store::iter::<IVec>() {
let (tree_name, item_iter) = tree_iter?;
@@ -110,9 +110,16 @@ async fn test_sled_iter() ->... | chore(meta/sled-iter): fix unittest: do not iterate trees created by other test-case again | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -37,7 +37,6 @@ class SystemCookieManager implements ICordovaCookieManager {
webView = webview;
cookieManager = CookieManager.getInstance();
- //REALLY? Nobody has seen this UNTIL NOW?
cookieManager.setAcceptFileSchemeCookies(true);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
| chore: removed comment that serves no purpose | null | apache/cordova-android | Apache License 2.0 | Java |
@@ -552,7 +552,10 @@ func rawDurationToTimeDuration(raw string) (time.Duration, error) {
return 0, err
}
- const day = 24 * time.Hour
+ const (
+ day = 24 * time.Hour
+ week = 7 * day
+ )
var dur time.Duration
for _, d := range retention.Values {
@@ -561,8 +564,10 @@ func rawDurationToTimeDuration(raw string) (time.Dur... | chore(influx): add support for week duration | null | influxdata/influxdb | MIT License | Go |
@@ -14,7 +14,7 @@ func TestLegacyOpen(t *testing.T) {
if err != nil {
t.Fatal(err)
}
- os.RemoveAll(dir)
+ defer os.RemoveAll(dir)
sfile := seriesfile.NewSeriesFile(dir)
if err := sfile.Open(context.Background()); err != nil {
| chore(testing): add missing defer to clean up test temp files | null | influxdata/influxdb | MIT License | Go |
@@ -10,7 +10,7 @@ import customElement from "@ui5/webcomponents-base/dist/decorators/customElement
import languageAware from "@ui5/webcomponents-base/dist/decorators/languageAware.js";
import property from "@ui5/webcomponents-base/dist/decorators/property.js";
import event from "@ui5/webcomponents-base/dist/decorators/... | chore: improve typing | null | sap/ui5-webcomponents | Apache License 2.0 | TypeScript |
@@ -33,9 +33,7 @@ cat << EOF > /etc/telegraf/telegraf.conf
json_time_key = "time"
json_time_format = "unix"
tag_keys = [
- "i_type",
- "branch",
- "commit"
+ "i_type"
]
EOF
systemctl restart telegraf
| chore: change commit and branch keys to fields instead of tags | null | influxdata/influxdb | MIT License | Shell |
@@ -30,14 +30,14 @@ func bootstrap(settings programSettings, conditions *conditions) interactFunc {
currentMachinesLen := uint8(len(cluster.Machines.M))
if currentMachinesLen != machines {
- helpers.Concat(err, fmt.Errorf("current state has %d machines instead of %d", currentMachinesLen, machines))
+ err = helpers.Conc... | chore: assign errors | null | caos/orbos | Apache License 2.0 | Go |
@@ -47,13 +47,8 @@ fi
# Always use install. If that version is installed, it's the same as use and if
# it's not installed, you won't spend half an hour trying to figure out what
# exit code 3 is.
-nvm install 6.10.1
-
-# Make sure we're using npm 2.x
-NPM_MAJOR_VERSION=$(npm --version | awk -F'.' '{print $1}')
-if [ "... | chore(build): use specific version of npm | null | webex/webex-js-sdk | MIT License | Shell |
@@ -318,7 +318,7 @@ std::string OpenPathOnThread(const base::FilePath& full_path) {
namespace platform_util {
void ShowItemInFolder(const base::FilePath& full_path) {
- base::ThreadPool::CreateSingleThreadTaskRunner(
+ base::ThreadPool::CreateCOMSTATaskRunner(
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
->Po... | chore: ShowItemInFolder should use COMSTA | null | electron/electron | MIT License | C++ |
@@ -85,6 +85,7 @@ class EventEmitter : public Wrappable<T> {
base::Optional<electron::mojom::ElectronBrowser::MessageSyncCallback>
callback,
Args&&... args) {
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
v8::Locker locker(isolate());
v8::HandleScope handle_scope(isolate());
v8::Local<v8::Object> wrapper = GetWrap... | chore: DCHECK for correct thread in EventEmitter::EmitWithSender | null | electron/electron | MIT License | C |
-import React, { useCallback, useEffect, useId, useMemo, useReducer, useState } from 'react';
+import React, { useCallback, useEffect, useId, useMemo, useState } from 'react';
import { useModal } from '@faceless-ui/modal';
import { useTranslation } from 'react-i18next';
import { toast } from 'react-toastify';
@@ -83,8 ... | chore: reverts | null | payloadcms/payload | MIT License | TypeScript |
@@ -47,7 +47,8 @@ class Promise : public base::RefCounted<Promise> {
return GetInner()->Reject(GetContext(), v8::Undefined(isolate()));
}
- v8::MaybeLocal<v8::Promise> Then(base::Closure cb) {
+ template <typename ReturnType, typename... ArgTypes>
+ v8::MaybeLocal<v8::Promise> Then(base::Callback<ReturnType(ArgTypes...... | chore: properly template the Then promise helper | null | electron/electron | MIT License | C |
@@ -136,8 +136,7 @@ async fn test_configs_table() -> Result<()> {
"| storage | s3.security_token | | |",
"| storage | type | fs | |",
"+---------+--------------------------------------+--------------------------------+-------------+",
-]
-;
+ ];
common_datablocks::assert_blocks_sorted_eq(expected, result.as_slice());
O... | chore: make formater happy | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -64,10 +64,16 @@ export function extractValueWithPath<T = any>(obj: any, path: string): T
export function resolveObject<T = any>(obj: any): ResolveValue<T>
+type ProviderCb = (context: IContext) => { [key: string]: Function }
+
export class Provider<IContext = {}> {
- constructor(definition: {
+ constructor(
+ defin... | chore(typing): fix typing of provider | null | cerebral/cerebral | MIT License | TypeScript |
@@ -9,7 +9,7 @@ import (
"github.com/spf13/viper"
)
-// LoadConfig load config file from given path
+// Load load config file from given path
func Load(confPath string, out interface{}) error {
v := viper.New()
if confPath != "" {
| chore: update func comment | null | go-eagle/eagle | MIT License | Go |
@@ -30,6 +30,7 @@ use crate::pipelines::processors::transforms::transform::Transform;
use crate::pipelines::processors::transforms::transform::Transformer;
use crate::sessions::QueryContext;
+
pub struct TransformAddConstColumns {
expression_transform: CompoundBlockOperator,
input_len: usize,
@@ -38,13 +39,18 @@ pub st... | chore(query): add comment for TransformAddConstColumns | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -15,7 +15,7 @@ then
git add dist
git commit --amend --no-edit # merge with previous commit
- echo "Please the git history and press enter"
+ echo "Please check the git history and press enter"
read OKAY
# publish
| chore(release): add a missing word in message | null | vuejs/vue-router | MIT License | Shell |
@@ -58,7 +58,7 @@ public class FeatureFlags implements Serializable {
"https://github.com/vaadin/platform/issues/2448", true, null);
public static final Feature MAP_COMPONENT = new Feature(
"Map component (Pro)", "mapComponent",
- "https://github.com/vaadin/platform/issues/2611", true,
+ "https://vaadin.com/docs/latest... | chore: update map feature flag link | null | vaadin/flow | Apache License 2.0 | Java |
@@ -56,12 +56,12 @@ const DataStateTotalTestsPage = ({ data }) => {
},
{
field: 'field',
- label: 'New Tests chart field',
+ label: '"New Tests" chart field',
alignLeft: true,
},
{
field: 'units',
- label: 'New Tests chart units',
+ label: '"New Tests" chart units',
alignLeft: true,
},
]}
| chore: Put the chart name in quotes | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -2,6 +2,7 @@ import functools
import importlib
import os
import sys
+import traceback
from pkgutil import walk_packages
from types import ModuleType
@@ -304,7 +305,7 @@ def run_check(check: Check, output_options: Provider_Output_Options) -> list:
f"Something went wrong in {check.CheckID}, please use --log-level ERRO... | chore(logs): improve check error logs | null | toniblyx/prowler | Apache License 2.0 | Python |
@@ -50,7 +50,7 @@ var files = [
title: 'Validation'
},
{
- input: 'test/docs/schemas.test.es6.js',
+ input: 'test/docs/schemas.test.js',
output: 'advanced_schemas.html',
title: 'Advanced Schemas'
}
| chore: rename file in docs | null | automattic/mongoose | MIT License | JavaScript |
@@ -107,10 +107,9 @@ def snippets(session):
session.skip("Credentials must be set via environment variable.")
# Install all test dependencies, then install local packages in place.
- session.install("mock", "pytest")
+ session.install("mock", "pytest", "google-cloud-testutils")
session.install("google-cloud-storage")
s... | chore: install google-cloud-testutils by package name | null | googleapis/python-bigquery | Apache License 2.0 | Python |
@@ -24,10 +24,6 @@ public struct Environment: APIEnvironment {
/// :nodoc:
public var clientKey: String?
- /// Adyen's local environment.
- /// :nodoc:
- public static let local = Environment(baseURL: URL(string: "http://localhost:8080/")!)
-
/// Adyen's test environment.
public static let test = Environment(baseURL: U... | chore: removed local environment in Environment.swift | null | adyen/adyen-ios | MIT License | Swift |
@@ -41,12 +41,10 @@ class LodestoneCharacterController extends AbstractController
$cache
);
} else {
- $response = $this->json(
- (new Api())->character()->search(
+ $response = (new Api())->character()->search(
$request->get('name'),
ucwords(strtolower($request->get('server'))),
$request->get('page') ?: 1
- )
);
Redis... | chore: better fix for Lodestone search | null | xivapi/xivapi.com | MIT License | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.