diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -61,7 +61,7 @@ for SUITE_ITERATION in $(seq 1 "${MAX_TEST_SUITE_RETRIES}"); do
daemon -U --name sauce_connect -- ${SC_BINARY} \
-D *.ciscospark.com,*.wbx2.com,*.webex.com*,storage101.dfw1.clouddrive.com \
-vv \
- -l "$(pwd)/reports/sauce/sauce_connect.${PACKAGE}.${SC_ITERATION}.log" \
+ -l "$(pwd)/reports/sauce/sauc... | chore(tooling): use path-free filename for sauce log | null | webex/webex-js-sdk | MIT License | Shell |
@@ -25,9 +25,9 @@ target_release=""
base_release_branch=$(echo "$1" | grep -E 'release-[0-9]*.0$')
if [ "$base_release_branch" != "" ]; then
major_release=$(echo "$base_release_branch" | sed 's/release-*//' | sed 's/\.0//')
- target_release="release-$((${major_release}-1)).0"
+ target_release="release-$((major_release-... | chore: applied shellcheck suggestions on get_latest_release.sh | null | vitessio/vitess | Apache License 2.0 | Shell |
@@ -94,6 +94,6 @@ public class EngineClientLogger extends ExternalTaskClientLogger {
public EngineClientException objectTypeNameUnknownException(String objectTypeName, Object serializedValue) {
return new EngineClientException(exceptionMessage(
- "013", "Exception while deserializing object value '{}': object type '{}'... | chore(logging): fix typo | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -29,9 +29,6 @@ export interface FormOptions<S> extends Config<S> {
reset?(): void
actions?: any[]
loadInitialValues?: () => Promise<S>
- meta?: {
- [key: string]: string
- }
}
export class Form<S = any> implements Plugin {
@@ -43,7 +40,6 @@ export class Form<S = any> implements Plugin {
fields: Field[]
finalForm: Fo... | chore(form): removed unintentional `meta` attr | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
package bee
var (
- version = "0.6.2" // manually set semantic version number
+ version = "0.6.3" // manually set semantic version number
commit string // automatically set git commit hash
Version = func() string {
| chore: increment v0.6.3 | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
public final class ConsoleProgressWrappers {
private static final Logger LOGGER = LogManager.logger(ConsoleProgressWrappers.class);
+ // the log
+ private static final double LOG_10_FILE_SIZE_BASE = 3.010299956639812;
+ private static final String[] FILE_SIZE_UNIT_NAMES = new String[]{"B", "KB", "MB", "GB", "TB", "PB",... | chore: show download unit based on the file size | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -49,7 +49,7 @@ fn test_bump_datetime() -> Result<()> {
{
//1022-05-16 03:25:02.868894
let tz: Tz = "UTC".parse().unwrap();
- let dt = tz.ymd(1022, 05, 16).and_hms_micro(3, 25, 02, 868894);
+ let dt = tz.ymd(1022, 5, 16).and_hms_micro(3, 25, 2, 868894);
let dt2 = DateConverter::to_timestamp(&dt.timestamp_micros(), &t... | chore(datatypes): fix lint | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -164,7 +164,7 @@ $SED -i "${ROOT}/genesis/shelley/genesis.json" \
-e 's/"slotLength": 1/"slotLength": 0.2/' \
-e 's/"activeSlotsCoeff": 5.0e-2/"activeSlotsCoeff": 0.1/' \
-e 's/"securityParam": 2160/"securityParam": 10/' \
- -e 's/"epochLength": 432000/"epochLength": 200/' \
+ -e 's/"epochLength": 432000/"epochLengt... | chore(e2e): slow down the network | null | input-output-hk/cardano-js-sdk | Apache License 2.0 | Shell |
@@ -826,7 +826,7 @@ class CardComponentTests: XCTestCase {
XCTAssertFalse(postalCodeItemView.alertLabel.isHidden)
}
- func testAddressSelectCountry() {
+ func testAddressSelectCountry() throws {
let method = CardPaymentMethod(type: "bcmc", name: "Test name", fundingSource: .credit, brands: ["visa", "amex", "mc"])
var c... | chore: Update testAddressSelectCountry test | null | adyen/adyen-ios | MIT License | Swift |
@@ -83,7 +83,7 @@ class AVFoundationPlaybackTests: QuickSpec {
playback.play()
playback.seek(playback.duration)
- expect(didLoopTriggered).toEventually(beTrue(), timeout: 3)
+ expect(didLoopTriggered).toEventually(beTrue(), timeout: 4)
}
}
| chore: adjusting timeout to 4 in didLoop test | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
-/*
- * 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(rest): remove unreferenced class | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -5,8 +5,10 @@ import {
DefaultLogger,
DefaultSearchPlugin,
examplePaymentHandler,
+ InMemorySessionCacheStrategy,
LogLevel,
mergeConfig,
+ NoopSessionCacheStrategy,
VendureConfig,
} from '@vendure/core';
import path from 'path';
@@ -14,7 +16,7 @@ import path from 'path';
export function getMysqlConnectionOptions(cou... | chore(dev-server): Update load-test config | null | vendure-ecommerce/vendure | MIT License | TypeScript |
@@ -23,21 +23,6 @@ extension IntegrationExample {
configuration.payment = payment
configuration.card.billingAddressMode = .postalCode
- let billingAddress = PostalAddress(city: "Amsterdam",
- country: "NL",
- houseNumberOrName: "4A",
- postalCode: "1501NH",
- stateOrProvince: "North Holland",
- street: "Lohmanstraat",
... | chore: Remove mock shopper information | null | adyen/adyen-ios | MIT License | Swift |
@@ -13,7 +13,7 @@ buildscript {
plugins {
id("application")
id("com.github.johnrengelman.shadow") version "6.1.0"
- id("org.jetbrains.kotlin.jvm") version "1.4.10"
+ id("org.jetbrains.kotlin.jvm") version "1.4.20"
id("com.apollographql.apollo") version "2.4.1"
}
@@ -58,7 +58,7 @@ repositories {
dependencies {
// https:... | chore(deps): bump beps | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -135,7 +135,10 @@ public class Purge extends Task {
}
/**
- * Sets the {@link Thread#getContextClassLoader() Thread Context Class Loader} to the one for this class, and then calls {@link #executeWithContextClassloader()}. This is done because the JCS cache needs to have the Thread Context Class Loader set to somethi... | chore: fixup checkstyle finding | null | jeremylong/dependencycheck | Apache License 2.0 | Java |
# 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.
-__version__ = "1.2.0.dev"
+__version__ = "1.3.0.dev"
| chore(mge/version): change dev version to 1.3 | null | megengine/megengine | Apache License 2.0 | Python |
@@ -109,8 +109,8 @@ public final class TerminologyResourceRequest<R> extends DelegatingRequest<Servi
}
}
-// public String getResourcePath() {
-// return resourcePath;
-// }
+ public String getResourcePath() {
+ return resourcePath;
+ }
}
| chore(request): remove block comments | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -22,6 +22,7 @@ import java.util.Set;
import org.camunda.bpm.engine.delegate.VariableScope;
import org.camunda.bpm.engine.impl.ProcessEngineLogger;
+import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.camunda.bpm.engine.impl.context.Context;
import org.camunda.bpm.engine.impl.core.variab... | chore(java/serializer): re-structure check for java serialization | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -287,32 +287,11 @@ class KitsuManager(
newProgress: Int,
newStatus: UserSeriesStatus
): String {
- // val currentTime = SimpleDateFormat("MM/dd/yyyy", Locale.getDefault())
- // .format(Calendar.getInstance().time)
-
return JsonObject().apply {
add("data", JsonObject().apply {
addProperty("id", item.userSeriesId)
add... | chore(kitsu): remove commented out code to set the start and end date, kitsu does this automatically | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -85,7 +85,7 @@ const FeatureList = [
{
Image: require('../../../static/img/Vector_1.png').default,
title: 'Homebase',
- url: 'https://tezos-homebase.herokuapp.com/explorer/daos',
+ url: 'https://tezos-homebase.io/',
},
{
Image: require('../../../static/img/radion_logo.png').default,
| chore: Add correct home-base link | null | ecadlabs/taquito | MIT License | JavaScript |
@@ -345,6 +345,9 @@ pub extern fn pactffi_cleanup_mock_server(mock_server_port: i32) -> bool {
/// Returns 0 if the pact file was successfully written. Returns a positive code if the file can
/// not be written, or there is no mock server running on that port or the function panics.
///
+/// **NOTE:** This function doe... | chore: update doc comment on pactffi_write_pact_file | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -75,6 +75,7 @@ export const UrlOptionContainer = styled.div`
& .primary {
}
+
margin-bottom: ${(props) => `${props.theme.spaces[3]}px`};
margin-top: ${(props) => `${props.theme.spaces[11]}px`};
`;
@@ -100,9 +101,12 @@ const Container = styled.div`
height: 100%;
overflow-y: auto;
overflow-x: hidden;
+ scrollbar-width... | chore: remove second scrollbar from git connect modal | null | appsmithorg/appsmith | Apache License 2.0 | TypeScript |
-const darkMode = JSON.parse(localStorage.getItem('darkMode'));
+let darkMode = JSON.parse(localStorage.getItem('darkMode'));
+if (darkMode === null) darkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
darkMode && document.documentElement.classList.add('dark');
| chore(theme): Default to system theme if no preference is set | null | toggl/track-extension | Apache License 2.0 | JavaScript |
@@ -284,23 +284,6 @@ impl ConfigInterface {
_ => &EMPTY_CONFIG_DEFAULTS,
}
}
- pub fn get_provider_url(&self, network: &str) -> DfxResult<Option<String>> {
- match &self.networks {
- Some(networks) => match networks.get(network) {
- Some(ConfigNetwork::ConfigNetworkProvider(network_provider)) => {
- match network_provi... | chore: remove dead code | null | dfinity/sdk | Apache License 2.0 | Rust |
@@ -28,6 +28,7 @@ class EnvTest extends TestCase
$this->assertEquals('value1', $this->object->getVar('_APP_X'));
$this->assertEquals('value2', $this->object->getVar('_APP_Y'));
$this->assertEquals('value3', $this->object->getVar('_APP_Z'));
+ $this->assertEquals('value5=', $this->object->getVar('_APP_W'));
$this->asser... | chore(tests): add test case for value ending in = | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -9,6 +9,7 @@ import org.camunda.bpm.rest.distro.property.CamundaAuthenticationProperty;
import org.camunda.bpm.rest.distro.property.CamundaCorsProperty;
import org.camunda.bpm.rest.distro.property.CamundaRestDistroProperties;
import org.camunda.bpm.spring.boot.starter.CamundaBpmAutoConfiguration;
+import org.camunda... | chore(distro): bind REST security config to REST starter | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -41,12 +41,26 @@ impl V8Slice {
}
fn as_slice(&self) -> &[u8] {
+ // SAFETY: v8::SharedRef<v8::BackingStore> is similar to Arc<[u8]>,
+ // it points to a fixed continuous slice of bytes on the heap.
+ // We assume it's initialized and thus safe to read (though may not contain meaningful data)
unsafe { &*(&self.store... | chore(serde_v8): V8Slice SAFETY | null | denoland/deno | MIT License | Rust |
@@ -27,7 +27,7 @@ return [
'path' => 'page', // path to paginated pages. ie: '/blog/page/2/'
],
'date' => [
- 'format' => 'j F Y', // See https://php.net/manual/function.date.php
+ 'format' => 'j F Y', // @see https://www.php.net/manual/fr/datetime.format.php#refsect1-datetime.format-parameters
//'timezone' => 'Europe/... | chore: default config minor update | null | cecilapp/cecil | MIT License | PHP |
@@ -7,34 +7,13 @@ import {
DefaultLogger,
DefaultSearchPlugin,
examplePaymentHandler,
- LanguageCode,
LogLevel,
- PluginCommonModule,
- ProductService,
VendureConfig,
- VendurePlugin,
} from '@vendure/core';
-import { ElasticsearchPlugin } from '@vendure/elasticsearch-plugin';
import { defaultEmailHandlers, EmailPlugin... | chore(dev-server): Clean up config file | null | vendure-ecommerce/vendure | MIT License | TypeScript |
@@ -21,7 +21,6 @@ cd ../core && npm publish -reg $VERDACCIO &&\
cd ../create && npm publish -reg $VERDACCIO &&\
cd ../elasticsearch-plugin && npm publish -reg $VERDACCIO &&\
cd ../email-plugin && npm publish -reg $VERDACCIO &&\
-cd ../pub-sub-plugin && npm publish -reg $VERDACCIO &&\
cd ../testing && npm publish -reg $... | chore: Remove pub-sub from verdaccio script | null | vendure-ecommerce/vendure | MIT License | Shell |
@@ -333,7 +333,7 @@ class ImageElement extends Element {
resolvedUri,
cachedWidth: cachedWidth,
cachedHeight: cachedHeight,
-// objectFit: objectFit
+ objectFit: objectFit
);
}
if (provider == null) return;
| chore: revert test code | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -20,6 +20,7 @@ const String BUNDLE_PATH = 'KRAKEN_BUNDLE_PATH';
const String ENABLE_DEBUG = 'KRAKEN_ENABLE_DEBUG';
const String ENABLE_PERFORMANCE_OVERLAY = 'KRAKEN_ENABLE_PERFORMANCE_OVERLAY';
const String DEFAULT_BUNDLE_PATH = 'assets/bundle';
+// `kap` is Kraken App Package.
const String EXTENSION_KAP = '.kap';
c... | chore: add comments for kap | null | openkraken/kraken | Apache License 2.0 | Dart |
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-import frappe
-from datetime import datetime, timedelta
-from dateutil.parser import parse
-from pytz import timezone
-from frappe.utils import add_days
-
-
-def pre_process(events):
- if events["status"] == "cancelled":
- if frap... | chore: remove code related to gcalendar | null | frappe/frappe | MIT License | Python |
@@ -11,7 +11,7 @@ const tinyRouter: TinyRouter = {
const baseUrl = state.frontity.url;
const { path, page } = state.router;
return `${new URL(
- page > 1 ? path.replace(/\/?$/, `/page/${page}`) : path,
+ page > 1 ? path.replace(/\/?$/, `/page/${page}/`) : path,
baseUrl
)}`;
}
| chore(state): add final slash when url contains page number | null | frontity/frontity | Apache License 2.0 | TypeScript |
@@ -615,11 +615,11 @@ mixin RenderDecoratedBoxMixin on BackgroundImageMixin {
final String colorName = 'Color';
Map borderShorttedInfo;
Map borderSideShorttedInfo;
- if (style.contains(borderName) && (style[borderName] as String).isNotEmpty){
+ if (style.contains(borderName)){
borderShorttedInfo = _getShorttedInfoFromS... | chore: remove as string and empty | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -1633,14 +1633,12 @@ function _ensureIndexes(model, options, callback) {
const indexFields = utils.clone(index[0]);
const indexOptions = utils.clone(index[1]);
- const noText = () => {
- for (const key in indexFields) {
- if (indexFields[key] == 'text') {
- return false;
+ let isTextIndex = false;
+ for (const key o... | chore: use variable instead of function | null | automattic/mongoose | MIT License | JavaScript |
URL=${1:-127.0.0.1:8000}
-muffet -e .*/edit/.* -e .*/f2895a6e-ca7c-0010-82c7-eda71af511fa.html -e .*exploit-db\.com -e .*corp[/:].* -e .*:8033/.* -e .*/apps.* -e .*/bugs.* -e .*maven\.apache\.org.* -e .*docs\.oracle\.com.* -e .*wala\.sourceforge\.net.* -t 20 http://$URL
\ No newline at end of file
+muffet -e .*/edit/.*... | chore: filter out stackoverflow | null | eclipse/steady | Apache License 2.0 | Shell |
@@ -243,7 +243,7 @@ public class LineTcpServerTest extends AbstractCairoTest {
for (int i = 1; i < threadCount; i++) {
// Wait writer to be released and check.
String tableName = "weather" + i;
- int releasedCount = tableIndex.get(tableName).getCount();
+ int releasedCount = -tableIndex.get(tableName).getCount();
try {... | chore: fix ilp test | null | questdb/questdb | Apache License 2.0 | Java |
@@ -29,7 +29,6 @@ import 'package:at_client/src/transformer/response_transformer/put_response_tran
import 'package:at_client/src/util/at_client_util.dart';
import 'package:at_client/src/util/at_client_validation.dart';
import 'package:at_client/src/util/constants.dart';
-import 'package:at_client/src/util/network_util.... | chore: cleaned up a little lint | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -64,10 +64,10 @@ impl<V: ProfileVault> ProfileImpl<V> {
.ok_or(EntityError::InvalidInternalState)?;
let public_key = ProfileChangeHistory::get_change_public_key(&change)?;
- let public_kid = vault.compute_key_id_for_public_key(&public_key)?;
- let public_kid = ProfileIdentifier::from_key_id(public_kid);
+ let public... | chore(rust): rename public_kid -> public_key_id | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -49,7 +49,9 @@ public class HistoryCleanupRemovalTime extends HistoryCleanupHandler {
}
public void execute(CommandContext commandContext) {
+ if (isMetricsEnabled()) {
reportMetrics();
+ }
setRescheduleNow(isMaxBatchExceeded());
@@ -79,6 +81,11 @@ public class HistoryCleanupRemovalTime extends HistoryCleanupHandler... | chore(engine): check if metrics are enabled for cleanup by removal time | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -79,13 +79,15 @@ where TBackend: WalletBackend + 'static
pub async fn run(mut self) -> Result<(), UtxoScannerError> {
if self.mode == UtxoScannerMode::Recovery {
self.set_recovery_mode().await?;
- } else if self.check_recovery_mode().await? {
+ } else {
+ let in_progress = self.check_recovery_mode().await?;
+ if in_... | chore: remove unused else | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -86,6 +86,7 @@ export class GithubMediaStore implements MediaStore {
filename: item.name,
directory: item.path.slice(0, item.path.length - item.name.length),
type: item.type,
+ previewSrc: item.download_url,
}))
.slice(offset, offset + limit),
offset,
| chore: github media store implements previewSrc on media | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -54,7 +54,7 @@ class MapVariableBuilder extends PureComponent<Props, State> {
const {entries} = this
return (
- <Form.Element label="Comma Separated Values">
+ <Form.Element label="Comma Separated Key-Value Pairs Per Line">
<Grid.Row>
<Grid.Column>
<TextArea
@@ -67,7 +67,7 @@ class MapVariableBuilder extends PureCom... | chore(variables): change text | null | influxdata/influxdb | MIT License | TypeScript |
@@ -142,9 +142,7 @@ function transactionNestProxy(type, handler) {
var createNew = false
- if (!transaction) {
- createNew = true
- } else if (transaction.type !== type) {
+ if (!transaction || transaction.type !== type) {
createNew = true
}
| chore(tracer): minor clean-up | null | newrelic/node-newrelic | Apache License 2.0 | JavaScript |
@@ -62,7 +62,8 @@ then
# Publish App to Play Store
if [ "$CIRCLE_BRANCH" == "$PUBLISH_BRANCH" ]; then
echo "Publishing app to Play Store"
+ cd ..
gem install fastlane
- fastlane supply --aab susiai-master-app.aab --skip_upload_apk true --track alpha --json_key ../exec/fastlane.json --package_name $PACKAGE_NAME
+ fastla... | chore: Update apk script | null | fossasia/susi_android | Apache License 2.0 | Shell |
@@ -441,16 +441,17 @@ function configurePatternExample(pkg, config) {
}
/**
- * Adds unit tests for patterns
+ * Adds unit tests for patterns and plugins
*/
-function configurePatternUnitTests(pkg, config) {
+function configurePkgUnitTests(type, pkg, config) {
// Create tests directory
- let dest = path.join(config.rep... | chore: Updated reconfigure script for plugin tests | null | freesewing/freesewing | MIT License | JavaScript |
-import 'dart:io';
+import 'package:flutter/material.dart';
+import 'package:flutter/widgets.dart';
+import 'package:kraken/module.dart';
+import 'package:kraken/widget.dart';
+import 'dart:ui';
-import 'package:flutter/rendering.dart';
-import 'package:kraken/kraken.dart' as kraken;
+void main() {
+ KrakenJavaScriptCh... | chore: revert main.dart | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -76,6 +76,7 @@ public class WappalyzerJsonParser {
}
WappalyzerData parse(String categories, List<String> technologies) {
+ logger.info("Starting to parse Wappalyzer technologies.");
WappalyzerData wappalyzerData = new WappalyzerData();
parseCategories(wappalyzerData, getStringResource(categories));
technologies.for... | chore: wappalyzer: Add start of parse log message | null | zaproxy/zap-extensions | Apache License 2.0 | Java |
@@ -47,7 +47,6 @@ export { default as NavBar } from './nav-bar';
export { default as Marquee } from './marquee';
export { default as TabBar } from './tab-bar';
export { default as ImagePreview } from './image-preview';
-export { default as PinchZoom } from './pinch-zoom';
export { default as LocaleProvider } from './lo... | chore: not export pinch-zoom | null | zhongantech/zarm | MIT License | TypeScript |
@@ -165,7 +165,7 @@ func OpenWith(pLog, dLog, cLog appendable.Appendable, opts *Options) (*AHtree, e
dLog: dLog,
cLog: cLog,
pLogSize: 0,
- dLogSize: int64(nodesUpto(uint64(cLogSize/cLogEntrySize)) * sha256.Size),
+ dLogSize: 0,
cLogSize: cLogSize,
pCache: pCache,
dCache: dCache,
@@ -196,6 +196,8 @@ func OpenWith(pLog,... | chore(embedded/ahtree): minor changes towards code redabilitiy | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -29,6 +29,9 @@ const Footer = ({ noMargin = false, hideAbout = false }) => (
<li>
<Link to="/contact">Contact</Link>
</li>
+ <li>
+ <Link to="/about">About Us</Link>
+ </li>
<li>
<Link to="/terms-and-conditions">Terms and Conditions</Link>
</li>
| chore: Add about to footer | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -134,8 +134,8 @@ fn poll_mqtt(
let mqtt_topic_handlers_guard = mqtt_topic_handlers_guard.clone();
match event {
Ok(Event::Incoming(Incoming::ConnAck(_))) => {
- if !is_subscribed {
let _ = event_sender.send(MqttEvent::Connected);
+ if !is_subscribed {
is_subscribed = true;
// resubscribe topics
let mqtt_topic_handle... | chore: always send connected event | null | iotaledger/iota.rs | Apache License 2.0 | Rust |
@@ -701,24 +701,14 @@ namespace
auto info = Merge<T>()(std::move(data.values));
auto hint = Merge<T>()(std::move(data.hints));
- if (!hint.value.empty()) {
- if (element.empty())
+ if (!(hint.value.empty() && inlines.value.empty() && info.value.empty()) && element.empty()) {
element.set();
- std::move(hint.value.begin(... | chore: refactoring (DRY) | null | apiaryio/drafter | MIT License | C++ |
import React from "react";
import ReactCookieConsent from "react-cookie-consent";
+import Link from "@docusaurus/Link";
import { translate } from "@docusaurus/Translate";
import styles from "./styles.module.css";
@@ -17,6 +18,7 @@ export const CookieConsent = () => {
expires={30}
>
{translate({ id: "features.cookie-con... | chore(metrics): add privacy mentions (at cookie-alert) | null | feature-sliced/documentation | MIT License | JavaScript |
@@ -299,6 +299,7 @@ function installObserver<T extends object, K extends keyof T>(
if (descGet) {
observedDescriptor.get = function(this: T) {
// `this as T` needed for closure conformance
+ // tslint:disable-next-line:no-unnecessary-type-assertion
return descGet!.call(this as T);
};
}
@@ -306,7 +307,9 @@ function inst... | chore: mark unnecssary-typ-assertions with tslint | null | material-components/material-components-web | MIT License | TypeScript |
@@ -30,7 +30,7 @@ public final class SnomedRepositoryCommitRequestBuilder extends TerminologyResou
private String defaultModuleId = null;
- SnomedRepositoryCommitRequestBuilder() {
+ public SnomedRepositoryCommitRequestBuilder() {
super();
}
| chore(snomed): make ctor public in SnomedRepositoryCommitRequestBuilder | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -545,7 +545,7 @@ export const defaultProps = (baseProps) => ({
toolbarTooltipLabel: 'Toolbar tooltip',
},
error: null,
- // TODO: set default in v3. Leaving id for backwards compat since
+ // TODO: set default in v3. Leaving null for backwards compat. to match 'id' which was
// previously used as testId.
testId: nul... | chore(table): change comment | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -39,6 +39,15 @@ defmodule Logflare.SqlTest do
# source names with dots
{"select val from `my.table.name` where `my.table.name`.val > 5",
"select val from #{table_dots} where #{table_dots}.val > 5"},
+ # joins
+ {"select a from my_table join other_table as f on a = 123",
+ "select a from #{table} join #{table_other} ... | chore: add join constraint tests | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -99,7 +99,7 @@ public function attribute($selector, $attribute)
* Send the given keys to the element matching the given selector.
*
* @param string $selector
- * @param dynamic $keys
+ * @param mixed $keys
* @return $this
*/
public function keys($selector, ...$keys)
| chore: update docblock to valid docblock | null | laravel/dusk | MIT License | PHP |
import React from 'react'
+import { Link } from 'gatsby'
import OverviewWrapper from '~components/common/overview-wrapper'
import LongTermCareOverview from './overview'
-import preambleStyle from '../preamble.module.scss'
import downloadDataStyles from '../download-data.module.scss'
const LongTermCarePreamble = ({
@@ -... | chore: Add link to contact us | null | covid19tracking/website | Apache License 2.0 | JavaScript |
+import {TypedProvidersRegistry} from "../../di/interfaces";
import {ProviderType} from "../../di/interfaces/ProviderType";
import {GlobalProviders} from "../../di/registries/ProviderRegistry";
import {ControllerProvider} from "../class/ControllerProvider";
import {ExpressRouter} from "../services/ExpressRouter";
impor... | chore: fix tsc compilation | null | typedproject/tsed | MIT License | TypeScript |
@@ -29,11 +29,11 @@ export const executableGravitySchema = () => {
// In the future, these could get merged into the MP types.
const duplicatedTypes = [
"Artist",
- "Artwork",
+ "ArtistConnection",
"ArtistEdge",
- "ArtworkEdge",
+ "Artwork",
"ArtworkConnection",
- "ArtistConnection",
+ "ArtworkEdge",
"Lot",
"Money",
"M... | chore: alphabetize gravity duplicatedTypes | null | artsy/metaphysics | MIT License | TypeScript |
@@ -102,9 +102,6 @@ func configureHostNic(nicName, vlanID string, macAddr net.HardwareAddr) error {
return fmt.Errorf("can not find host nic %s %v", nicName, err)
}
- if err = netlink.LinkSetHardwareAddr(hostLink, macAddr); err != nil {
- return fmt.Errorf("can not set mac address to host nic %s %v", nicName, err)
- }
... | chore: add logs to sriov interface | null | kubeovn/kube-ovn | Apache License 2.0 | Go |
@@ -89,8 +89,13 @@ export class BrowserContextDispatcher extends Dispatcher<BrowserContext, channel
this.addObjectListener(CRBrowserContext.CREvents.ServiceWorker, serviceWorker => this._dispatchEvent('serviceWorker', { worker: new WorkerDispatcher(this, serviceWorker) }));
}
this.addObjectListener(BrowserContext.Event... | chore: fix ff tests with new events mode | null | microsoft/playwright | Apache License 2.0 | TypeScript |
@@ -75,12 +75,12 @@ async function deletePlaywrightImage() {
async function buildPlaywrightImage() {
await checkDockerEngineIsRunningOrDie();
- const isDevelopmentMode = getPlaywrightVersion().includes('next');
- let baseImageName = process.env.PWTEST_DOCKER_BASE_IMAGE || `mcr.microsoft.com/playwright:v${getPlaywrightV... | chore: fix docker tests in branch, attempt 2 | null | microsoft/playwright | Apache License 2.0 | TypeScript |
@@ -66,11 +66,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 = "v16.15.0";
+ public static final String DEFAULT_NODE_VERSI... | chore: Upgrade Node to 16.16 and npm to 8.11 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -168,6 +168,7 @@ export class AlarmBellService {
})
).subscribe(alarmsToPlay => {
alarmsToPlay.forEach(alarm => {
+ localStorage.setItem(`played:${alarm.$key}`, Date.now().toString());
this.alarmsFacade.setAlarmDone(alarm.$key, false);
if (!this.settings.alarmsMuted) {
this.notify(alarm);
| chore: alarm play spam fix | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
set -e # aborts as soon as anything returns non-zero exit status
+if [ ! -z "$TRAVIS_COMMIT" ]; then
git remote set-branches origin master
git fetch --unshallow --quiet
git checkout master --quiet
git checkout - --quiet
-
./node_modules/.bin/commitlint --from=master --to="$TRAVIS_COMMIT"
+else
+ ./node_modules/.bin/com... | chore: Make npm run lint worky locally | null | apiaryio/dredd | MIT License | Shell |
@@ -15,6 +15,7 @@ package org.camunda.bpm.client.variable.impl.format.json;
import static org.camunda.commons.utils.EnsureUtil.ensureNotNull;
import java.io.IOException;
+import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
@@ -72,9 +73,11 @@ public class JacksonJsonDataFormat implements Data... | chore(json): use StringWriter to write json value | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -17,7 +17,7 @@ describe('script element', () => {
script.onerror = () => {
done();
};
- script.src = 'http://g.alicdn.com/path/to/404';
+ script.src = 'http://127.0.0.1/path/to/a/file';
});
it('async script execute in delayed order', async (done) => {
| chore: cause connecting error | null | openkraken/kraken | Apache License 2.0 | TypeScript |
import { normalize } from "normalizr";
-import * as schemas from "../schemas";
-import { Context, ArchiveData, DataPage } from "../types";
-import { fetch } from "./actions";
+import * as schemas from "../../schemas";
+import { Context, DataPage } from "../../types";
+import { fetch } from "../actions";
const typesToEn... | chore(helpers): move helpers to a folder | null | frontity/frontity | Apache License 2.0 | TypeScript |
@@ -90,6 +90,7 @@ class PlayButtonTests: QuickSpec {
}
context("and a video is playing") {
+
beforeEach {
coreStub.playbackMock?.set(state: .playing)
}
| chore: adjust blank spaces | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -15,7 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-import { useForm } from 'tinacms'
+import { useForm, usePlugin } from 'tinacms'
import {
InlineForm,
InlineGroup,
@@ -81,6 +81,7 @@ export default function Nesting() {
* To test data in the browser
*... | chore: switch demo from border to background | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -53,8 +53,8 @@ const blogPostQuery = `{
lede
}
updatedAt(formatString: "MMMM D, YYYY")
- childContentfulBlogPostBlogContentRichTextNode {
- json
+ blogContent {
+ raw
}
body {
body
@@ -195,15 +195,13 @@ function chunkBlogPosts(data) {
const firstChunk = { ...baseChunk, section: 'section0' }
let bodyChunks
- if (node... | chore: Fix algolia search | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -20,7 +20,8 @@ cd packages/benchmark;
node node_modules/@deepkit/type-compiler/dist/cjs/install-transformer.js
docker rm -f bench-mongo
-docker run -d --rm --name bench-mongo -d -p 127.0.0.1:27017:27017 mongo:4.2
+#docker run -d --rm --name bench-mongo -d -p 127.0.0.1:27017:27017 mongo:4.2
+#docker run -d --rm --nam... | chore: don't restart mongo per default | null | deepkit/deepkit-framework | MIT License | Shell |
@@ -53,7 +53,7 @@ public class FilterableTreeItem<T> extends CheckBoxTreeItem<T> {
super(value);
filteredList.predicateProperty().bind(Bindings.createObjectBinding(() -> {
- Predicate<FilterableTreeItem<T>> p = child -> {
+ Predicate<FilterableTreeItem<T>> treeItemPredicate = child -> {
// Set the predicate of child it... | chore: rename variable with clear name | null | dlsc-software-consulting-gmbh/preferencesfx | Apache License 2.0 | Java |
@@ -60,7 +60,6 @@ IS_TEST_ONLY=0
IS_FORCE=0
main() {
-# handle_arguments "$@"
[[ $# = 0 && "${EXPECTED_NUM_ARGUMENTS}" -gt 0 ]] && usage
@@ -101,7 +100,6 @@ main() {
if ! is_master_accessible; then
error "Cannot connect to ${MASTER_HOST}"
-# elif ! is_scenario_dir_accessible; then
elif [[ ! -d "${SCENARIO_DIR}" ]]; the... | chore: removed hashed out functions after successful testing | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
@@ -762,7 +762,7 @@ abstract class Element
// Ignore the fixed element to unmount render object.
// It's useful for sliver manager to unmount child render object, but excluding fixed elements.
- if (keepFixedAlive && _isFixed) {
+ if (keepFixedAlive && renderStyle.position == CSSPositionType.fixed) {
return;
}
@@ -1525... | chore: remove isFixed member getter | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -110,7 +110,7 @@ impl Display for StateResponse {
for tx in &self.unconfirmed_pool {
writeln!(
fmt,
- " {} Fee: {}, Outputs: {}, Kernels: {}, Inputs: {}, metadata: {} bytes, {}",
+ " {} Fee: {}, Outputs: {}, Kernels: {}, Inputs: {}, metadata: {} bytes",
tx.first_kernel_excess_sig()
.map(|sig| sig.get_signature().to_... | chore: remove debug info from get-mempool-state | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -551,7 +551,14 @@ func (s *ImmuServer) Backup(ctx context.Context, req *schema.BackupRequest) (*sc
"error removing immudb identifier file %s from db snapshot %s: %v",
IDENTIFIER_FNAME, snapshotPath, err)
}
- response := &schema.BackupResponse{Message: []byte(snapshotPath)}
+ absSnapshotPath, err := filepath.Abs(snap... | chore(server): check for null before closing stores during backup and return absolute backup path | null | codenotary/immudb | Apache License 2.0 | Go |
import React from "react";
import renderer from "react-test-renderer";
+import { StaticQuery } from "gatsby";
+
import { Author } from "@/components/Sidebar/Author";
import * as mocks from "@/mocks";
+const mockedStaticQuery = StaticQuery as jest.Mock;
+
describe("Author", () => {
+ beforeEach(() => {
+ mockedStaticQue... | chore(tests): mock static query | null | alxshelepenok/gatsby-starter-lumen | MIT License | TypeScript |
@@ -16,7 +16,7 @@ for folder in $packages;
do
echo "Starting scan on ./$folder ..."
echo "> ln -s yarn.lock ./$folder/yarn.lock"
- ln -s yarn.lock ./$folder/yarn.lock
+ cp yarn.lock ./$folder/yarn.lock
ls -l ./$folder
echo "> ./srcclr.sh scan ./$folder"
./srcclr.sh scan ./$folder
| chore(ci): secu scan cp yarn.lock instead of symlink | null | talend/ui | Apache License 2.0 | Shell |
set -e
export DEPLOY_BRANCH=${DEPLOY_BRANCH:-master}
-export DEV_BRANCH=${DEV_BRANCH:-development}
-if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_REPO_SLUG" != "fossasia/pslab-android" ] || ! [ "$TRAVIS_BRANCH" == "$DEPLOY_BRANCH" -o "$TRAVIS_BRANCH" == "$DEV_BRANCH" ]; then
+if [ "$TRAVIS_PULL_REQUEST" != "false"... | chore: updated prep key script | null | fossasia/pslab-android | Apache License 2.0 | Shell |
@@ -20,7 +20,7 @@ git fetch --all
# if we're on the master branch, check if we're up to date, otherwise kill the build
if [[ $GITHUB_REF =~ "master" ]]; then
- currentRef=$(git rev-parse next) # sha of the local branch
+ currentRef=$(git rev-parse master) # sha of the local branch
headRef=$(git rev-parse origin/master)... | chore(release): update the release script to fix typo | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | Shell |
@@ -45,7 +45,7 @@ $registry = new Registry();
* Load flextype settings
*
* 1. Set settings files paths.
- * 2. Load flextype default and flextype custom settings files.
+ * 2. Load flextype default and flextype custom site settings files.
* 3. Merge settings.
* 4. Store settings in the flextype registry.
*/
@@ -83,7 +8... | chore(core): typo update for bootstrap.php | null | flextype/flextype | MIT License | PHP |
@@ -7,12 +7,7 @@ import { getAvailableMetricFields } from './utils'
import styles from './charts.module.scss'
import colors from '~scss/colors.module.scss'
-const Charts = ({
- population,
- usePer100kRate,
- timeSeriesData,
- currentMetric,
-}) => {
+const Charts = ({ timeSeriesData, currentMetric }) => {
const getMet... | chore(lint): Unused vars | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -62,6 +62,12 @@ const config = {
? [process.env['MAINNET_PRIVKEY']]
: [],
},
+ nova: {
+ url: 'https://nova.arbitrum.io/rpc',
+ accounts: process.env['MAINNET_PRIVKEY']
+ ? [process.env['MAINNET_PRIVKEY']]
+ : [],
+ },
rinkeby: {
url: 'https://rinkeby.infura.io/v3/' + process.env['INFURA_KEY'],
accounts: process.env... | chore: add new networks to hardhat config | null | offchainlabs/arbitrum | Apache License 2.0 | TypeScript |
@@ -10,7 +10,7 @@ export class ExceptionLoggerFilter implements ExceptionFilter {
catch(exception: Error, host: ArgumentsHost) {
if (exception instanceof I18nError) {
const { code, message, logLevel } = exception;
- const logMessage = `BOBBY ${code || 'Error'}: ${message}`;
+ const logMessage = `${code || 'Error'}: ${m... | chore(core): Remove debug string | null | vendure-ecommerce/vendure | MIT License | TypeScript |
+/**
+
+Copyright 2019 Forestry.io Inc
+
+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 by applicable law or agreed to in writing... | chore(license): add license header to block spec | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -40,6 +40,7 @@ var (
ErrNotLoggedIn = errors.New("not logged in")
ErrReplicationInProgress = errors.New("replication already in progress")
ErrReplicationNotInProgress = errors.New("replication is not in progress")
+ ErrTxNotProperlyClosed = errors.New("tx not properly closed")
)
func mapServerError(err error) error ... | chore(pkg/server): error when tx are not closed | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -168,7 +168,7 @@ func (e *Engine) Do(ctx context.Context, req Request) error {
e.mux.Unlock()
if err := e.drop(req); err != nil {
- log.Warn("Failed to drop request", zap.Error(err))
+ log.Info("Failed to drop request", zap.Error(err))
return ctx.Err()
}
| chore: decrease drop request error log level | null | gotd/td | MIT License | Go |
@@ -68,7 +68,7 @@ export class SettingsService {
}
public set freeAetheryte(freeAetheryte: number) {
- this.setSetting('freeAetheryte', freeAetheryte.toString());
+ this.setSetting('freeAetheryte', (freeAetheryte || 0).toString());
}
public get favoriteAetherytes(): number[] {
| chore: small fix for free aetheryte setting | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -91,13 +91,7 @@ impl RoomMember {
pub fn power_level(&self) -> i64 {
(*self.power_levels)
.as_ref()
- .map(|e| {
- let pls = e.power_levels();
- pls.users
- .get(self.user_id())
- .map(|p| (*p).into())
- .unwrap_or_else(|| pls.users_default.into())
- })
+ .map(|e| e.power_levels().for_user(self.user_id()).into())
.u... | chore(base): Use PowerLevels::for_user helper | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -518,7 +518,7 @@ class SkillDetailsFragment : Fragment(), ISkillDetailsView {
/**
* Displays the feedback list on the skill details screen
*
- * @param list : Contains the list of Feedback objects received from the getSkillFeedback.json API
+ * @param feedbackResponse : Contains the list of Feedback objects received... | chore: Use correct variable name in doc comment | null | fossasia/susi_android | Apache License 2.0 | Kotlin |
@@ -118,10 +118,12 @@ auto Interpreter::on_configure(const rclcpp_lifecycle::State &) -> Result
if (script->category.is<ScenarioDefinition>()) {
scenarios = {std::dynamic_pointer_cast<ScenarioDefinition>(script->category)};
} else if (script->category.is<ParameterValueDistribution>()) {
- throw Error("ParameterValueDis... | chore(interpreter): update error messages | null | tier4/scenario_simulator_v2 | Apache License 2.0 | C++ |
@@ -359,11 +359,11 @@ impl<'a> DfParser<'a> {
/// Drop database.
fn parse_drop_database(&mut self) -> Result<DfStatement, ParserError> {
- let if_not_exists = self.parser.parse_keywords(&[Keyword::IF, Keyword::EXISTS]);
+ let if_exists = self.parser.parse_keywords(&[Keyword::IF, Keyword::EXISTS]);
let db_name = self.pa... | chore: rename `if_not_exists` to `if_exists` | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -33,6 +33,14 @@ pub trait Transform: Send {
fn name(&self) -> String {
Self::NAME.to_string()
}
+
+ fn on_start(&mut self) -> Result<()> {
+ Ok(())
+ }
+
+ fn on_finish(&mut self) -> Result<()> {
+ Ok(())
+ }
}
pub struct Transformer<T: Transform + 'static> {
@@ -40,6 +48,8 @@ pub struct Transformer<T: Transform + '... | chore(processor): add on_start and on_finish for transform | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -31,43 +31,43 @@ import software.amazon.smithy.utils.SmithyInternalApi;
@SmithyInternalApi
public enum AwsDependency implements SymbolDependencyContainer {
- MIDDLEWARE_SIGNING(NORMAL_DEPENDENCY, "@aws-sdk/middleware-signing", "^3.13.1"),
- CREDENTIAL_PROVIDER_NODE(NORMAL_DEPENDENCY, "@aws-sdk/credential-provider-no... | chore: pin aws dependency version | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
@@ -394,7 +394,7 @@ public abstract class NodeUpdater implements FallibleCommand {
final String WORKBOX_VERSION = "6.4.2";
if (featureFlags.isEnabled(FeatureFlags.VITE)) {
- defaults.put("vite", "v2.7.4");
+ defaults.put("vite", "v2.8.0-beta.3");
defaults.put("rollup-plugin-brotli", "3.1.0");
defaults.put("vite-plugin-... | chore: Upgrade to Vite v2.8.0-beta.3 | null | vaadin/flow | Apache License 2.0 | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.