diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -246,8 +246,10 @@ function validateBody(expected, actual) {
actual.body
);
- // Without ".validate()" it cannot evaluate output to result.
- // TODO Re-do this.
+ // Calling "validate()" often updates an internal state of a validator.
+ // That state is later used to output the gavel-compliant results.
+ // Cannot r... | chore: marks validators refactoring with GitHub issue | null | apiaryio/gavel.js | MIT License | JavaScript |
@@ -16,7 +16,9 @@ namespace OwenIt\Auditing\Tests;
use Carbon\Carbon;
use DateTimeInterface;
+use OwenIt\Auditing\Encoders\Base64Encoder;
use OwenIt\Auditing\Models\Audit;
+use OwenIt\Auditing\Redactors\LeftRedactor;
use OwenIt\Auditing\Tests\Models\Article;
use OwenIt\Auditing\Tests\Models\User;
@@ -369,6 +371,54 @@ E... | chore(Audit): add decoder test | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -16,17 +16,17 @@ export const statisticsAchievements: Record<ValetudoDataPointType, Array<Statist
{
value: 500_000_000,
title: "Leipziger Messe",
- description: "You've cleaned more than the whole Leipziger Messe"
+ description: "You've cleaned more than the whole CCCongress: Leipziger Messe"
},
{
value: 240_000_000... | chore: Fix achievements | null | hypfer/valetudo | Apache License 2.0 | TypeScript |
@@ -144,7 +144,7 @@ class PreApplePayComponentTests: XCTestCase {
// When
XCTAssertNil(paymentComponentData.checkoutAttemptId)
- sut.submit(data: paymentComponentData, component: sut)
+ sut.didSubmit(paymentComponentData, from: sut)
// Then
paymentComponentDelegate.onDidSubmit = { data, _ in
@@ -167,7 +167,7 @@ class P... | chore: Update tests in PreApplePayComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -85,12 +85,11 @@ def translate_text_with_model(target, text, model="nmt"):
Target must be an ISO 639-1 language code.
See https://g.co/cloud/translate/v2/translate-reference#supported_languages
"""
- import six
from google.cloud import translate_v2 as translate
translate_client = translate.Client()
- if isinstance(t... | chore: drop six | null | googlecloudplatform/python-docs-samples | Apache License 2.0 | Python |
@@ -94,7 +94,6 @@ func (im *TXTRegistry) Records() ([]*endpoint.Endpoint, error) {
return nil, err
}
endpointDNSName := im.mapper.toEndpointName(record.DNSName)
- log.Debugf("Parsed endpoint dns name is %s", endpointDNSName)
labelMap[endpointDNSName] = labels
}
| chore: remove additional debug output from txt registry | null | kubernetes-sigs/external-dns | Apache License 2.0 | Go |
-import { util } from "./helpers/util.ts";
-import { ZodIssueCode, ZodIssueOptionalMessage } from "./ZodError.ts";
-
-type ErrorMapCtx = {
- defaultError: string;
- data: any;
-};
-
-export type ZodErrorMap = typeof defaultErrorMap;
-
-export const defaultErrorMap = (
- error: ZodIssueOptionalMessage,
- _ctx: ErrorMapC... | chore: automatic fixes and code generation for (Closes | null | colinhacks/zod | MIT License | TypeScript |
@@ -68,4 +68,4 @@ fi
cd ..
gem install fastlane
-fastlane supply --aab ./apk/eventyay-attendee-master-app.aab --skip_upload_apk true --track alpha --json_key ./scripts/fastlane.json --package_name $PACKAGE_NAME
+fastlane supply --aab ./apk/eventyay-attendee-master-app.aab --skip_upload_screenshots true --skip_upload_ap... | chore: Skip upload screenshots for now | null | fossasia/open-event-attendee-android | Apache License 2.0 | Shell |
+/*
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
+ * under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. Camunda licenses this file to you under the Apache License,
+ * Version ... | chore(clients/java): add license header | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -1018,7 +1018,7 @@ class CardComponentTests: XCTestCase {
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(1)) {
XCTAssertEqual(passwordItemView!.titleLabel.text, "First 2 digits of card password")
- XCTAssertEqual(taxNumberItemView!.titleLabel.text, "Birthday or Corporate registration number")
... | chore: Update KCP test | null | adyen/adyen-ios | MIT License | Swift |
@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration;
@Configuration
public class GitServiceConfig {
- @Value("${appsmith.git.root:./container-volumes/git-storage}")
+ @Value("${appsmith.git.root:/data/git-storage}")
private String gitRootPath;
@Value("gitInitializeRepo/GitConnect-Initialize-Repo... | chore: Update default local git repo path as per docker-volume requirements | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -351,11 +351,7 @@ trait Auditable
*/
public function getAuditableEvents(): array
{
- if (isset($this->auditableEvents)) {
- return $this->auditableEvents;
- }
-
- return Config::get('audit.events', [
+ return $this->auditableEvents ?? Config::get('audit.events', [
'created',
'updated',
'deleted',
| chore(Auditable): update the getAuditableEvents() method | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -189,7 +189,8 @@ public class VisualRecognition extends BaseService {
multipartBuilder.addFormDataPart("owners", RequestUtils.join(classifyOptions.owners(), ","));
}
if (classifyOptions.classifierIds() != null) {
- multipartBuilder.addFormDataPart("classifier_ids", RequestUtils.join(classifyOptions.classifierIds(), ... | chore(visual-recognition-v3): format code | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -7,7 +7,7 @@ package irma
import "github.com/timshannon/bolthold"
// Version of the IRMA command line and libraries
-const Version = "0.4.0"
+const Version = "0.4.1"
// go-atum requires a version of bolthold newer than the latest release v1.1, but go-atum does not
// use dep, so by default dep fetches v1.1 which bre... | chore: bump version number to v0.4.1 | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -40,18 +40,7 @@ export function _main (userParams) {
// clear the restore focus timeout
clearTimeout(globalState.restoreFocusTimeout)
- const domCache = {
- popup: dom.getPopup(),
- container: dom.getContainer(),
- content: dom.getContent(),
- actions: dom.getActions(),
- confirmButton: dom.getConfirmButton(),
- can... | chore: extract populateDomCache() | null | sweetalert2/sweetalert2 | MIT License | JavaScript |
@@ -44,6 +44,14 @@ class PaginationTest extends TestCase
self::$zonesClient = new ZonesClient();
self::$acceleratorTypesClient = new AcceleratorTypesClient();
self::$zone = 'us-central1-a';
+
+ // test needs 4 or more instances
+ $response = self::$instancesClient->aggregatedList(self::$projectId);
+ $page = $response-... | chore(Compute): fix System tests | null | googleapis/google-cloud-php | Apache License 2.0 | PHP |
@@ -65,17 +65,6 @@ section = create_or_update_section(
position: section_position,
description: "In this section, we'll cover the basic building blocks of Ruby so you have them down cold. Everything else you'll learn in programming builds on these concepts, so you'll be in a great place to take on additional projects a... | chore: Move First Ruby Project | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -162,6 +162,7 @@ class CachedNetworkImage extends ImageProvider<CachedNetworkImageKey> {
// Try to get to end of the frame callbacks of the next frame, and then
// check again.
if (_recommendDeferredLoading()) {
+ // @TODO!
count++;
print('delay $count');
SchedulerBinding.instance!.addPostFrameCallback((_) {
@@ -176... | chore: _recommendDeferredLoading not impl | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -82,12 +82,6 @@ pub fn native_version() -> NativeVersion {
}
}
-/// Calculate the storage deposit based on the number of storage items and the
-/// combined byte size of those items.
-pub const fn deposit(items: u32, bytes: u32) -> Balance {
- (items as Balance) * 56 * MILLIUNIT + (bytes as Balance) * 50 * MICROUNIT... | chore: remove unused deposit | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -49,15 +49,18 @@ class Soundbite extends \Podlove\Modules\Base
$start = $epsiode->soundbite_start;
$duration = $epsiode->soundbite_duration;
+ $start_sec = \Podlove\NormalPlayTime\Parser::parse($start,'s');
+ $duration_sec = \Podlove\NormalPlayTime\Parser::parse($duration, 's');
+
$doc = new \DOMDocument();
$node = ... | chore: podcast:soundbite-item change NormalPlayTime to seconds | null | podlove/podlove-publisher | MIT License | PHP |
@@ -110,39 +110,38 @@ def register_function(scope=None, as_property=False, name=None, on_expression=Tr
# name maps to numpy function
# <vaex name>:<numpy name>
numpy_function_mapping = [name.strip().split(":") if ":" in name else (name, name) for name in """
-sinc
-sin
-cos
-tan
-arcsin
+abs
arccos
+arccosh
+arcsin
+ar... | chore: Sort numpy functions for better overview | null | vaexio/vaex | MIT License | Python |
#include "base/command_line.h"
#include "base/logging.h"
+#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "libplatform/libplatform.h"
#include "native_mate/dictionary.h"
@@ -46,11 +47,9 @@ void NodeDebugger::Start() {
node::options_parser::kDisallowedInEnvironment, &error... | chore: use base::JoinString to concatenate vector | null | electron/electron | MIT License | C++ |
@@ -50,7 +50,6 @@ public class FormContainerItem: FormItem {
internal func fill(with contentView: UIView, padding: UIEdgeInsets) {
preservesSuperviewLayoutMargins = true
- contentView.translatesAutoresizingMaskIntoConstraints = false
addSubview(contentView)
contentView.adyen.anchor(inside: self.layoutMarginsGuide, with... | chore: Remove mask translation for content view | null | adyen/adyen-ios | MIT License | Swift |
@@ -19,9 +19,9 @@ printResult() {
fi
}
buildClient() {
- field="daemon&dfget"
+ field="dfdaemon&dfget"
echo "====================================================================="
- info "${field}" "compiling daemon and dfget..."
+ info "${field}" "compiling dfdaemon and dfget..."
cd ${BUILD_DIR}/client
test -d ${INSTA... | chore: update build.sh to support params | null | dragonflyoss/dragonfly | Apache License 2.0 | Shell |
@@ -14,7 +14,7 @@ import dashboardStyles from './dashboard.module.scss'
const VisualizationGuidePage = ({ data }) => {
return (
<Layout
- title="Visualization guide"
+ title="Visualization Guide"
navigation={data.allContentfulNavigationGroup.edges[0].node.pages}
>
<div className="subhead">
| chore: Changed title of page to title case per | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -54,7 +54,9 @@ internal final class IntegrationExample: APIClientAware {
// MARK: - Initializers
internal init() {
- self.context = AdyenContext(apiContext: ConfigurationConstants.apiContext, analyticsConfiguration: .init())
+ var analyticsConfiguration = AnalyticsConfiguration()
+ analyticsConfiguration.isEnabled =... | chore: Define analytics configuration as a variable | null | adyen/adyen-ios | MIT License | Swift |
@@ -279,7 +279,7 @@ export class MidwayWebLoader extends EggLoader {
/**
* wrap controller string to middleware function
- * @param controllerMapping like xxxController.index
+ * @param controllerMapping like FooController.index
*/
public generateController(controllerMapping: string, routeArgsInfo?: RouterParamValue[])... | chore: update comment of naming | null | midwayjs/midway | MIT License | TypeScript |
{
public static class ApplicationSettings
{
- public static string version = "0.5.3";
+ public static string version = "0.5.4";
}
public static class Environment
| chore: update build version to 0.5.4 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -172,13 +172,11 @@ pub enum PinMode {
impl<B: Borrow<Cid>> PartialEq<PinMode> for PinKind<B> {
fn eq(&self, other: &PinMode) -> bool {
- match (self, other) {
+ matches!((self, other),
(PinKind::IndirectFrom(_), PinMode::Indirect)
| (PinKind::Direct, PinMode::Direct)
| (PinKind::Recursive(_), PinMode::Recursive)
- |... | chore: clippy match => matches! | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -3,6 +3,7 @@ set -e
ln -f README.md packages/electron-builder/README.md
+npm publish packages/asar-integrity || true
npm publish packages/electron-builder-http || true
npm publish packages/electron-builder-core || true
npm publish packages/electron-builder-util || true
| chore: add asar-integrity to publish script | null | electron-userland/electron-builder | MIT License | Shell |
+import { TextAreaField } from "@kaizen/component-library/draft"
+import { action } from "@storybook/addon-actions"
+import React from "react"
+
+interface RenderProps {
+ controlledValue: string
+ updateValue: (event: React.ChangeEvent<HTMLTextAreaElement>) => any
+}
+
+interface Props {
+ render: (props: RenderProps)... | chore: Restore the text area story | null | cultureamp/kaizen-design-system | MIT License | TypeScript |
@@ -7,13 +7,16 @@ npx tsc -p tsconfig.d.json -d
npx rollup -c rollup.config.types.js
# Replace export with closing brace for module declaration
-sed -i '$s/export {.*};/}/' lib/index.d.ts
+sed -i.bak '$s/export {.*};/}/' lib/index.d.ts
# Replace declare's with export's
-sed -i 's/declare/export/g' lib/index.d.ts
+sed -... | chore: repair type:gen command in OS X and other non-GNU sed environments | null | solana-labs/solana-web3.js | MIT License | Shell |
@@ -73,7 +73,7 @@ function create_management_cluster() {
echo "Creating kind cluster"
kind create cluster --name="${MANAGEMENT_CLUSTER_NAME}"
echo "Waiting for the node to be Ready"
- kubectl wait node "${MANAGEMENT_CLUSTER_NAME}-control-plane" --for=condition=ready --timeout=90s --context=kind-"${MANAGEMENT_CLUSTER_NA... | chore: increase the timeout when waiting for the readiness of the capz management cluster | null | kubernetes-sigs/cloud-provider-azure | Apache License 2.0 | Shell |
@@ -90,30 +90,35 @@ internal final class PaymentMethodListComponent: ComponentLoader, PresentableCom
}
listItem.deletionHandler = { [weak self, weak component] indexPath, completion in
- guard let self = self, let component = component else { return }
+ self?.delete(component: component, at: indexPath, completion: comp... | chore: small refactor in PaymentMethodListComponent to extract some code block into its own function | null | adyen/adyen-ios | MIT License | Swift |
@@ -90,7 +90,7 @@ internal enum AnyPaymentMethod: Decodable {
case none
- var value: PaymentMethod? {
+ internal var value: PaymentMethod? {
switch self {
case let .storedCard(paymentMethod):
return paymentMethod
| chore: Make value internal | null | adyen/adyen-ios | MIT License | Swift |
@@ -19,6 +19,7 @@ set -e
VENV_NAME=tmp-falcon-build
BUILD_DIR=./build
DIST_DIR=./dist
+PY2_VERSION=2.7.13
#----------------------------------------------------------------------
# Helpers
@@ -79,7 +80,7 @@ pyenv uninstall -f $VENV_NAME
#----------------------------------------------------------------------
_echo_task "... | chore: Build with 2.7.13 | null | falconry/falcon | Apache License 2.0 | Shell |
@@ -435,8 +435,6 @@ $utopia->get('/v1/auth/login/oauth/callback/:provider/:projectId')
->desc('OAuth Callback')
->label('error', __DIR__.'/../views/general/error.phtml')
->label('scope', 'auth')
- // ->label('abuse-limit', 100)
- // ->label('abuse-key', 'ip:{ip}')
->label('docs', false)
->param('projectId', '', functio... | chore: removed abuse-limit in callback endpoint | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -7,13 +7,12 @@ declare global {
}
const MEASUREMENT_ID = ANALYTICS_TRACKING_ID;
-const DNT = navigator.doNotTrack === '1' || window.doNotTrack === '1';
const ENABLE_TRACKING = FLAG_PRODUCTION && document.location.hostname === HOSTNAME_PRODUCTION;
let firstCall = true;
export function analytics(...args: Array<any>) {... | chore: drop doNotTrack (deprecated) | null | lwjgl/lwjgl3-www | BSD 3-Clause New or Revised License | TypeScript |
@@ -14,4 +14,6 @@ public enum InternalEvent: String {
case didNotLoadSource
case willDestroy
case didDestroy
+ case userRequestEnterInFullscreen
+ case userRequestExitFullscreen
}
| chore: add new internal events for fullscreen | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -39,6 +39,7 @@ import java.util.concurrent.locks.LockSupport;
public class TxnScoreboardTest extends AbstractCairoTest {
private static volatile long txn;
+ private static volatile long writerMin;
@Test
public void testCheckNoLocksBeforeTxn() {
@@ -603,7 +604,7 @@ public class TxnScoreboardTest extends AbstractCairo... | chore(build): fix `TxnScoreboardTest.testHammer` to check the pattern used in production code | null | questdb/questdb | Apache License 2.0 | Java |
@@ -17,8 +17,6 @@ import 'package:violet/log/act_log.dart';
import 'package:violet/log/log.dart';
import 'package:violet/pages/segment/card_panel.dart';
import 'package:violet/settings/settings.dart';
-import 'package:charts_flutter/src/text_element.dart';
-import 'package:charts_flutter/src/text_style.dart' as style;
... | chore: fix Dart Analysis hints - implementation import issues (i.e. src dir) | null | project-violet/violet | Apache License 2.0 | Dart |
@@ -322,14 +322,11 @@ class AvatarModify(commands.Cog):
await ctx.send(f"{Emojis.cross_mark} Could not get member info.")
return
- if squares < 1:
- raise commands.BadArgument("Squares must be a positive number")
+ if 1 <= squares <= MAX_SQUARES:
+ raise commands.BadArgument(f"Squares must be a positive number less tha... | chore: Check if the number of squares first is bigger than the max first | null | python-discord/sir-lancebot | MIT License | Python |
@@ -31,6 +31,7 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.stream.Collectors;
public class KubectlRollout<ApiType extends KubernetesObject> {
@@ -140,7 +141,14 @@ public class KubectlRollout<ApiType extends KubernetesObject> {
// get details of... | chore: rollout exception message | null | kubernetes-client/java | Apache License 2.0 | Java |
@@ -29,7 +29,7 @@ import svg2pdf = require("svg2pdf.js/dist/svg2pdf.min");
* After the constructor, use load() and render() to load and render a MusicXML file.
*/
export class OpenSheetMusicDisplay {
- private version: string = "0.7.5-release"; // getter: this.Version
+ private version: string = "0.7.5-dev"; // getter:... | chore: update osmd.Version to 0.7.5-dev | null | opensheetmusicdisplay/opensheetmusicdisplay | BSD 3-Clause New or Revised License | TypeScript |
@@ -148,4 +148,16 @@ output('traits', () => db('Trait').simpleObject('Name'))
output('tribes', () => db('Tribe').simpleObject('Masculine'))
output('triple-triad-rule-descriptions', () => db('TripleTriadRule').simpleObject('#2'))
output('triple-triad-rules', () => db('TripleTriadRule').simpleObject('Name'))
+output('ven... | chore(data-extraction): add ventures for KR/CN | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | JavaScript |
@@ -134,6 +134,27 @@ export default function wallets(state = initialState, action) {
...other
];
}
+ case types.SET_CURRENT_WALLET_ADDRESS: {
+ const [toModify, others] = partition(state, {
+ account: action.payload.account,
+ authorization: action.payload.authorization,
+ chainId: action.payload.chainId,
+ });
+ // If... | chore: added SET_CURRENT_WALLET_ADDRESS action to wallets reducer | null | greymass/anchor | MIT License | JavaScript |
@@ -81,7 +81,7 @@ fn global_version() {
.setting(AppSettings::GlobalVersion)
.version("1.1")
.subcommand(SubCommand::with_name("sub1"));
- app.p.propogate_settings();
+ app.p.propagate_settings();
assert_eq!(app.p.subcommands[0].p.meta.version, Some("1.1"));
}
@@ -287,7 +287,7 @@ fn global_setting() {
let mut app = App... | chore: fixes some spelling mistakes | null | clap-rs/clap | Apache License 2.0 | Rust |
@@ -105,7 +105,7 @@ describe('load BPF Rust program', () => {
programData,
BPF_LOADER_PROGRAM_ID,
);
- await expect(failedLoad).rejects.toThrow('Transaction was not confirmed');
+ await expect(failedLoad).rejects.toThrow();
// Second load will succeed
await BpfLoader.load(
| chore: don't match specific error text | null | solana-labs/solana-web3.js | MIT License | JavaScript |
@@ -546,7 +546,11 @@ public class BuildFrontendUtil {
}
String cvdlName = attributes.getValue("CvdlName");
if (cvdlName != null) {
- String version = attributes.getValue("Bundle-Version");
+ String version = attributes
+ .getValue("Implementation-Version");
+ if (version == null) {
+ version = attributes.getValue("Bund... | chore: Mainly use Implementation-version | null | vaadin/flow | Apache License 2.0 | Java |
@@ -475,10 +475,8 @@ class Element extends Node
@override
void attachTo(Node parent, {RenderBox? after}) {
_applyStyle(style);
- // Get display from style directly cause renderStyle is not flushed yet.
- CSSDisplay display = CSSDisplayMixin.resolveDisplay(style[DISPLAY]);
- if (display != CSSDisplay.none) {
+ if (rende... | chore: get display from renderStyle after initDisplay | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -160,7 +160,7 @@ func (sp *supervised) control() { //nolint:gocognit
}
// just to double check
workers[i].State().Set(worker.StateInvalid)
- sp.events.Send(events.NewEvent(events.EventTTL, supervisorName, fmt.Sprintf("worker's pid: %d", workers[i].Pid())))
+ sp.events.Send(events.NewEvent(events.EventTTL, supervisor... | chore(supervisor_pool): specify event in the log | null | spiral/roadrunner | MIT License | Go |
@@ -12,12 +12,15 @@ const EXCLUDED_DIRS = [
"node/testdata",
"crypto/_wasm/target",
"encoding/varint/_wasm/target",
- "_tools/testdata",
];
const ROOT = new URL("../", import.meta.url);
+const CHECK = Deno.args.includes("--check");
const FIRST_YEAR = 2018;
const CURRENT_YEAR = new Date().getFullYear();
+const RX_COPYRI... | chore(tools): auto-update copyright headers | null | denoland/deno_std | MIT License | TypeScript |
@@ -14,8 +14,8 @@ type TelegrafConfigStore struct {
CreateUserResourceMappingF func(ctx context.Context, m *platform.UserResourceMapping) error
DeleteUserResourceMappingF func(ctx context.Context, resourceID platform.ID, userID platform.ID) error
FindTelegrafConfigByIDF func(ctx context.Context, id platform.ID) (*platf... | chore(mock): adapt telegraf configs mock to new filter struct | null | influxdata/influxdb | MIT License | Go |
+import * as path from "path";
+import "should";
+
+import { nodesets } from "node-opcua-nodesets";
+import { AddressSpace, UAVariable } from "..";
+import { generateAddressSpace } from "../nodeJS";
+
+const describe = require("node-opcua-leak-detector").describeWithLeakDetector;
+describe("Loading nodeset.xml with spe... | chore: add test for nodeset2 with special characters | null | node-opcua/node-opcua | MIT License | TypeScript |
import * as React from "react";
import whiteListProps from "./helpers/whiteListProps";
-import type { Props } from "./types";
import OrbitIcon from ".";
-const createIcon = (
- def: React.ReactNode,
- viewBox: string,
- displayName: string,
-): React.ComponentType<Props> => {
+// eslint-disable-next-line @typescript-es... | chore: remove createIcon type | null | kiwicom/orbit | MIT License | TypeScript |
@@ -62,6 +62,12 @@ check() {
[ ${#result} -gt 0 ] && (echo "${result}" \
&& echo "CHECK: please format Go code with 'gofmt -s -w .'" && false)
+ # go vet check
+ echo "CHECK: go vet, check code syntax"
+ packages=`go list ./... | grep -vE "${exclude}" | sed 's/^_//'`
+ go vet ${packages} 2>&1
+
+ exit 0
# golint
which ... | chore: remove golint check because of installing golint failed | null | dragonflyoss/dragonfly | Apache License 2.0 | Shell |
package eu.cloudnetservice.ext.modlauncher;
-import cpw.mods.modlauncher.Launcher;
import cpw.mods.modlauncher.TransformingClassLoader;
import cpw.mods.modlauncher.serviceapi.ILaunchPluginService;
import java.nio.file.Path;
"eu.cloudnetservice.cloudnet.driver.");
@Override
- public String name() {
+ public @NonNull Str... | chore: remove usage of unsafe reflection | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -225,7 +225,7 @@ func TestStoreOnlyIndexReference(t *testing.T) {
}
-func TestStore_GetOnReferenceOnSameKeyReturnsEverLastValue(t *testing.T) {
+func TestStore_GetOnReferenceOnSameKeyReturnsAlwaysLastValue(t *testing.T) {
st, closer := makeStore()
defer closer()
@@ -245,7 +245,7 @@ func TestStore_GetOnReferenceOnSam... | chore(pkg/store): fix comments in test | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -35,7 +35,7 @@ build_and_push_image() {
#@--- Build image for deployment ---@#
echo "++++++++ Start building image +++++++++"
- if [[ $TRAVIS_BRANCH == "develop" ]] || [[ $GITHUB_REF == "refs/heads/develop" ]] || [[ $GITHUB_REF == "refs/pull/731/merge" ]]; then
+ if [[ $TRAVIS_BRANCH == "develop" ]] || [[ $GITHUB_RE... | chore(CI): fix error in branch name in debug statement | null | hikaya-io/activity | Apache License 2.0 | Shell |
@@ -67,11 +67,11 @@ public class FrontendTools {
* the installed version is older than {@link #SUPPORTED_NODE_VERSION}, i.e.
* {@value #SUPPORTED_NODE_MAJOR_VERSION}.{@value #SUPPORTED_NODE_MINOR_VERSION}.
*/
- public static final String DEFAULT_NODE_VERSION = "v18.9.1";
+ public static final String DEFAULT_NODE_VERSIO... | chore: upgrade to Node 18.11.0 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -34,14 +34,11 @@ import java.util.Map;
import ognl.NoSuchPropertyException;
import ognl.Ognl;
-import org.hisp.dhis.common.UserContext;
import org.hisp.dhis.i18n.I18n;
import org.hisp.dhis.i18n.I18nFormat;
import org.hisp.dhis.i18n.I18nManager;
import org.hisp.dhis.i18n.locale.LocaleManager;
import org.hisp.dhis.use... | chore: Remove redundant call to set user in UserContext | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -68,7 +68,7 @@ extension CardComponent {
/// Indicates the card brands excluded from the supported brands.
internal var excludedCardTypes: Set<CardType> = [.bcmc]
- /// Installments options to present to the user. Default is `nil`.
+ /// Installments options to present to the user.
public var installmentConfigration... | chore: comment fix for card config | null | adyen/adyen-ios | MIT License | Swift |
@@ -712,9 +712,13 @@ class Asset implements \ArrayAccess
return false;
}
+ try {
if (false === $size = getimagesizefromstring($this->data['content'])) {
return false;
}
+ } catch (\Exception $e) {
+ throw new RuntimeException(\sprintf('Handling asset "%s" failed: "%s"', $this->data['path_source'], $e->getMessage()));
+... | chore: Better Asset handling error message | null | cecilapp/cecil | MIT License | PHP |
@@ -90,6 +90,10 @@ subprojects {
useJUnitPlatform()
}
+ tasks.withType<JavaExec> {
+ jvmArgs = listOf<String>("-Xms4g", "-Xmx4g")
+ }
+
// Apply junit 5 and hamcrest test dependencies to all java projects.
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.4.0")
| chore(codegen): set JVM memory size to 4gb | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Kotlin |
@@ -46,7 +46,14 @@ internal final class FormCardNumberItem: FormTextItem, AdyenObserver {
internal init(cardTypeLogos: [FormCardLogosItem.CardTypeLogo],
style: FormTextItemStyle = FormTextItemStyle(),
localizationParameters: LocalizationParameters? = nil) {
- self.cardTypeLogos = cardTypeLogos
+ // these 4 US debit bra... | chore: manually hide 4 US debit icons | null | adyen/adyen-ios | MIT License | Swift |
@@ -398,8 +398,14 @@ public class SuppressSqlExceptionsTest {
.isInstanceOf(PersistenceException.class);
}
+ /**
+ * This test expects an exception when performing a pessimistic lock
+ * in this scenario. Since pessimistic locks are disabled on H2 and CRDB,
+ * this test will fail, and it needs to be excluded from the ... | chore(engine): exclude pessimistic lock test on crdb | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -677,6 +677,7 @@ public class HistoryServiceTest extends PluggableProcessEngineTestCase {
}
}
+ @RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_FULL)
@Deployment(resources = {
"org/camunda/bpm/engine/test/api/oneTaskProcess.bpmn20.xml" })
public void testDeleteHistoricVariableAndDetails() {
@@ -723,6 +724,7... | chore(engine): add required history level to historic variable tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -1468,7 +1468,7 @@ export class Interpolation {
}
// spec: https://tc39.es/ecma262/#sec-destructuring-assignment
-/** @internal */
+/** This is an internal API */
export class DestructuringAssignmentExpression {
public get hasBind(): false { return false; }
public get hasUnbind(): false { return false; }
@@ -1523,7 ... | chore: added comment for internal API | null | aurelia/aurelia | MIT License | TypeScript |
@@ -137,7 +137,7 @@ mixin ElementOverflowMixin on ElementBase {
case CSSOverflowType.hidden:
case CSSOverflowType.auto:
case CSSOverflowType.scroll:
- // If the render has been offset when previous overflow is auto or scroll, _scrollableY should not reset.
+ // If the render has been offset when previous overflow is au... | chore: modify comment | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -1303,21 +1303,6 @@ impl<T: Config> Pallet<T> {
Ok(())
}
- /// returns the total locked collateral. Unused for now, but might want to expose that as rpc
- pub fn get_total_backing_collateral(
- currency_id: CurrencyId<T>,
- include_liquidation_vault: bool,
- ) -> Result<Amount<T>, DispatchError> {
- let total_collat... | chore: remove unused get_total_backing_collateral function | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -126,7 +126,7 @@ impl CanisterBuilder for MotokoBuilder {
let output_idl_path = motoko_info.get_output_idl_path();
let params = MotokoParams {
build_target: BuildTarget::Idl,
- surpress_warning: false,
+ suppress_warning: false,
input: &input_path,
package_arguments: &package_arguments,
output: &output_idl_path,
@@ ... | chore: typos in builders/motoko.rs | null | dfinity/sdk | Apache License 2.0 | Rust |
@@ -238,8 +238,8 @@ export class List extends DataWithPermissions {
if (item.done < 0) {
item.done = 0;
}
- amount = MathTools.absoluteCeil(amount / item.yield);
const newDone = item.amount_needed - MathTools.absoluteCeil((item.amount - item.done) / item.yield);
+ amount = newDone - previousDone;
if (item.requires !== ... | chore: supplemental fix for last commit | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -179,6 +179,7 @@ export const BASES_TO_CHECK_TRADES_AGAINST: { readonly [chainId: number]: Token[
USDT[ChainId.OPTIMISM],
DAI[ChainId.OPTIMISM],
LUSD[ChainId.OPTIMISM],
+ FRAX[ChainId.OPTIMISM],
],
[ChainId.KAVA]: [WNATIVE[ChainId.KAVA]],
[ChainId.METIS]: [WNATIVE[ChainId.METIS]],
| chore(packages/currency): add frax to bases to check trades against | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -74,6 +74,16 @@ export const Ebuyer: Store = {
urlSelector: 'a[href]'
}),
urls: [
+ {
+ series: 'rx6800',
+ url:
+ 'https://www.ebuyer.com/store/Components/cat/Graphics-Cards-AMD/subcat/AMD-RX-6800'
+ },
+ {
+ series: 'rx6800xt',
+ url:
+ 'https://www.ebuyer.com/store/Components/cat/Graphics-Cards-AMD/subcat/AMD-RX-... | chore(store): add 6800 & 6800xt cards to ebuyer | null | jef/streetmerchant | MIT License | TypeScript |
@@ -247,7 +247,7 @@ def update_page(name, title, icon, parent, public):
return {"name": title, "public": public, "label": new_name}
-def hide_unhide_page(page_name: str, is_hidden: int):
+def hide_unhide_page(page_name: str, is_hidden: bool):
page = frappe.get_doc("Workspace", page_name)
if page.get("public") and not i... | chore: type check | null | frappe/frappe | MIT License | Python |
@@ -104,6 +104,7 @@ func init() {
enclaveSecretsGetCmd.Flags().Bool("plain", false, "print values without formatting")
enclaveSecretsGetCmd.Flags().Bool("copy", false, "copy the value(s) to your clipboard")
enclaveSecretsGetCmd.Flags().Bool("raw", false, "print the raw secret value without processing variables")
+ encl... | chore: Add --no-exit-on-missing-secret to `doppler enclave secrets get` | null | dopplerhq/cli | Apache License 2.0 | Go |
@@ -16,7 +16,7 @@ class TimedCommands(commands.Cog):
return await ctx.bot.get_context(msg)
- @commands.command(name="timed", aliases=["t"])
+ @commands.command(name="timed", aliases=["time", "t"])
async def timed(self, ctx: commands.Context, *, command: str) -> None:
"""Time the command execution of a command."""
new_c... | chore: add time as alias of timed | null | python-discord/sir-lancebot | MIT License | Python |
@@ -45,7 +45,7 @@ class TypeHintResolver
$type = null;
if (!$hint->types) {
- throw new UnexpectedValueException('bad');
+ throw new UnexpectedValueException('Union type should not be empty');
}
if ($analysis_php_version_id < 8_00_00) {
@@ -78,7 +78,7 @@ class TypeHintResolver
$type = null;
if (!$hint->types) {
- throw... | chore: Better exception messages | null | vimeo/psalm | MIT License | PHP |
@@ -193,7 +193,7 @@ impl Remapping {
/// A relative [`Remapping`] that's aware of the current location
///
/// See [`RelativeRemappingPathBuf`]
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Debug, PartialEq, PartialOrd, Eq, Ord)]
pub struct RelativeRemapping {
pub name: String,
pub path: RelativeRemappingPathBuf... | chore(solc): add ord derive | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -24,7 +24,7 @@ emails = [
class TestNewsletter(unittest.TestCase):
def setUp(self):
frappe.set_user("Administrator")
- frappe.db.sql("delete from `tabEmail Group Member`")
+ frappe.db.delete("Email Group Member")
if not frappe.db.exists("Email Group", "_Test Email Group"):
frappe.get_doc({"doctype": "Email Group", "... | chore(test): Update API usages | null | frappe/frappe | MIT License | Python |
@@ -142,7 +142,7 @@ subprojects {
publishing {
repositories {
mavenCentral {
- url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
+ url = uri("https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = sonatypeUser
password = sonatypePassword
| chore: update sonatype repo url to AWS specific url | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Kotlin |
@@ -58,8 +58,8 @@ class RoutingManager:
try:
async with self._profile.session() as session:
- if recip_verkey.startswith("did:key:"):
- recip_verkey = DIDKey.from_did(recip_verkey).public_key_b58
+ if not recip_verkey.startswith("did:key:"):
+ recip_verkey = DIDKey.from_public_key_b58(key, KeyType.ED25519).did
record =... | chore: test | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -278,7 +278,9 @@ public Bar(IReadOnlyList<BarValue> values, float maxValue, bool isCentre)
}
}
- private const double duration = 300;
+ private const double total_duration = 300;
+
+ private double duration => total_duration / Math.Max(values.Count, 1);
private float offsetForValue(float value)
{
| chore(osu.Game): split transform duration of bars on `HitTimingDistributionGraph` | null | ppy/osu | MIT License | C# |
+#!/usr/bin/env bash
+
+PLUGIN_FILE=./podlove.php
+
+CURRENT_VERSION=`head -n 20 $PLUGIN_FILE | grep "Version:" | cut -d: -f2 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'`
+
+echo "Creating a release will:"
+echo " - update the version in $PLUGIN_FILE"
+echo " - commit that change"
+echo " - create a git tag on ... | chore: new local release script | null | podlove/podlove-publisher | MIT License | Shell |
@@ -106,6 +106,10 @@ export class PypikaTranslator extends BaseTranslator {
return step;
}
+ todate(step: Readonly<S.ToDateStep>) {
+ return step;
+ }
+
top(step: Readonly<S.TopStep>) {
return step;
}
| chore(frontend): Enable todate step for pypika-based translators | null | toucantoco/weaverbird | BSD 3-Clause New or Revised License | TypeScript |
@@ -20,16 +20,16 @@ const commonChromeFlags = [
];
const testDirs = [
- // '1-kernel',
+ '1-kernel',
'2-runtime',
- // '3-runtime-html',
- // 'fetch-client',
- // 'i18n',
- // 'integration',
- // 'router',
- // 'validation',
- // 'validation-html',
- // 'validation-i18n',
+ '3-runtime-html',
+ 'fetch-client',
+ 'i18n',... | chore(test): re-enable karma tests | null | aurelia/aurelia | MIT License | JavaScript |
@@ -10,10 +10,12 @@ import { render } from '../../../helpers'
import { fireEvent, waitFor, screen } from '@testing-library/react'
import { ApiReport } from 'pages/project/[ref]/reports/api'
import { AuthReport } from 'pages/project/[ref]/reports/auth'
+import userEvent from '@testing-library/user-event'
beforeEach(() =... | chore: remove refresh testing | null | supabase/supabase | Apache License 2.0 | JavaScript |
@@ -22,12 +22,8 @@ def is_open(ip, port, timeout=10):
def check_database():
db_type = config.get("db_type", "mariadb")
- if db_type == "mariadb":
db_host = config.get("db_host", "localhost")
- db_port = config.get("db_port", 3306)
- else:
- db_host = "localhost"
- db_port = 5342
+ db_port = config.get("db_port", 3306 i... | chore: do not hardcode anything for postgres | null | frappe/frappe | MIT License | Python |
@@ -62,7 +62,7 @@ return [
'enabled' => false,
],
'amazon' => [
- 'developers' => 'https://www.dropbox.com/developers/documentation',
+ 'developers' => 'https://developer.amazon.com/apps-and-games/services-and-apis',
'icon' => 'icon-amazon',
'enabled' => false,
],
| chore: updated amazon developers url | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -447,7 +447,6 @@ final class Assets {
$auth_client = new \Google\Site_Kit\Core\Authentication\Clients\OAuth_Client( $this->context );
$admin_data = array(
- 'usingProxy' => $auth_client->using_proxy(),
'siteURL' => esc_url_raw( $site_url ),
'siteName' => get_bloginfo( 'name' ),
'siteUserId' => md5( $site_url . $curr... | chore: Remove 'using_proxy' variable | null | google/site-kit-wp | Apache License 2.0 | PHP |
#[cfg(feature = "storage")]
use crate::storage::*;
-use crate::VaultError;
use core::sync::atomic::AtomicUsize;
use ockam_core::compat::{collections::BTreeMap, string::String, sync::Arc};
use ockam_core::vault::{SecretAttributes, SecretKey};
-use ockam_core::Result;
use ockam_node::compat::asynchronous::RwLock;
/// Vau... | chore(rust): fix warnings for no_std in `Vault` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -8,11 +8,11 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/pkg/errors"
- log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
address_parser "github.com/hashicorp/go-terraform-address"
"github.com/infracost/infracost/internal/config"
+ "github.com/infracost/infracost/internal/logging"
"github.com/infr... | chore: Handle invalid resource names when extracting provider prefix | null | infracost/infracost | Apache License 2.0 | Go |
@@ -47,6 +47,7 @@ import com.amplifyframework.testutils.Resources;
import org.junit.BeforeClass;
import org.junit.Test;
+import java.lang.reflect.Field;
import java.util.Date;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -88,10 +89,12 @@ public final class AppSyncClientInstrumentationTest {
* Tests t... | chore(datastore): fix integration test failure due to new timestamp fields | null | aws-amplify/amplify-android | Apache License 2.0 | Java |
@@ -51,8 +51,9 @@ var ErrCorruptedFile = errors.New("file is corrupted")
var ErrCorruptedCLog = errors.New("commit log is corrupted")
var ErrCompactAlreadyInProgress = errors.New("compact already in progress")
var ErrCompactionThresholdNotReached = errors.New("compaction threshold not yet reached")
+var ErrIncompatible... | chore(embedded/tbtree): validate data-format version | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -31,8 +31,12 @@ import java.util.function.Supplier;
public interface VaadinContext extends Serializable {
/**
- * Returns value of the specified attribute, creating a default value if not
- * present.
+ * Returns value of the specified attribute, creating and storing a default
+ * value if attribute not present.
+ *... | chore: clarify VaadinContext::getAttribute semantic | null | vaadin/flow | Apache License 2.0 | Java |
@@ -43,6 +43,7 @@ describe('Translation memory', () => {
.contains('Cool translated text 1 translated with GOOGLE from en to cs')
.should('be.visible')
.click();
+ waitForGlobalLoading(300);
cy.gcy('global-editor')
.contains('Cool translated text 1 translated with GOOGLE from en to cs')
.should('be.visible');
| chore: Fix intermittent translation tools test | null | tolgee/tolgee-platform | Apache License 2.0 | TypeScript |
@@ -108,7 +108,7 @@ class CSSBoxDecoration extends BoxDecoration {
@override
final BoxShape shape;
- bool get hasBorderRadius => borderRadius != null || borderRadius != BorderRadius.zero;
+ bool get hasBorderRadius => borderRadius != null && borderRadius != BorderRadius.zero;
CSSBoxDecoration clone({
Color? color,
| chore: judgement | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -136,7 +136,7 @@ namespace acl
uint32_t get_num_samples() const { return m_num_samples; }
//////////////////////////////////////////////////////////////////////////
- // Returns the stride in bytes in between samples as layed out in memory.
+ // Returns the stride in bytes in between samples as laid out in memory.
/... | chore(compression): fix typo | null | nfrechette/acl | MIT License | C |
@@ -137,17 +137,16 @@ export function EditObjectsStory() {
return (
<PortalProvider __unstable_elements={{default: portal.element}}>
- <LayerProvider>
+ {/* <LayerProvider>
TODO
- {/* <FormBuilderProvider
+ <FormBuilderProvider
__internal_patchChannel={patchChannel}
onChange={handleChange}
value={value}
{...formBuilder... | chore(base): fix merge conflict in commented out workshop story | null | sanity-io/sanity | MIT License | TypeScript |
@@ -58,6 +58,12 @@ function serve_npm_packages() {
tarballs="${tarballs} $dist_root/js/cdk-assets-${version}.tgz"
package_names="${package_names} cdk-assets"
+ # manually add @aws-cdk/cfnspec since its a transitive dependency via @aws-cdk/cloudformation-diff
+ # hence isn't picked up from package.json
+ echo "Adding @a... | chore(cli): manually added cfnspec to deps since its transitive | null | aws/aws-cdk | Apache License 2.0 | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.