diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
package com.alibaba.user_api_test.ttl
+import com.alibaba.noTtlAgentRun
import com.alibaba.ttl.TransmittableThreadLocal.Transmitter
import io.kotest.core.spec.style.AnnotationSpec
+import io.kotest.core.test.config.TestCaseConfig
import io.kotest.matchers.booleans.shouldBeTrue
import io.mockk.*
+import org.apache.commo... | chore(ci): fix ci fail: | null | alibaba/transmittable-thread-local | Apache License 2.0 | Kotlin |
@@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("application")
- id("com.apollographql.apollo") version "2.5.8"
+ id("com.apollographql.apollo") version "2.5.9"
id("com.github.johnrengelman.shadow") version "7.0.0"
kotlin("jvm") version "1.5.10"
}
@@ -47,14 +47,14 @@ repositories {
v... | chore(deps): more bumps | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -35,7 +35,6 @@ class BACSDirectDebitItemsFactoryTests: XCTestCase {
let expectedValidationFailureMessage = "Invalid bank account holder name"
let expectedIdentifier = ".holderNameItem"
-
// When
let holderNameItem = sut.createHolderNameItem()
@@ -57,7 +56,6 @@ class BACSDirectDebitItemsFactoryTests: XCTestCase {
let... | chore: Test createContinueButton method | null | adyen/adyen-ios | MIT License | Swift |
@@ -9,7 +9,7 @@ USAGE=$(cat <<-END
-e SERVER=http://192.168.21.96:9000 \\
-e TOKEN=58a66fa93ee4a5efe5c8cea9351526efdb82b792 \\
-e ENCODING=UTF-8 \\
- -e LANGUAGE=go \\
+ -e LANGUAGE=Go \\
-e PROJECT_NAME=codescan \\
-e PROJECT_KEY=codescan \\
-e QUALITY_GATE=1 \\
@@ -67,12 +67,14 @@ params="-Dsonar.sourceEncoding=UTF-8... | chore: add debug logs for sonar qube image | null | caicloud/cyclone | Apache License 2.0 | Shell |
@@ -34,7 +34,6 @@ const rulesToOverrideGuardianConfig = {
/** @TODO Review these */
const rulesToReview = {
- 'react/no-danger': 'warn', // 48 problems
'react/no-array-index-key': 'warn', // 34 problems
'react/button-has-type': 'warn', // 23 problems
'@typescript-eslint/require-await': 'warn', // 22 problems
@@ -101,6 ... | chore(eslint): stop warning about danger | null | guardian/dotcom-rendering | Apache License 2.0 | JavaScript |
@@ -52,6 +52,6 @@ public class GeoHashesFromCoordsBenchmark {
public long fromLatLon() {
double lat = rnd.nextDouble() * 90.0;
double lon = rnd.nextDouble() * 180.0;
- return GeoHashes.fromCoordinatesUnsafe(lat, lon, 60);
+ return GeoHashes.fromCoordinatesDegUnsafe(lat, lon, 60);
}
}
| chore(bench): fix function name | null | questdb/questdb | Apache License 2.0 | Java |
@@ -402,40 +402,65 @@ public abstract class BaseTest {
System.out.println("authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:" + authorizationRequestUrl);
navigateToAuhorizationUrl(currentDriver, authorizationRequestUrl);
-
if (userSecret != null) {
final String previousUrl = currentDriver.getCurrentUrl(... | chore: fix login form values | null | gluufederation/oxauth | MIT License | Java |
@@ -330,6 +330,82 @@ public class LineTcpConnectionContextTest extends AbstractCairoTest {
});
}
+ @Test
+ public void testBadLineSyntax4() throws Exception {
+ runInContext(() -> {
+ recvBuffer = "weather,location=us-midwest temperature=82 1465839830100400200\n" +
+ "weather,location=us-midwest temperature=83 14658398... | chore(ilp): Improve testing | null | questdb/questdb | Apache License 2.0 | Java |
@@ -197,7 +197,7 @@ public class JsonQueryProcessor implements HttpRequestProcessor, Closeable {
// re-throw the exception
throw e;
} catch (Throwable e) {
- state.error().$("Uh-oh. Error!").$(e).$();
+ state.critical().$("Uh-oh. Error!").$(e).$();
throw ServerDisconnectException.INSTANCE;
}
}
| chore(http): change log level to critical for unexpected errors | null | questdb/questdb | Apache License 2.0 | Java |
@@ -20,7 +20,7 @@ import * as React from 'react'
import { Block } from './block'
import { InlineField } from '../inline-field'
import { useState } from 'react'
-import { AddBlockMenu } from './inline-block-field-controls'
+import { AddBlockMenu } from './add-block-menu'
import { useInlineForm } from '../inline-form'
im... | chore: import add-block-menu from correct file | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
describe('background-repeat', () => {
- fit('default should be repeat', async () => {
+ it('default should be repeat', async () => {
// repeat
const repeat = document.createElement('div');
setElementStyle(repeat, {
| chore: delete unuse code | null | openkraken/kraken | Apache License 2.0 | TypeScript |
-/**
-* (C) Copyright IBM Corp. 2018, 2019.
-*
-* 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 agr... | chore(assistant-v2): remove dialogNodesVisited | null | watson-developer-cloud/dotnet-standard-sdk | Apache License 2.0 | C# |
@@ -26,7 +26,6 @@ def update_document_title(doctype, docname, title_field=None, old_title=None, ne
return docname
-@frappe.whitelist()
def rename_doc(doctype, old, new, force=False, merge=False, ignore_permissions=False, ignore_if_exists=False):
"""
Renames a doc(dt, old) to doc(dt, new) and
| chore: un-whitelist frappe.model.rename_doc.rename_doc | null | frappe/frappe | MIT License | Python |
@@ -10,7 +10,7 @@ import (
)
var (
- version = "1.6.3" // manually set semantic version number
+ version = "1.6.4" // manually set semantic version number
commitHash string // automatically set git commit hash
commitTime string // automatically set git commit time
| chore: bump version to 1.6.4 | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -80,6 +80,7 @@ module.exports = {
'@typescript-eslint/semi': 'error',
'@typescript-eslint/triple-slash-reference': ['error', { path: 'never', types: 'always', lib: 'never' }],
'@typescript-eslint/type-annotation-spacing': 'error',
+ 'compat/compat': 'warn',
'import/default': 'error',
'import/export': 'error',
'impor... | chore: lint compat/compat | null | aurelia/aurelia | MIT License | JavaScript |
@@ -14,9 +14,9 @@ fn pty_multiline() {
master.write_all(b"'{'\n").unwrap();
master.write_all(b"'('\n").unwrap();
master.write_all(b"'['\n").unwrap();
- master.write_all(b"/{/'\n").unwrap();
- master.write_all(b"/(/'\n").unwrap();
- master.write_all(b"/[/'\n").unwrap();
+ master.write_all(b"/{/\n").unwrap();
+ master.wr... | chore(repl): fix integration test input to not throw parse errors | null | denoland/deno | MIT License | Rust |
@@ -4,11 +4,10 @@ import it.unibo.tuprolog.core.Rule
import it.unibo.tuprolog.core.Scope
import it.unibo.tuprolog.core.Struct
import it.unibo.tuprolog.core.Term
-import it.unibo.tuprolog.core.Var
+import it.unibo.tuprolog.core.VariablesProvider
import it.unibo.tuprolog.solve.AbstractWrapper
import it.unibo.tuprolog.sol... | chore: use VariablesProvider in RuleWrapper | null | tuprolog/2p-kt | Apache License 2.0 | Kotlin |
@@ -16,15 +16,8 @@ limitations under the License.
package sysstore
-import "bytes"
-
// System keys prefixes
const (
- //All user keys in the key/value store are prefixed by this keys to distinguish them from keys that have other purposes
+ //KeyPrefixUser All user keys in the key/value store are prefixed by this keys ... | chore(pkg/store/sysstore): remove useless method | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -815,12 +815,8 @@ mod tests {
.await;
let handle = client
- .add_event_handler({
- move |_ev: OriginalSyncRoomMemberEvent| {
+ .add_event_handler(move |_ev: OriginalSyncRoomMemberEvent| async {
panic!("handler should have been removed");
- #[allow(unreachable_code)]
- future::ready(())
- }
})
.await;
| chore(sdk): Simplify remove_event_handler test | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -825,8 +825,7 @@ void WebContents::AddNewContents(
initial_rect.x(), initial_rect.y(), initial_rect.width(),
initial_rect.height(), tracker->url, tracker->frame_name,
tracker->referrer, tracker->raw_features, tracker->body)) {
- // TODO(zcbenz): Can we make this sync?
- api_web_contents->DestroyWebContents(true /* a... | chore: synchronously destroy WebContents on event prevented | null | electron/electron | MIT License | C++ |
@@ -13,7 +13,7 @@ echo #
read -e -p "Enter release version: " VERSION
-TAG=$(node ./parse-npm-tag.js ${VERSION})
+TAG=$(node ./build/parse-npm-tag.js ${VERSION})
if [ "$BRANCH" != 'master' ] && [ "$TAG" == 'latest' ]; then
echo #
| chore(release): fixed path for TAG | null | vuetifyjs/vuetify | MIT License | Shell |
@@ -10,7 +10,6 @@ using HandyControl.Tools;
using HandyControlDemo.Data;
using HandyControlDemo.ViewModel;
-
namespace HandyControlDemo.UserControl;
/// <summary>
| chore: remove useless namespace | null | handyorg/handycontrol | MIT License | C# |
@@ -382,7 +382,7 @@ func (o *secretInitOpts) askForSecretValues() error {
}
if len(envs) == 0 {
- log.Errorf("Secrets environment-level resources. Please run %s before running %s.\n",
+ log.Errorf("Secrets are environment-level resources. Please run %s before running %s.\n",
color.HighlightCode("copilot env init"),
col... | chore(cli): add missing word in log statement | null | aws/copilot-cli | Apache License 2.0 | Go |
@@ -105,7 +105,7 @@ export abstract class AbstractTextLintEngine<LintResult extends TextlintResult>
* @type {TextLintModuleLoader}
* @private
*/
- this.moduleLoader = new TextLintModuleLoader(options as any);
+ this.moduleLoader = new TextLintModuleLoader(this.config);
this.moduleLoader.on(TextLintModuleLoader.Event.ru... | chore(textlint): use this.config instead of raw option | null | textlint/textlint | MIT License | TypeScript |
+import { Component } from '@angular/core';
+
+@Component({
+ moduleId: module.id,
+ template: '<dt-radio-button value="myValue">Radio button value</dt-radio-button>',
+})
+export class PureRadioExample { }
| chore(barista-examples): add pure example for radio button | null | dynatrace-oss/barista | Apache License 2.0 | TypeScript |
@@ -34,6 +34,6 @@ class CircularDependencyException extends \RuntimeException
{
array_unshift($this->list, $name);
$listAsString = implode(' -> ', $this->list);
- $this->message = "dependency depth limit reached due to the following dependencies: {$listAsString}";
+ $this->message = "depth limit reached due to the foll... | chore: write better message | null | hyperf/hyperf | MIT License | PHP |
@@ -6,8 +6,8 @@ set -e
cat <<EOL
apiVersion: v1
data:
- username: $(gopass caos-secrets/technical/boom/grafana-cloud/user | $ENCODE)
- password: $(gopass caos-secrets/technical/boom/grafana-cloud/apikey | $ENCODE)
+ username: $(echo "${1}" | $ENCODE)
+ password: $(echo "${2}" | $ENCODE)
kind: Secret
metadata:
name: gra... | chore: apply per-customer dedicated grafana cloud api keys | null | caos/orbos | Apache License 2.0 | Shell |
@@ -37,26 +37,6 @@ func TestNewCLI(t *testing.T) {
}
}
-func TestRunCLI(t *testing.T) {
- t.Parallel()
- ts := emptyTestServer()
- defer ts.Close()
-
- u, _ := url.Parse(ts.URL)
- h, p, _ := net.SplitHostPort(u.Host)
- c := cli.New(CLIENT_VERSION)
- c.Host = h
- c.Port, _ = strconv.Atoi(p)
- c.IgnoreSignals = true
- c.... | chore(cli): Remove flaky tests | null | influxdata/influxdb | MIT License | Go |
import UIKit
-internal class ComponentsViewController: UIViewController, Presenter {
+internal final class ComponentsViewController: UIViewController, Presenter {
private lazy var componentsView = ComponentsView()
| chore: put back final qualifier to ComponentsViewController class | null | adyen/adyen-ios | MIT License | Swift |
@@ -38,3 +38,9 @@ def fig1(request):
def test_versioned_cdn_included(fig1):
assert plotly_cdn_url() in pio.to_html(fig1, include_plotlyjs="cdn")
+
+
+def test_html_deterministic(fig1):
+ assert pio.to_html(fig1, include_plotlyjs="cdn") == pio.to_html(
+ fig1, include_plotlyjs="cdn"
+ )
| chore: add reproduction test for non-deterministic html | null | plotly/plotly.py | MIT License | Python |
@@ -66,6 +66,7 @@ def writeToFile(filePath, contentMap):
subFile = filePath + "/" + key + ".md"
if os.path.exists(subFile):
with open(subFile, "a", encoding='utf-8') as file:
+ file.write("***")
for content_line in contentMap[key]:
file.writelines(content_line)
print("write success!")
| chore: run script | null | zhangferry/iosweeklylearning | MIT License | Python |
@@ -69,6 +69,7 @@ impl TcpRouter {
trace!("TCP registration request: {} => {}", f, self_addr);
} else {
error!("TCP registration request failed due to an invalid address list. Please provide at least one valid Address.");
+ return Err(TransportError::InvalidAddress.into());
}
for accept in &accepts {
@@ -80,6 +81,7 @@ ... | chore(rust): post-rebase cleanup | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -63,7 +63,6 @@ public class RawAuthenticationService {
log.debug("Packed bytes to sign in HEX '{}'", Hex.encodeHexString(signedBytes));
log.debug("Signature from authentication response in HEX '{}'", Hex.encodeHexString(rawAuthenticateResponse.getSignature()));
- log.trace("Used public key in HEX '{}'", Hex.encodeHe... | chore: remove redundant u2f logging | null | gluufederation/oxauth | MIT License | Java |
@@ -93,7 +93,7 @@ public class VaadinServletConfiguration {
}
}
- private static class RootExcludeHandler extends SimpleUrlHandlerMapping {
+ public static class RootExcludeHandler extends SimpleUrlHandlerMapping {
private List<String> excludeUrls;
private AntPathMatcher matcher;
private UrlPathHelper urlPathHelper = n... | chore: Make handler public to be compatible with spring native | null | vaadin/flow | Apache License 2.0 | Java |
class ApplicationController < ActionController::Base
before_action :configure_permitted_parameters, if: :devise_controller?
protect_from_forgery with: :exception
+ before_action :set_sentry_user, if: :current_user
rescue_from ActiveRecord::RecordNotFound, with: :not_found_error
@@ -37,6 +38,10 @@ class ApplicationContr... | chore: Set Sentry User | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -126,7 +126,7 @@ fn encode_content(content: &Option<Vec<BlockContent>>) -> Vec<serde_json::Value>
cells.push(encode_markdown(&content));
content.clear()
}
- cells.push(encode_chunk(&chunk));
+ cells.push(encode_chunk(chunk));
}
_ => content.push(block.clone()),
}
@@ -202,7 +202,7 @@ fn encode_outputs(nodes: &[Node])... | chore(IPYNB): Linting | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -109,7 +109,7 @@ module.exports = function (grunt) {
// To release
bump : {
options : {
- pushTo : 'origin master',
+ pushTo : 'origin',
files : [
'package.json',
'bower.json'
| chore(gruntfile): fix bump task | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -22,6 +22,7 @@ import androidx.activity.result.contract.ActivityResultContract;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
+import androidx.core.content.pm.PackageInfoCompat;
import androidx.fragment.app.Fragment;
import com.getcapaci... | chore(android): silencing / fixing warnings in bridge | null | ionic-team/capacitor | MIT License | Java |
@@ -19,13 +19,14 @@ defmodule Ash.DataLayer.Ets do
private?: [
type: :boolean,
default: false,
- doc: "Sets the ets table protection to private",
+ doc:
+ "Sets the ets table protection to private, and scopes it to only this process. The table name will not be used directly if this is true, to allow multiple processes ... | chore: key private ets tables by the table name | null | ash-project/ash | MIT License | Elixir |
@@ -19,12 +19,12 @@ class PrefixSuffix
{
// https://regex101.com/r/tJWUrd/6
// ie: "blog/2017-10-19-post-1.md" prefix is "2017-10-19"
- // ie: "projet/1-projet-a.md" prefix is "1"
+ // ie: "projet/1.projet-a.md" prefix is "1"
const PREFIX_PATTERN = '^(|.*\/)(([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])|[0-9]+)... | chore: better code comments | null | cecilapp/cecil | MIT License | PHP |
@@ -113,7 +113,9 @@ extension AWSCognitoAuthPlugin {
}
private func makeURLSession() -> URLSession {
- return URLSession.shared
+ let configuration = URLSessionConfiguration.default
+ configuration.urlCache = nil
+ return URLSession(configuration: configuration)
}
private func makeRandomString() -> RandomStringBehavior... | chore(auth): Remove url cache from hostedUI token fetch | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -147,23 +147,22 @@ impl Client {
runtime.enter(|| {
tokio::spawn(async move {
+ loop {
tokio::select! {
_ = async {
- loop {
// delay first since the first `sync_nodes` call is made by the builder
// to ensure the node list is filled before the client is used
delay_for(node_sync_interval).await;
Client::sync_nodes(&... | chore(client): loop over tokio::select on the syncing process | null | iotaledger/iota.rs | Apache License 2.0 | Rust |
@@ -1306,6 +1306,8 @@ public class ImportExportApplicationServiceCEImpl implements ImportExportApplica
newPage.getUnpublishedPage().setDeletedAt(branchedPage.getUnpublishedPage().getDeletedAt());
newPage.setDeletedAt(branchedPage.getDeletedAt());
newPage.setDeleted(branchedPage.getDeleted());
+ // Set policies from exi... | chore: Synchronize Page,Action and ActionCollection object from original corresponding object | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -197,7 +197,7 @@ extension LegacyEnvelope {
case .transaction:
fields = [nonce, gasPrice, gasLimit, to.addressData, value, data, v, r, s].toAnyObject()
case .signature:
- if let chainID = self.chainID, chainID != 0 {
+ if let chainID = chainID, chainID != 0 {
fields = [nonce, gasPrice, gasLimit, to.addressData, valu... | chore: removed redundant `self.` use | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -155,11 +155,11 @@ final class Activation {
ob_start();
?>
<script type="text/javascript">
+ document.addEventListener( 'DOMContentLoaded' , function() {
if ( 'undefined' !== typeof sendAnalyticsTrackingEvent ) {
sendAnalyticsTrackingEvent( 'plugin_setup', 'plugin_activated' );
}
- document.addEventListener( 'DOMCon... | chore: Add translators note | null | google/site-kit-wp | Apache License 2.0 | PHP |
@@ -19,11 +19,12 @@ cd ..
echo -------------------------------------
echo - Generate header with cbindgen
echo -------------------------------------
-rustup run nightly cbindgen \
+# Needs nightly-2022-04-12 due to rustc failures with later versions
+rustup run nightly-2022-04-12 cbindgen \
--config cbindgen.toml \
--c... | chore: Update ci-build.sh to use the same nightly Rust as build | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -166,15 +166,15 @@ public class ProcessInstanceResourceTest extends AbstractCockpitPluginTest {
resource = new ProcessInstanceResource(getProcessEngine().getName(), processInstance.getId());
- ActivityInstance processInstanceActivityInstance = runtimeService.getActivityInstance(processInstance.getId());
+ runtimeSer... | chore(webapp): clean up test case | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -36,7 +36,7 @@ data class SubmittedDeliveryConfig(
name = safeName,
application = application,
serviceAccount = serviceAccount
- ?: error("No service account specified, and no default applied"),
+ ?: error("No service account specified for app ${application}, and no default applied"),
artifacts = artifacts.mapTo(mut... | chore(api): add app name to error message | null | spinnaker/keel | Apache License 2.0 | Kotlin |
@@ -27,13 +27,11 @@ class Dropbox extends OAuth
*/
public function getLoginURL(): string
{
- return 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize?'.
+ return 'https://www.dropbox.com/oauth2/authorize?'.
'client_id='.urlencode($this->appID).
'&redirect_uri='.urlencode($this->callback).
'&state='.urlenc... | chore: added getAccessToken adapter | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -1161,7 +1161,7 @@ void OffScreenRenderWidgetHostView::SendMouseWheelEvent(
popup_host_view_->weak_ptr_factory_.GetWeakPtr()));
}
} else if (!guest_host_views_.empty()) {
- for (auto guest_host_view : guest_host_views_) {
+ for (auto* guest_host_view : guest_host_views_) {
if (!guest_host_view->render_widget_host_ |... | chore: fix a chromium-style error | null | electron/electron | MIT License | C++ |
@@ -49,7 +49,7 @@ then
echo "git \"file://$CWD/../\" \"$CURRENT_COMMIT\"" > Cartfile
echo "github \"adyen/adyen-authentication-ios\"" >> Cartfile
- ../Scripts/carthage.sh update --use-xcframeworks --configuration Debug
+ carthage update --use-xcframeworks --configuration Debug
else
cd $PROJECT_NAME
fi
| chore: remove carthage script | null | adyen/adyen-ios | MIT License | Shell |
@@ -29,7 +29,7 @@ import { NoteEnum } from "../Common/DataObjects/Pitch";
* After the constructor, use load() and render() to load and render a MusicXML file.
*/
export class OpenSheetMusicDisplay {
- protected version: string = "1.5.5-release"; // getter: this.Version
+ protected version: string = "1.5.5-dev"; // gett... | chore: update osmd.Version to 1.5.5-dev | null | opensheetmusicdisplay/opensheetmusicdisplay | BSD 3-Clause New or Revised License | TypeScript |
@@ -27,7 +27,6 @@ fi
if [[ $NODE_LABELS == *"DOCKER_SLAVE"* ]]; then
# I have no idea why the next line is required
source ~/.nvm/nvm.sh
- nvm use 6.10.1
else
NVM_DIR="`pwd`/.nvm"
mkdir -p $NVM_DIR
@@ -43,9 +42,12 @@ else
curl https://raw.githubusercontent.com/creationix/nvm/v0.25.3/install.sh | NVM_DIR="$NVM_DIR" bash... | chore(tooling): do not use "nvm use" | null | webex/webex-js-sdk | MIT License | Shell |
@@ -823,7 +823,7 @@ mod tests {
// update this test whenever there's a new sol
// version. that's ok! good reminder to check the
// patch notes.
- (">=0.5.0", "0.8.15"),
+ (">=0.5.0", "0.8.16"),
// range
(">=0.4.0 <0.5.0", "0.4.26"),
]
| chore: update max solc version 0.8.16 | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -451,7 +451,7 @@ pub extern fn mock_server_logs(mock_server_port: i32) -> *const c_char {
let result = catch_unwind(|| {
MANAGER.lock().unwrap()
.get_or_insert_with(ServerManager::new)
- .find_mock_server_by_port_mut(mock_server_port as u16, &|ref mut mock_server| {
+ .find_mock_server_by_port_mut(mock_server_port a... | chore: no need for a double reference | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -13,11 +13,18 @@ class WireUiServiceProvider extends ServiceProvider
$this->loadViewsFrom(__DIR__ . '/resources/views', self::PACKAGE_NAME);
$this->loadTranslationsFrom(__DIR__ . '/resources/lang', self::PACKAGE_NAME);
$this->mergeConfigFrom(__DIR__ . '/config/wireui.php', self::PACKAGE_NAME);
+
$this->publishes([
_... | chore: split publishes | null | wireui/wireui | MIT License | PHP |
@@ -200,6 +200,14 @@ else
read -p "Detected '$foundIP' as your public IP. Is this correct? [y,n]: " correct
if [ "$correct" != "y" ]; then
read -p "Enter your public IP: " foundIP
+ check=false # ensure its a valid IP
+ while [[ $check == false ]]
+ do
+ read -p "Invalid IP. Please Enter your public IP: " foundIP
+ if ... | chore: ensure valid IP | null | ava-labs/avalanche-docs | BSD 3-Clause New or Revised License | Shell |
@@ -48,11 +48,11 @@ class CSSVariable {
return null;
}
- var computedValue = _renderStyle.resolveValue(propertyName, unsolvedValue);
- if (computedValue is CSSVariable) {
- return computedValue.computedValue(propertyName);
+ var resolved = _renderStyle.resolveValue(propertyName, unsolvedValue);
+ if (resolved is CSSVar... | chore: rename computed -> resolved | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -280,7 +280,9 @@ describe('codeControl', () => {
expect(res).toEqual(['result yo run0', 'result yo run0'])
})
- testInFiber('pushWorkToQueue, 2 queues', async () => {
+ testInFiber(
+ 'pushWorkToQueue, 2 queues',
+ async () => {
// Running in two parallel queues, run0 and run1:
const res: any[] = []
@@ -340,7 +342,9... | chore: increase timeout in codeControl.test.ts | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
-import SchemaForm from '~/components/Forms/SchemaForm'
-import React, { useState } from 'react'
-
-export default function SchemaFormUnstyled({
- schema,
- model,
- children,
- onSubmit,
- onCancel,
- submitLabel,
- cancelLabel,
-}) {
- let formRef
- const [submitButtonLoading, setSubmitButtonLoading] = useState(false... | chore: delete unused SchemaFormUnstyled component | null | supabase/supabase | Apache License 2.0 | JavaScript |
@@ -606,6 +606,7 @@ export const AuDOMConfiguration = {
container.register(
RuntimeConfiguration,
AuTextRenderer as unknown as IRegistry,
+ Registration.singleton(IDOM, AuDOM),
Registration.singleton(IDOMInitializer, AuDOMInitializer),
Registration.singleton(IProjectorLocator, AuProjectorLocator),
Registration.singleto... | chore(au-dom): add dom registration | null | aurelia/aurelia | MIT License | TypeScript |
@@ -86,7 +86,7 @@ impl InputFormat for InputFormatParquet {
for path in files {
let obj = op.object(path);
let size = obj.metadata().await?.content_length() as usize;
- let mut reader = obj.seekable_reader(..(size as u64));
+ let mut reader = obj.seekable_reader(..);
let mut file_meta = read_metadata_async(&mut reader)... | chore(format): do not need size to init parquet file reader | null | datafuselabs/databend | Apache License 2.0 | Rust |
// tests1.rs
// Tests are important to ensure that your code does what you think it should do.
// Tests can be run on this file with the following command:
-// rustlings run exercises/tests/tests1.rs
+// rustlings run tests1
// This test has a problem with it -- make the test compile! Make the test
// pass! Make the te... | chore: Correct test command in tests1.rs comment | null | rust-lang/rustlings | MIT License | Rust |
@@ -10,13 +10,29 @@ import XCTest
class QiwiWalletComponentTests: XCTestCase {
+ var analyticsProviderMock: AnalyticsProviderMock!
+ var adyenContext: AdyenContext!
+
+ override func setUpWithError() throws {
+ try super.setUpWithError()
+ analyticsProviderMock = AnalyticsProviderMock()
+ adyenContext = Dummy.adyenCont... | chore: Test QiwiWallet sends telemetry event | null | adyen/adyen-ios | MIT License | Swift |
@@ -45,7 +45,7 @@ config :logflare,
end,
live_view:
[
- signing_salt: System.get_env("PHX_LV_SIGNING_SALT")
+ signing_salt: System.get_env("PHX_LIVE_VIEW_SIGNING_SALT")
]
|> filter_nil_kv_pairs.()
]
| chore: update phoenix LV signing salt env var name | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -130,7 +130,7 @@ optional: {{.OPTIONAL_SECRET}}
{{/* tojson and fromjson have been added to support parsing JSON and stringifying values: */ -}}
Multiline: {{tojson .MULTILINE_SECRET}}
JSON Secret: {{tojson .JSON_SECRET}}
-$ doppler secrets template template.yaml
+$ doppler secrets substitute template.yaml
host: 127... | chore: fix incorrect command in example text | null | dopplerhq/cli | Apache License 2.0 | Go |
@@ -69,7 +69,7 @@ pub(crate) fn extract_expressions_from_format_string(
AssistKind::QuickFix
},
),
- "Extract format args",
+ "Extract format expressions",
tt.syntax().text_range(),
|edit| {
let fmt_range = fmt_string.syntax().text_range();
| chore: update assist label name | null | rust-lang/rust-analyzer | Apache License 2.0 | Rust |
@@ -929,6 +929,7 @@ func TestVarREMatcher(t *testing.T) {
expect: true,
},
} {
+ i := i // capture range value
tc := tc // capture range value
t.Run(tc.desc, func(t *testing.T) {
t.Parallel()
| chore: Fix warning "range variable captured by func literal" | null | caddyserver/caddy | Apache License 2.0 | Go |
@@ -86,7 +86,7 @@ function create_shell_app {
function add_b2b {
if [ "${ADD_B2B_LIBS}" = true ] ; then
ng add --skip-confirmation @spartacus/organization@${SPARTACUS_VERSION} --interactive false
- ng add --skip-confirmation @spartacus/checkout@${SPARTACUS_VERSION} --interactive false --features="Checkout-Scheduled-Rep... | chore: add Checkout-B2B feature when install b2b | null | sap/spartacus | Apache License 2.0 | Shell |
@@ -133,7 +133,7 @@ const List = ({ type, name, options, label, isRequired, detailText }) => (
>
<input
type={type}
- name={type === 'radio' ? name : item.label}
+ name={name ? name : item.label}
value={item.label}
id={item.value}
/>
| chore: Simpler switch for name | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -4,10 +4,10 @@ set -e # exit when error
[ -z $TRAVIS_PULL_REQUEST ] && TRAVIS_PULL_REQUEST="false"
-if [ $TRAVIS_PULL_REQUEST == "false" ]; then
- echo "No need to validate commit message when not in a pull request"
- exit 0
-fi
+# if [ $TRAVIS_PULL_REQUEST == "false" ]; then
+# echo "No need to validate commit mess... | chore(valide-commits): \d is not POSIX (it's PCRE) | null | algolia/instantsearch.js | MIT License | Shell |
@@ -102,33 +102,35 @@ function verifyPkgCli {
echo "Sizes in bytes"
wc -c out/*
- linux_compressed_binary_threshold_in_bytes=$((200 * 1024 * 1024))
- linux_compressed_binary_size=$(wc -c out/amplify-pkg-linux-x64.tgz | awk '{print $1}')
- if (( linux_compressed_binary_size > linux_compressed_binary_threshold_in_bytes )... | chore: check uncompressed binary size | null | aws-amplify/amplify-cli | Apache License 2.0 | Shell |
@@ -3,7 +3,6 @@ import { bytesToSize } from '../ImageInput/ImageInput'
import type { IUploadedFileMeta } from 'src/stores/storage'
import { FileDetails } from './FileDetails'
import { ExternalLink } from 'oa-components'
-import styled from '@emotion/styled'
interface IProps {
file: File | IUploadedFileMeta | null
| chore: removed unsued styled component inside of fileinfo | null | onearmy/community-platform | MIT License | TypeScript |
@@ -37,7 +37,6 @@ class ImageElement extends Element {
double? _propertyHeight;
ui.Image? get image => _imageInfo?.image;
- bool get renderImageAttached => _renderImage?.image != null;
/// Number of image frame, used to identify multi frame image after loaded.
int _frameCount = 0;
@@ -92,13 +91,11 @@ class ImageElement... | chore: remove unused code | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -304,6 +304,14 @@ module.exports.describe = function({testRunner, expect, playwright, CHROMIUM, FF
expect(allPages).toContain(second);
await context.close();
});
+ it('should close all belonging pages once closing context', async function({browser}) {
+ const context = await browser.newContext();
+ await context.new... | chore(test): test cleanup | null | microsoft/playwright | Apache License 2.0 | JavaScript |
@@ -27,8 +27,6 @@ public static class StringConstants
/// </summary>
public const string FileLogFormat = "[{Timestamp:h:mm:ss ff tt}] [{Level:u3}] [{SourceContext}] {Message:lj} {Exception:j}{NewLine}";
- //TODO: Deprecate?
- public const string HttpClientName = "Silk";
public const string AutoModMessagePrefix = "[AUTO... | chore: Remove HttpClientExtensions.cs | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -18,16 +18,16 @@ limitations under the License.
import * as React from 'react'
import {
- ActionButton,
- useCMS,
- Form,
Modal,
ModalPopup,
ModalHeader,
ModalBody,
ModalActions,
-} from 'tinacms'
+} from '@tinacms/react-modals'
+import { ActionButton } from '@tinacms/react-forms'
+import { useCMS } from '@tinacms/r... | chore: update based on comments | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -40,10 +40,13 @@ build_v2() {
}
build_dat() {
- echo ">>> Download latest geoip..."
+ echo ">>> Download latest geoip.dat"
curl -s -L -o "$TMP"/geoip.dat "https://github.com/v2fly/geoip/raw/release/geoip.dat"
- echo ">>> Download latest geosite..."
+ echo ">>> Download latest geoip-only-cn-private.dat"
+ curl -s -L ... | chore: update build script to include geoip-only-cn-private.dat | null | v2fly/v2ray-core | MIT License | Shell |
@@ -1004,11 +1004,11 @@ describe('Offline', () => {
})
describe('with resource routes', () => {
- let serviceBuilder
+ let serverlessBuilder
beforeEach(() => {
- serviceBuilder = new ServerlessBuilder()
- serviceBuilder.serverless.service.resources = {
+ serverlessBuilder = new ServerlessBuilder()
+ serverlessBuilder.s... | chore: rename test variable | null | dherault/serverless-offline | MIT License | JavaScript |
@@ -12,7 +12,6 @@ defmodule Logflare.LogEvent do
@validators [EqDeepFieldTypes, BigQuerySchemaChange]
-
@primary_key {:id, :binary_id, []}
typed_embedded_schema do
field :body, :map, default: %{}
@@ -37,26 +36,17 @@ defmodule Logflare.LogEvent do
def make_from_db(params, %{source: %Source{} = source}) do
params =
param... | chore: refactor LogEvent.make and LogEvent.make_from_db | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -157,6 +157,21 @@ public class ApplePayComponent: NSObject, PresentableComponent, PaymentComponent
PKPaymentAuthorizationViewController.canMakePayments(usingNetworks: networks)
}
+ private func sendTelemetryEvent() {
+ adyenContext.analyticsProvider.trackTelemetryEvent(flavor: telemetryFlavor)
+ }
+}
+
+extension Ap... | chore: Telemetry event on Apple Pay component | null | adyen/adyen-ios | MIT License | Swift |
@@ -4941,13 +4941,13 @@ module.exports = {
"name": "absolute",
"type": "Boolean",
"default": "false",
- "source": null
+ "source": "positionable"
},
{
"name": "bottom",
"type": "Boolean",
"default": "false",
- "source": null
+ "source": "positionable"
},
{
"name": "color",
@@ -4959,7 +4959,7 @@ module.exports = {
"name... | chore: updated api file | null | vuetifyjs/vuetify | MIT License | JavaScript |
// Provides a service to open a code example in codepen.
function Codepen($demoAngularScripts, $document, codepenDataAdapter) {
- // The following URL must be HTTP and not HTTPS to allow us to do localhost testing
- var CODEPEN_API = 'http://codepen.io/pen/define/';
+ // The following URL used to be HTTP and not HTTPS ... | chore(codepen): changed codepen access to https | null | angular/material | MIT License | JavaScript |
@@ -7,14 +7,14 @@ which cargo
cargo install cbindgen
rm -rf ./include
-#echo -------------------------------------
-#echo - Build library with CMake
-#echo -------------------------------------
-#mkdir -p build
-#cd build
-#cmake -DCMAKE_BUILD_TYPE=Debug ..
-#cmake --build . -v
-#cd ..
+echo ---------------------------... | chore: re-enable cmake build for pact-ffi | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -32,7 +32,6 @@ use log::error;
use lspower::lsp;
use regex::Regex;
use std::collections::HashMap;
-use std::collections::HashSet;
use std::path::Path;
const CONFIG_PATH: &str = "/.well-known/deno-import-intellisense.json";
@@ -154,7 +153,7 @@ fn get_completion_endpoint(
resolve_url(&url_str).map_err(|err| err.into()... | chore: improve lsp registry validations | null | denoland/deno | MIT License | Rust |
@@ -34,7 +34,6 @@ const FilterTags = ({ children, hasOverflow, id, tagContainer }) => {
useEffect(
() => {
- /* istanbul ignore else */
if (hasOverflow && overFlowContainerRef) {
setOverflowItems([]);
setVisibleItems(childrenItems.slice(0));
@@ -45,7 +44,6 @@ const FilterTags = ({ children, hasOverflow, id, tagContaine... | chore(filtertags): remove ignore as they were not needed | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -163,6 +163,7 @@ class PsrLogger implements LoggerInterface, \Serializable
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
+ * @return void
*/
public function emergency($message, array $context = [])
... | chore: return type warnings in PsrLogger | null | googleapis/google-cloud-php | Apache License 2.0 | PHP |
@@ -324,8 +324,6 @@ class InputElement extends Element implements TextInputClient, TickerProvider {
if (isRendererAttached) {
// Set focus that make it add keyboard listener
_renderEditable!.hasFocus = true;
- // Set same height for cursor
- _renderEditable!.cursorHeight = renderBoxModel!.renderStyle.fontSize;
activeTe... | chore: do not need set cursorHeight, should use the default | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -359,9 +359,6 @@ async fn join_with_select() {
async fn use_future_in_if_condition() {
use tokio::time::{self, Duration};
- let sleep = time::sleep(Duration::from_millis(50));
- tokio::pin!(sleep);
-
tokio::select! {
_ = time::sleep(Duration::from_millis(50)), if false => {
panic!("if condition ignored")
| chore: fix CI for Rust 1.52 | null | tokio-rs/tokio | MIT License | Rust |
@@ -56,8 +56,10 @@ do
# cloud RAD generation
mvn clean javadoc:aggregate -B -P docFX -DdocletPath=${KOKORO_GFILE_DIR}/${doclet_name}
- # include CHANGELOG
+ # include CHANGELOG if exists
+ if [ -e CHANGELOG.md ]; then
cp CHANGELOG.md target/docfx-yml/history.md
+ fi
pushd target/docfx-yml
| chore: Add check if CHANGELOG.md exists | null | googleapis/google-cloud-java | Apache License 2.0 | Shell |
@@ -30,8 +30,9 @@ export default function () {
// got to trigger one nextTick() we cannot stop it
if (vmIsDestroyed(vm) === false && tickFn === fn) {
tickFn()
- tickFn = void 0
}
+
+ tickFn = void 0
})
}
}
| chore(use-tick): small tweak to ensure the release of memory | null | quasarframework/quasar | MIT License | JavaScript |
@@ -4204,7 +4204,7 @@ describe('BrowserWindow module', () => {
expect(w.isFullScreen()).to.be.false('isFullScreen');
});
- it('multiple windows inherit correct fullscreen state', async () => {
+ ifit(process.arch === 'x64')('multiple windows inherit correct fullscreen state', async () => {
const w = new BrowserWindow()... | chore: disable fullscreen test on mac arm | null | electron/electron | MIT License | TypeScript |
@@ -28,8 +28,8 @@ class ERC20Tests: LocalTestCase {
let contract = web3.contract(Web3.Utils.erc20ABI, at: receipt.contractAddress!, abiVersion: 2)!
guard let readTX = contract.createReadOperation("balanceOf", parameters: [addressOfUser]) else { return XCTFail() }
readTX.transaction.from = addressOfUser
- let tokenBalan... | chore: test refactoring - checking for nullability by using XCTAssertNotNil | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -59,10 +59,6 @@ pub mod transport {
}
pub fn send_message(&mut self, mut m: Message) -> Result<(), String> {
- // println!("Sending message type {:?}\nOnward route:", m.message_type);
- // m.onward_route.print_route();
- // println!("Return route:");
- // m.return_route.print_route();
let remote_address = m.onward_r... | chore(rust): remove debug print statements | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -76,6 +76,7 @@ class Input extends Component
$data['name'] = $attributes->get('name');
$data['id'] = $attributes->get('id');
$data['disabled'] = (bool)$attributes->get('disabled');
+ $data['readonly'] = (bool)$attributes->get('readonly');
return $data;
}
| chore: add readonly variable | null | wireui/wireui | MIT License | PHP |
@@ -203,8 +203,7 @@ export function runAppScriptsServe(testOrDemoName: string, appEntryPoint: string
'--ionicAngularDir', ionicAngularDir,
'--sass', sassConfigPath,
'--copy', copyConfigPath,
- '--enableLint', 'false',
- '--bonjour'
+ '--enableLint', 'false'
];
if (watchConfigPath) {
| chore(gulp): remove bonjour service | null | ionic-team/ionic-framework | MIT License | TypeScript |
@@ -59,6 +59,10 @@ public class SecurityCheck implements ObjectValidationCheck
{
runValidationCheck( bundle, klass, nonPersistedObjects, ImportStrategy.CREATE, context, addReports );
}
+ if ( importStrategy.isDelete() )
+ {
+ runValidationCheck( bundle, klass, persistedObjects, ImportStrategy.DELETE, context, addReport... | chore: Just committing so I can go home | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -33,27 +33,24 @@ var methodsPermissions = map[string][]uint32{
// readwrite methods
"Set": {PermissionSysAdmin, PermissionAdmin, PermissionRW},
"Get": {PermissionSysAdmin, PermissionAdmin, PermissionRW, PermissionR},
- "SafeSet": {PermissionSysAdmin, PermissionAdmin, PermissionRW},
- "SafeGet": {PermissionSysAdmin, ... | chore(pkg/auth): adjust permissions based on new api | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -103,7 +103,7 @@ class MalDisplayViewModelTests {
@Test
fun `update series fires callback on failure`() {
val malimeModel: MalimeModel = customMock()
- var callbackCalled = false
+ var callbackResult = false
`when`(
library.sendUpdateToApi(malimeModel, 5, UserSeriesStatus.Completed)
@@ -112,18 +112,18 @@ class MalDi... | chore(maldisplay): change var name in the tests | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -64,6 +64,8 @@ func (b *bitbucketClient) SetStatus(ctx context.Context, event sdk.Event, disabl
return sdk.WrapError(err, "Unable to marshall status")
}
+ log.Info(ctx, "sending build status for %s : %s %s - %s", statusData.hash, status.Key, status.Name, state)
+
if err := b.do(ctx, "POST", "build-status", fmt.Sprin... | chore(vcs): add log on bitbucket server build status | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.